levnikolaevich/ln-72-current-architecture-documenter
Documents implemented current-state architecture from repository evidence. Use for onboarding or migration baselines; not for target design, audit verdicts, or code changes.
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-72-current-architecture-documenter
Goal: Produce a trustworthy snapshot of the architecture implemented in the checked-out repository. Document what exists and how it behaves; do not score it, prescribe a target architecture, repair code, or turn intended diagrams into facts.
Execution contract: Treat the ordered checkbox workflow below as this skill's Definition of Done. Work through every item in order, and mark it complete only when its action and required evidence are complete. N/A, skipped, unavailable, or delegated items remain incomplete.
Before returning, apply this skill's verdict and approval rules to every incomplete item and prepend Checklist: X/Y complete<br>Incomplete: None | section/item — reason; outcome impact; exact next action; list every incomplete item.
| Need | Preferred capability | Fallback |
|---|---|---|
| Snapshot identity and worktree state | Git status, branch, remote, and HEAD | Record the supplied snapshot as UNVERIFIED |
| Structure and configuration | Native listing, search, manifests, and direct file reads | Narrow manual inspection |
| Symbols, dependencies, and consumers | Language intelligence or resolved dependency tooling | Search definitions, registrations, imports, and callers |
| Runtime and deployment topology | Entrypoints, IaC, containers, CI, configuration, and runtime evidence | Mark deployment relationships UNKNOWN |
| Document mutation | Minimal patch to the approved architecture document | Return BLOCKED if no writable path is authorized |
Prefer local evidence over remote repository state. A path, diagram, or naming convention is a lead until executable wiring or an authoritative contract confirms it.
docs/architecture/current-state.md.OBSERVED, DOCUMENTED, INFERRED, or UNKNOWN.UNKNOWN when local evidence cannot establish them.DOCUMENTED when the snapshot is evidence-backed and useful; use INCONCLUSIVE when material topology remains unknown; use BLOCKED when repository identity, scope, or destination cannot be established safely.# Current Architecture Documentation
**Verdict:** DOCUMENTED | INCONCLUSIVE | BLOCKED
**Artifact:** path
**Snapshot:** remote, branch, HEAD, worktree state, observed date
## Architecture mapped
- Context, modules, runtime and deployment units
- Data, interfaces, ownership, and critical flows
## Evidence limitations
| Claim or area | Status | Evidence inspected | Exact next action |
|---|---|---|---|
## Changes made
- Created or updated sections and diagrams
## Residual unknowns
Facts that require runtime, organizational, or external confirmation.
Take levnikolaevich/ln-72-current-architecture-documenter from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.