guillemroca/agent-skills-android/documentation-and-adrs
Claude Code and agent skill by guillemroca/agent-skills-android
- community
Checking that the SKILL.md file is still in the repository.
Use when making architectural trade-offs, changing public APIs, shipping user-facing features, or onboarding developers. Guides writing ADRs, inline documentation, and API docs.
Install
npx vskill@latest install guillemroca/agent-skills-android/documentation-and-adrsSKILL.md
The same SKILL.md was published earlier as guillemroca/agent-skills-android/documentation-and-adrs.
Documentation and ADRs
Overview
Document the why behind decisions, not just the code. Architecture Decision Records (ADRs) capture the context, alternatives, and consequences of significant decisions so future developers understand why the system is shaped the way it is.
When to Use
- Making an architectural trade-off (e.g., Room vs DataStore, Compose vs XML)
- Changing a public API or module boundary
- Shipping a user-facing feature with non-obvious implementation choices
- Onboarding new developers to the project
- After a post-mortem or incident that changed the architecture
Skip when: The change is self-explanatory from the code and commit message.
Core Process
Architecture Decision Records (ADRs)
- Match the existing convention first. Before creating an ADR, look for one already in the repo — existing ADRs, rules in
AGENTS.md/CLAUDE.md, ADR tooling such as an.adr-dirfile. An established convention overrides the defaults below:
- Location and format — e.g.
docs/adr/,docs/architecture/decisions/, a MADR layout, anadr-toolssetup. Match the directory, extension, and markup. - Numbering and naming — continue the existing sequence and filename pattern; don't restart at 0001 or introduce a second scheme.
- Section headings — reuse the project's heading set rather than imposing this template's.
If the evidence conflicts, surface the conflict instead of silently adding another scheme.
- With no convention, ADRs live in `docs/decisions/` with sequential numbering:
`` docs/decisions/ ├── 0001-use-compose-over-xml.md ├── 0002-adopt-mvi-for-complex-screens.md ├── 0003-room-migration-strategy.md └── 0004-modularization-approach.md ``
- ADR template: (new ADRs start at
Proposed; move toAcceptedonce agreed)
- Never delete old ADRs — supersede them with new ones that reference the old decision:
`` ## Status Superseded by [ADR-0007](0007-switch-to-kmp.md) ``
Inline Documentation
- Document intent, not mechanics:
- When to add inline comments:
- Non-obvious business logic
- Platform workarounds (
// Workaround for API 28 camera permission bug) - Performance-critical code paths
- Regex patterns or complex algorithms
- When NOT to add comments:
- Code that reads clearly (self-documenting)
- Commented-out code (delete it — git has history)
- "TODO" without an issue reference (create the issue)
API Documentation
- Public APIs get KDoc:
- Document module boundaries — each module's
README.mdshould describe:
- Purpose of the module
- Public API surface
- Dependencies (what it depends on, what depends on it)
Common Rationalizations
| Shortcut | Why It Fails | |
|---|---|---|
| "The code is self-documenting" | Code shows what, not why. Trade-offs and constraints aren't in the code. | |
| "We'll document later" | You won't. Context fades. Document decisions when you make them. | |
| "ADRs are bureaucratic overhead" | A 10-minute ADR prevents hours of "why did we do it this way?" conversations. | |
| "Everyone knows why we chose this" | Everyone who was in the room. New hires, future maintainers, and your future self don't. |
Red Flags
- Architectural decisions without ADRs
- Inline comments explain what instead of why
- Commented-out code blocks
- TODOs without issue references
- Public APIs without KDoc
- Stale documentation that contradicts current implementation
- ADRs deleted instead of superseded
- A second ADR location or numbering scheme introduced next to an existing one
Verification
- [ ] Significant architectural decisions have ADRs — in the project's existing ADR location and numbering, or
docs/decisions/if none exists - [ ] ADRs include context, alternatives, and consequences
- [ ] Old ADRs are superseded, not deleted
- [ ] Inline comments explain why, not what
- [ ] No commented-out code
- [ ] Public APIs have KDoc with
@param,@return,@throws - [ ] Module boundaries documented
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/documentation-and-adrs/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/guillemroca/agent-skills-android/documentation-and-adrs)