Making AI Write Android Code Our Way: A Practical Guide to Agent Skills
Medium's Android team uses AGENTS.md and skills to encode their coding conventions into AI, ensuring consistent, efficient code generation aligned with their specific architecture and practices.
MAIN POINTS
- AGENTS.md acts as a README for AI, detailing architecture, patterns, and conventions.
- Skills are Markdown files that guide AI through specific workflows, enhancing code consistency.
- Skills fall into categories like scaffolding, migration, pattern enforcement, and workflow tasks.
- The team plans to refine AGENTS.md into scoped, file-aware instructions for more precise AI output.
TAKEAWAYS
- Skills are living documents, iterated upon to capture evolving patterns and practices.
- Hyper-specific skills tailored to the codebase ensure effective AI assistance.
- Skills compound to handle complex tasks, maintaining consistency across the codebase.
- The team aims to automate workflows further, like release notes generation, using AI commands.