Agent skill

Ln 22 Current Architecture Documenter

by levnikolaevich in levnikolaevich/claude-code-skills

Documents current architecture from implementation evidence; does not propose a target or audit fitness.

MITAuto-check passed

Install Ln 22 Current Architecture Documenter

skills CLI
$ npx skills add levnikolaevich/claude-code-skills --skill ln-22-current-architecture-documenter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install levnikolaevich/claude-code-skills ln-22-current-architecture-documenter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/levnikolaevich/claude-code-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/architecture-suite/skills/ln-22-current-architecture-documenter .claude/skills/ln-22-current-architecture-documenter && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ln-22-current-architecture-documenter
GitHub stars
572
Token cost
~2.3k tokens
SKILL.md length
1,150 words
Files
1
Skills in repo
31
Repo updated
First seen
Licence
MIT

At a glance

Documents current architecture from implementation evidence; does not propose a target or audit fitness.

  • Works in 5 steps: Establish the Documentation Contract → Map the System Breadth → Trace Critical Behavior → …
  • SKILL.md covers Tool Routing, Artifact Rules, Checklist and Self-Check, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ln 22 Current Architecture Documenter is an agent skill from levnikolaevich/claude-code-skills. Documents current architecture from implementation evidence; does not propose a target or audit fitness.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Help your AI agent finish the job: solve the right problem, keep changes focused, and show what was verified. For Claude Code and Codex. The licence is MIT.

Example prompts

  • “Use the ln-22-current-architecture-documenter skill to document current architecture from implementation evidence; does not propose a target or…”
  • “/ln-22-current-architecture-documenter”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Establish the Documentation Contract
  2. Map the System Breadth
  3. Trace Critical Behavior
  4. Write the Current-State Artifact
  5. Verify and Report

What it can do on your machine

Read from SKILL.md and the folder at commit 0ce8796. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ln 22 Current Architecture Documenter loads about 2.3k tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 1,150 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from levnikolaevich/claude-code-skills at commit 0ce8796, republished under its MIT licence (© levnikolaevich). 1,150 words, ~2,336 tokens.

Download SKILL.mdSave it as .claude/skills/ln-22-current-architecture-documenter/SKILL.md (or your agent's skills folder).
name
ln-22-current-architecture-documenter
description
Documents current architecture from implementation evidence; does not propose a target or audit fitness.

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: The checklist defines completion. Track each item internally as PENDING, PROVEN with evidence, CLEARED with evidence its condition is absent, or UNPROVEN with a gap; reading, delegation, tool failure, a zero exit status, or a self-reported success is not proof; only the observed outcome is. Reconcile after each section. Before returning, resolve all PENDING, count only PROVEN and CLEARED, and apply verdict and approval rules to every gap. Preserve intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. When no one can answer during the run, state the exact question and apply the skill's verdict for the remaining gap instead of waiting or guessing. Scale depth to material risk without skipping checks. Preserve dependency and safety order; otherwise choose an appropriate verification method. Accept equivalent user or repository evidence; no other skill, named artifact, or complete lifecycle is required. Preserve source requirement and decision IDs. Bind reused evidence to relevant source versions, dirty changes, configuration, and environment; invalidate only affected claims. On continuation, reconcile task, authorization, current state, and unresolved evidence. For long work, return a compact continuation record or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority. Prepare authorized work before required approval. If blocked by an instruction, cite its exact source and unresolved boundary; do not invent approval gates from caution.

Tool Routing

NeedPreferred capabilityFallback
Snapshot identity and worktree stateGit status, branch, remote, and HEADRecord the supplied snapshot as UNVERIFIED
Structure and configurationNative listing, search, manifests, and direct file readsNarrow manual inspection
Symbols, dependencies, and consumersLanguage intelligence or resolved dependency toolingSearch definitions, registrations, imports, and callers
Runtime and deployment topologyEntrypoints, IaC, containers, CI, configuration, and runtime evidenceMark deployment relationships UNKNOWN
Document mutationMinimal patch to the approved architecture documentReturn 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.

Artifact Rules

  • Reuse a clear current-state architecture document; otherwise use docs/architecture/current-state.md.
  • Anchor the document to remote, branch, HEAD, worktree state, and observation date.
  • Cite material claims with file paths, symbols, commands, or configuration keys.
  • Label claims OBSERVED, DOCUMENTED, INFERRED, or UNKNOWN.
  • Separate actual structure from intended target design and from audit findings.
  • Map the declared system scope at a coarse level first, then deepen only what explains its critical behavior; do not expand a bounded request into a repository-wide inventory.
  • Prefer responsibility-oriented descriptions over exhaustive file inventories.
  • Record the evidence cutoff so readers can distinguish uninspected scope from genuine absence.
  • Keep volatile counts or inventories only when they affect architectural understanding.

Checklist

1. Establish the Documentation Contract
  • Resolve repository scope, intended readers, approved destination, required depth, and language.
  • Read repository instructions and record snapshot identity plus dirty-worktree limitations.
  • Search for existing current-state, baseline, target-design, decision, diagram, and deployment artifacts.
  • Reuse an unambiguous current-state document or select the default path without duplicating project knowledge.
  • Keep the run read-only except for the approved architecture document.
2. Map the System Breadth
  • Identify languages, frameworks, package roots, generated surfaces, and canonical build or run commands from manifests and CI.
  • Identify users, external systems, entrypoints, applications, services, processes, workers, scheduled jobs, and deployment units.
  • Map major domains or modules, responsibilities, ownership, and dependency direction.
  • Map data stores, caches, queues, files, external APIs, schemas, and systems of record.
  • Record public interfaces, runtime discovery, registration, configuration composition, and environment boundaries.
  • Record build, deploy, scale, and failure boundaries without inferring independence from directory names.
3. Trace Critical Behavior
  • Select representative critical flows based on business importance and architectural reach.
  • Trace each flow from actor or trigger through entrypoint, runtime coordination, domain behavior, persistence or integration, and observable outcome.
  • Record synchronous and asynchronous hops, transaction ownership, consistency, retry, timeout, idempotency, and error propagation where evidenced.
  • Describe deployment, startup, shutdown, health, observability, and recovery paths visible from repository evidence.
  • Deepen only subsystems whose complexity or uncertainty affects architectural understanding; keep ordinary implementation detail out of the architecture document.
Show full SKILL.md (427 more words)Show less
4. Write the Current-State Artifact
  • Write snapshot identity, system context, component inventory, responsibilities, dependency and data flow, runtime topology, critical flows, deployment, ownership, and evidence index.
  • Include the minimum useful diagrams inline or link existing diagram artifacts by path.
  • Distinguish observed implementation from documented intent and explicitly list drift or contradictions without assigning severity.
  • Mark remote-only, runtime-only, organizational, or production facts UNKNOWN unless supplied authoritative evidence establishes them; distinguish declared deployment configuration from observed live topology.
  • Preserve sourced manually maintained context with its evidence status; document contradictions and label unsupported historical claims instead of inheriting them as observed facts.
5. Verify and Report
  • Verify every citation against inspected snapshot evidence and remove unsupported claims; reopen sources only if they changed or the prior inspection did not establish the claim.
  • Confirm the map explains how critical behavior is discovered, executed, persisted, and deployed.
  • Confirm abstraction levels are not mixed and names remain consistent across prose and diagrams.
  • Bind the current-state account to the inspected revision and relevant dirty/configuration state; identify changes that would make a documented boundary stale.
  • Use READY when the snapshot is evidence-backed and useful; use INCOMPLETE when material topology remains unknown; use BLOCKED when repository identity, scope, or destination cannot be established safely.

Self-Check

  • Reconcile before returning. Check item-level evidence, requirement coverage, contradictions, scope, verdict, and applicable cleanup. Correct the report or authorized artifacts. Reuse valid evidence; do not automatically rescan the repository or rerun successful commands. Repeat checks only for relevant changes, failures, or unresolved evidence. Disclose remaining gaps.

Output Contract

Report in the user's language, in this order; label all five fields and state each fact once. Use controlled plain language: one fact per sentence, usually under 20 words, active voice, and one term per concept, with no synonyms for verdicts, IDs, or states. Small results may use one line per field; omit empty tables and do not copy linked artifacts:

  1. Result: The exact skill-specific verdict token first, then the supported outcome.
  2. Scope: Reviewed/changed scope, exclusions, baseline, and material assumptions.
  3. Evidence: Skill-specific fields below; distinguish facts, inferences, and unverified claims. Link artifacts; use tables when useful.
  4. Verification: Checks/results, unavailable evidence, and applicable cleanup/external state.
  5. Completion: Checklist: X/Y complete; Incomplete: None or each UNPROVEN item's reason, outcome impact, and exact next action; residual risks and required decisions.

Skill-specific evidence: Artifact path and snapshot identity (remote, branch, HEAD, worktree, date); mapped context, modules, runtime/deployment, data/interfaces, ownership, and critical flows. Identify changed sections/diagrams and claims or areas needing runtime, organizational, or external confirmation with status, inspected evidence, and exact next action.

© levnikolaevich, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/architecture-suite/skills/ln-22-current-architecture-documenter of levnikolaevich/claude-code-skills.

Open the folder on GitHubat commit 0ce8796

Compare with similar skills

Ln 22 Current Architecture Documenter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ln 22 Current Architecture Documenter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ln 22 Current Architecture Documenter this skilllevnikolaevich/claude-code-skills572—~2.3kAutomated safety check: PassMIT
Documentcodewhale-hq/Codewhale41k—~170Automated safety check: PassMIT
Documentsasgeirtj/system_prompts_leaks69k—~1.2kAutomated safety check: PassCC0-1.0
Document Generatorgarrytan/gstack136k—~11kAutomated safety check: NotesMIT
Nutrient Document Processingaffaan-m/ECC276k4 repos~1.5kAutomated safety check: PassMIT
Technical Documentationopenclaw/openclaw392k—~1.5kAutomated safety check: PassMIT

Similar skills

  • Document

    codewhale-hq/Codewhale

    Write or update repository/product documentation: README, user guides, API docs, architecture, migration notes, and changelog material.

    41k GitHub stars~170 tokensUpdated today
    DevelopmentAuto-check passed
  • Documents

    asgeirtj/system_prompts_leaks

    Help choose a written document's audience, purpose, structure, evidence, or destination.

    69k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Document Generator

    garrytan/gstack

    Writes missing documentation from scratch for a feature, a module or a whole project, organized as tutorial, how-to, reference and explanation pages.

    136k GitHub stars~11k tokensUpdated today
    DevelopmentAuto-check: notes
  • Process, convert, OCR, extract, redact, sign, and fill documents using the Nutrient DWS API.

    276k GitHub starsUsed in 4 repos~1.5k tokens
    Documents & OfficeAuto-check passed
  • Technical Documentation

    openclaw/openclaw

    Build and review high-quality technical docs as well as agent instruction files in your repository.

    392k GitHub stars~1.5k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Audits project docs against what shipped, updating README, ARCHITECTURE, CONTRIBUTING and CLAUDE.md, tidying the changelog and listing documentation debt in the PR.

    136k GitHub stars~9.6k tokensUpdated today
    DevelopmentAuto-check: notes

More from levnikolaevich/claude-code-skills

All 31 skills in this repo
  • Ln 53 Documentation Auditor

    levnikolaevich/claude-code-skills

    Audits documentation and comments for trust, coverage, consistency and freshness; read-only.

    572 GitHub stars~3.8k tokensUpdated 4 days ago
    Auto-check passed
  • Ln 81 Skill Reviewer

    levnikolaevich/claude-code-skills

    Reviews skill instructions, trigger boundaries and distribution contracts; not product code.

    572 GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed
  • Ln 11 Opportunity Evaluator

    levnikolaevich/claude-code-skills

    Evaluates new product opportunities through demand, channels and economics before committing to build.

    572 GitHub stars~3k tokensUpdated 4 days ago
    Auto-check passed
  • Ln 12 Product Requirements Builder

    levnikolaevich/claude-code-skills

    Defines product requirements, business rules and acceptance criteria for a committed intent; edits product docs only.

    572 GitHub stars~1.9k tokensUpdated 4 days ago
    Auto-check passed
  • Ln 13 Interaction Design Builder

    levnikolaevich/claude-code-skills

    Designs user flows, interaction states and mockups for a defined product scope; does not implement UI code.

    572 GitHub stars~1.8k tokensUpdated 4 days ago
    Auto-check passed
  • Ln 21 System Design Baseline Builder

    levnikolaevich/claude-code-skills

    Defines measurable architecture drivers and constraints before system design; edits architecture docs only.

    572 GitHub stars~2.5k tokensUpdated 4 days ago
    Auto-check passed

Questions about Ln 22 Current Architecture Documenter

What does Ln 22 Current Architecture Documenter do?

Documents current architecture from implementation evidence; does not propose a target or audit fitness. Ln 22 Current Architecture Documenter is an agent skill from levnikolaevich/claude-code-skills. Documents current architecture from implementation evidence; does not propose a target or audit fitness.

How do I install Ln 22 Current Architecture Documenter in Claude Code?

Run `npx skills add levnikolaevich/claude-code-skills --skill ln-22-current-architecture-documenter -a claude-code`. Or copy the skill folder (plugins/architecture-suite/skills/ln-22-current-architecture-documenter in levnikolaevich/claude-code-skills) into .claude/skills/ln-22-current-architecture-documenter in your project. Claude Code loads it when a task matches its description.

How do I install Ln 22 Current Architecture Documenter in Codex?

Run `npx skills add levnikolaevich/claude-code-skills --skill ln-22-current-architecture-documenter -a codex`. Or copy the skill folder (plugins/architecture-suite/skills/ln-22-current-architecture-documenter in levnikolaevich/claude-code-skills) into .agents/skills/ln-22-current-architecture-documenter in your project. Codex loads it when a task matches its description.

Can I use Ln 22 Current Architecture Documenter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add levnikolaevich/claude-code-skills --skill ln-22-current-architecture-documenter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ln-22-current-architecture-documenter, .gemini/skills/ln-22-current-architecture-documenter, .github/skills/ln-22-current-architecture-documenter and .opencode/skills/ln-22-current-architecture-documenter in your project.

What does Ln 22 Current Architecture Documenter need to run?

SKILL.md names no scripts, command-line tools or credentials: Ln 22 Current Architecture Documenter is instructions for the agent only.

Does Ln 22 Current Architecture Documenter access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ln 22 Current Architecture Documenter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ln 22 Current Architecture Documenter use?

Ln 22 Current Architecture Documenter is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ln 22 Current Architecture Documenter use?

About 2.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ln 22 Current Architecture Documenter?

Skills that share tags, products or a category with Ln 22 Current Architecture Documenter: Document (codewhale-hq/Codewhale, 41k stars), Documents (asgeirtj/system_prompts_leaks, 69k stars), Document Generator (garrytan/gstack, 136k stars) and Nutrient Document Processing (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ln 22 Current Architecture Documenter?

levnikolaevich (a GitHub user) maintains it in levnikolaevich/claude-code-skills, which has 572 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on October 5, 2026.

Source: levnikolaevich/claude-code-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.