Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Medium Engineering 9 min read Case study mediumAdept

Making AI Write Android Code Our Way: A Practical Guide to Agent Skills

Medium's small Android team encodes its Kotlin/Compose conventions into an AGENTS.md project context file plus 13 Markdown "skills" in .agents/skills/ that act as step-by-step runbooks for Cursor's agent. The skills cover scaffolding (new Compose screens with ViewModel-injecting and @VisibleForTesting overloads, feature modules, use cases, repositories), migrations (a 60+ entry Material 2 to 3 mapping, ViewModel injection), pattern enforcement (feature flags checked once at ViewModel init, referrer tracking, analytics events) and repetitive workflows such as deeplinks and translations. The main payoff is consistency across the codebase, and new-screen setup drops from most of a morning to a prompt plus a review pass. The team recommends writing AGENTS.md first, starting with boilerplate-heavy tasks, turning repeated PR comments into skills, and having agents draft skills from example PRs. Next steps are splitting AGENTS.md into file-scoped rules and adding commands.

Related posts

  • The Interaction Changes Everything: Treating AI Agents as Collaborators, Not Automation

    Engineering@Microsoft mediumAdept

    Microsoft's Entra SDK v1-to-v2 migration across hundreds of repositories succeeded with an AI coding agent only after the team replaced step-by-step checklists with prompts that give the agent a role, mission and permission to use judgment. The result was 80–90% accuracy, with each repository done in under 2 hours instead of 4–6 weeks. The shared eight-part prompt template covers identity and mission, purpose, prioritized goals, steps with examples and escalation triggers, never/always security boundaries, self-validation and PR documentation, an explicit escalation process (including stopping after the same error twice), and a closing of recognition. Reported effects include more escalation instead of guessing, better PR descriptions, more graceful failures, and reuse of the template for security analysis, code review and documentation.

  • Reusable Prompts: The Future of Starter Templates

    Neon mediumAdept

    Starter templates can be complemented by reusable, atomic setup "recipes": Markdown prompts that AI coding agents apply to existing codebases, modeled on shadcn/ui's copy-the-code philosophy. Recipes declare prerequisites, which lets them compose, and cookbooks bundle them into ordered sequences. They also encode stack-specific decisions agents would otherwise get wrong, such as using node-postgres instead of Neon's serverless driver on Vercel Fluid Compute with connection pooling. Recipes are served as MCP resources with slash-command prompts. Long-lived skills ship as small per-cookbook Claude Code plugins whose skill files are one-line pointers, which keeps them from bloating the agent's context.

  • Agents need good developer experience too

    Modal easyNovice

    Developer experience principles that make humans productive also help coding agents, because both depend on tight write-run-observe feedback loops. Modal's framework covers programmatic access through a CLI, SDK and API instead of UI-only features, actionable error messages that act as high-signal context for limited context windows, and consistent runnable examples with explanations next to the code. It also argues for defining infrastructure in Python alongside application logic rather than in YAML, and for concise, intuitive naming, such as renaming `concurrency_limit` to `max_containers`.

  • Agent Skills in 2026

    Neon mediumAdept

    Neon is launching neondatabase/agent-skills, a single `using-neon` skill installable via `npx skills add`, built on the Agent Skills spec that originated with Anthropic and became portable across Claude Code, Cursor, VS Code and others once Vercel's `npx skills` CLI solved distribution. Because SKILL.md is always loaded into context, Neon keeps it small and uses progressive discovery: SKILL.md points to reference files, which point to docs pages the agent fetches with curl as Markdown, keeping the docs (indexed via LLMs.txt) as the source of truth and avoiding stale installed skills. Skills act as the reasoning layer while the Neon MCP server provides authenticated capabilities.

  • Agent experience and agent-led growth: a chat with Caelean Barnes

    Mux easyNovice

    Coding agents like Claude Code and Codex increasingly choose which developer tools get adopted, and Gauge measures that choice by running agents in sandboxes, checkpointing sessions, and testing variants of prompts, docs, skills and CLIs against success criteria over many trials. Technical documentation, especially framework-specific setup guides that match the agent's codebase, drives tool selection more than marketing content. Small wording changes have large effects: turning Clerk's "claim your key" prompt into an error roughly tripled CLI account creation, and rephrasing a skill-install suggestion as "verify you have the skill installed" stopped agents from treating it as prompt injection. Detailed, actionable error messages and CLIs with well-defined commands tend to work better for agents than static skill files, which are hard to update.

The quest for software engineering knowledge.

Look:
Layout: