Documentation and ADR updates for architectural decisions. Use when there are design changes, new features, or a need to record decisions.
Produce and maintain accurate, decision-oriented documentation and Architecture Decision Records (ADRs) that reflect the current state of the system and its rationale.
This skill is intended to support architectural clarity, long-term maintainability, and informed decision-making, not to prescribe design choices in advance.
No documentation strategy or ADR format should be assumed before analyzing the repository context.
Before drafting or updating documentation, collect:
If any input is missing or ambiguous, stop and ask the DEV.
This section must be completed before proposing any documentation approach.
Only record observable facts.
If any signal is unclear, confirm with the DEV.
From the observed Repo Signals, derive implications such as:
Explicitly state assumptions and validate them with the DEV when necessary.
Validate Repo Signals
Ask the DEV:
“Can I proceed assuming these repository signals are accurate?”
Clarify the Decision or Change
Define what must be documented and why.
Ask:
“Is this the correct scope for documentation?”
Assess Documentation Needs
Determine required depth, structure, and longevity based on context.
Derive Documentation Options
Based on analysis, generate at least two and preferably three viable documentation approaches, each consistent with the repository’s maturity and constraints.
Evaluate Trade-offs
Compare options using objective criteria such as cost, clarity, maintenance burden, and alignment with industry practices.
Formulate a Recommendation
Recommend one option with explicit rationale.
Confirm Before Writing or Updating
No documentation or ADR should be finalized without DEV approval.
This section must be generated after analysis, not pre-filled.
For each option, include:
Options must be fully derived from the observed context, not generic templates.
Select one option as the recommended approach.
The recommendation must explicitly consider:
Provide a concise rationale explaining:
The response must include:
Explicit DEV approval is required before:
Without confirmation, do not proceed.