documentation-and-adrs

documentation-and-adrs is a skill for Claude Code from GuillemRoca/agent-skills-android. It costs 37 tokens per session (1,081 once invoked), scanned A, original, MIT.

A guide for recording important software design decisions, including the reasons, alternatives, and expected effects. It also covers comments and documentation for public interfaces.

In plain words
What is it for?
Use it when making architecture or module-boundary choices, changing a public API, shipping a feature with non-obvious implementation details, onboarding developers, or documenting changes after an incident.
Why use it?
It prevents future developers from having to guess why the system or its interfaces were built a certain way. It keeps decisions available after the original discussion or team members are gone.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-skills-android plugin — 29 skills, 7 commands, 3 agents, 1 hook shipped together

Good fit Use it when making architecture or module-boundary choices, changing a public API, shipping a feature with non-obvious implementation details, onboarding developers, or documenting changes after an incident.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guillemroca/agent-skills-android/documentation-and-adrs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add GuillemRoca/agent-skills-android --skill documentation-and-adrs
Clone the repo
git clone --depth 1 https://github.com/GuillemRoca/agent-skills-android

Made for: Claude Code.

Or install agent-skills-android, the plugin that ships this one along with the rest of its 29 skills, 7 commands, 3 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for documentation-and-adrs

README.md
[![agentmods](https://agentmods.dev/badge/skills/guillemroca/agent-skills-android/documentation-and-adrs/github.svg)](https://agentmods.dev/skills/guillemroca/agent-skills-android/documentation-and-adrs)
Your own site
<a href="https://agentmods.dev/skills/guillemroca/agent-skills-android/documentation-and-adrs"><img src="https://agentmods.dev/badge/skills/guillemroca/agent-skills-android/documentation-and-adrs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for documentation-and-adrs

Your own site · 80×15
<a href="https://agentmods.dev/skills/guillemroca/agent-skills-android/documentation-and-adrs"><img src="https://agentmods.dev/badge/skills/guillemroca/agent-skills-android/documentation-and-adrs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,081 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01081
Opus 5 $0.00018 $0.00541
Sonnet 5 $0.00007 $0.00216
Haiku 4.5 $0.00004 $0.00108

Measured 9d ago against content hash 5c7ecdf77dcd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

documentation-and-adrs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/documentation-and-adrs/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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)

  1. 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
    
  2. ADR template:

# ADR-NNNN: Title

## Status
Proposed | Accepted | Deprecated | Superseded by ADR-XXXX

## Context
What is the issue or decision we're facing? What forces are at play?

## Decision
What did we decide to do?

## Alternatives Considered
### Alternative A: [Name]
- Pros: ...
- Cons: ...

### Alternative B: [Name]
- Pros: ...
- Cons: ...

## Consequences
### Positive
- ...

### Negative
- ...

### Risks
- ...
  1. 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

  1. Document intent, not mechanics:
// BAD: increments counter by one
counter++

// GOOD: Rate-limit API calls to avoid 429 responses from the backend.
// The backend enforces a 10-request-per-second limit per client.
if (requestCount >= MAX_REQUESTS_PER_SECOND) {
    delay(rateLimitWindow)
}
  1. 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

Read the full file on GitHub · 153 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 153 lines · 37 tokens per session scan A 5c7ecdf77dcd

Subscribe to this mod's changes

documentation-and-adrs is a skill published in the GitHub repository GuillemRoca/agent-skills-android (2 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 1,081 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

spec-kitty-mission-system

Understand how Spec Kitty missions work: the 4 built-in mission types, how they define workflows via step contracts and action indices, how missions and work packages relate, how templates are resolved through the 6-tier chain, and how doctrine artifacts (procedures, tactics, directives) compose mission behavior.…

Priivacy-ai/spec-kitty · 160 tokens

spec-kitty-git-workflow

Understand how Spec Kitty manages git: what git operations Python handles automatically, what agents must do manually, worktree lifecycle, auto-commit behavior, merge execution, and the safe-commit pattern. Triggers: "how does spec-kitty use git", "worktree management", "auto-commit", "who commits what", "git…

Priivacy-ai/spec-kitty · 125 tokens

spec-kitty-spdd-reasons

Drive REASONS Canvas authoring and review for Spec Kitty missions that opted in to Structured-Prompt-Driven Development (SPDD) via charter selection. Triggers: "use SPDD", "use REASONS", "generate a REASONS canvas", "apply structured prompt driven development", "make this mission SPDD". Does NOT handle: enforcing SPDD…

Priivacy-ai/spec-kitty · 118 tokens

spec-kitty-runtime-review

Review runtime-owned outputs using the Spec Kitty review workflow surface, then direct approval or rejection with structured feedback. Triggers: "review this work package", "check runtime output", "approve this step", "review WP", "is this WP ready to approve", "check this implementation". Does NOT handle: setup-only…

Priivacy-ai/spec-kitty · 85 tokens

spk-doctrine-show-me

Explain Spec Kitty work with compact, checkable visuals. Use for specs, plans, architecture, control flow, diffs, status boards, or whenever prose obscures structure.

Priivacy-ai/spec-kitty · 42 tokens

spk-admin-dashboard

Open or report the Spec Kitty dashboard. Use for dashboard URL, localhost daemon metadata in .kittify/.dashboard, --open, --kill, or status views.

Priivacy-ai/spec-kitty · 39 tokens