Using Skills with AI Assistants
Once you’ve installed the skills in your project, your AI assistant will automatically detect and apply them when working on relevant tasks.GitHub Copilot
GitHub Copilot automatically discovers skills in.github/skills/ when they are part of your workspace.
In Chat
Simply ask Copilot questions related to Android development:android-architecture, android-data-layer, compose-ui, or android-accessibility) and apply the rules defined in the SKILL.md files.
Copilot automatically loads skills based on context. You don’t need to explicitly mention the skill name.
Code Completion
When writing code, Copilot’s inline suggestions will follow the patterns and conventions defined in your skills:Claude Desktop / Claude.ai
For Claude, you can either reference skills explicitly or rely on context discovery.Explicit Reference
Point Claude to a specific skill file:Context Discovery
If you’re using Claude Desktop with the.claude/skills/ directory configured, you can ask questions naturally:
Cursor
Cursor works similarly to GitHub Copilot and automatically discovers skills in.github/skills/.
In Composer
Use Cursor’s Composer feature to generate entire features following your skills:android-architecturefor module structurecompose-uifor the UI layerandroid-viewmodelfor state managementandroid-data-layerfor repository patternandroid-accessibilityfor accessibility compliance
In Chat
Ask questions in the chat sidebar:compose-navigation and android-architecture skills.
OpenCode
OpenCode supports both project-level (.opencode/skill/) and global skills (~/.config/opencode/skill/).
Project Skills
For project-specific skills:Global Skills
For skills available across all your Android projects:Usage
OpenCode will automatically apply relevant skills when you ask questions:Google Gemini Code Assist
For Google Gemini in Android Studio, you can reference skills explicitly:Common Usage Patterns
Feature Development
When building a new feature, ask your assistant to apply multiple skills:android-architecturecompose-uiandroid-viewmodelandroid-data-layerandroid-accessibilityandroid-testing
Code Review & Refactoring
Ask your assistant to audit existing code:Migration Tasks
Use skills for large-scale migrations:xml-to-compose-migration skill with comprehensive mapping tables.
Build Optimization
gradle-build-performance skill with 12 optimization patterns.
Manual Skill Loading
For any context-aware LLM (ChatGPT, Claude, etc.), you can manually load a skill:Best Practices
Be Specific
Reference specific skills or patterns when asking questions: “following the Hilt dependency injection patterns” instead of just “add DI”.
Combine Skills
Complex features benefit from multiple skills. Ask your assistant to apply several skills at once for comprehensive implementation.
Iterate
Start with high-level requests, then refine with specific skill references: “Now optimize the Compose performance” after initial implementation.
Validate
Review the generated code to ensure it follows the skill guidelines. AI assistants are powerful but not perfect.
Troubleshooting
Skills Not Being Applied
Check directory location
Verify skills are in the correct location for your AI assistant:
- GitHub Copilot / Cursor:
.github/skills/ - Claude:
.claude/skills/ - OpenCode:
.opencode/skill/or~/.config/opencode/skill/
Inconsistent Results
AI assistants may interpret skills differently based on context. For critical patterns, consider adding code examples or templates directly in the skill file.
Next Steps
Browse Skills
Explore all available skills and their detailed documentation
Create Custom Skills
Learn how to create your own skills for team-specific patterns
