jimtin/production-ai/repo-technical-documentation
Claude Code and agent skill by jimtin/production-ai
- community
Checking that the SKILL.md file is still in the repository.
Exhaustively document an existing repository's technical architecture and implementation details. Use when asked to work through a whole repo and create, update, reconcile, or refresh technical docs covering API endpoints, UI routes and choices, frameworks, libraries and rationale, data models, integrations, jobs, testing, deployment, observability, operational scripts, or stale documentation.
Install
npx vskill@latest install jimtin/production-ai/repo-technical-documentationSKILL.md
The same SKILL.md was published earlier as jimtin/production-ai/repo-technical-documentation.
Repo Technical Documentation
Purpose
Use this skill to produce durable, repo-grounded technical documentation. The default output is split Markdown docs plus a machine-readable evidence file. Existing technical docs are updated in place when they exist; otherwise create the standard package under docs/repo-map/.
This is a documentation and inventory skill, not a remediation review. Use $full-app-review when the user wants prioritized findings or a fix plan.
Operating Rules
- Start from repo truth: applicable
AGENTS.md, tracked files, manifests, source entrypoints, tests, docs, configs, scripts, workflows, and deployment files. - Enumerate git-tracked files by default with
git ls-files. Consider every tracked file, but path-inventory only for secret-like, generated/build, binary, unreadable, or oversized files. - Never print or document secret values. Do not read
.env*, credential, token, private-key, local provider state, or similar files unless the user explicitly provides a safe fixture. - Tag every material claim as
confirmed,inferred,stale-doc, orunknown. Do not present inferred rationale as fact. - In Plan Mode or report-only requests, do not write docs. Return the proposed doc targets and update plan instead.
- Prefer updating existing technical docs over creating duplicate docs. If no suitable docs exist, create
docs/repo-map/. - Keep generated artifacts deterministic and repo-contained. Do not dirty unrelated tracked files.
Workflow
- Baseline the repo.
- Read parent and repo-local instructions.
- Check
git status --short --untracked-files=all. - Identify existing technical docs, source roots, test roots, package managers, deployment targets, and canonical validation commands.
- Run this skill's helper,
scripts/repo_inventory.py <repo> --format json, resolved relative to this skill directory, for a deterministic first-pass fact inventory when useful.
- Build the evidence map.
- Use
references/discovery-checklist.md. - Map API endpoints, UI routes, user actions, frameworks, libraries, data schemas, integrations, auth/roles, jobs, scripts, tests, deployment/runtime, observability, and docs.
- Record evidence as file paths, line references when inspected directly, manifest entries, config files, and test/doc references.
- Reconcile existing docs.
- Find docs that already describe architecture, APIs, routes, dependencies, operations, testing, or runbooks.
- Compare documented claims with current repo evidence.
- Mark missing current facts as
confirmed, outdated claims asstale-doc, inferred rationale asinferred, and unresolved rationale or ownership asunknown.
- Write or propose docs.
- Use
references/documentation-schema.mdfor required sections and confidence labels. - Use
references/output-templates.mdfor the split-doc package. - Default files under
docs/repo-map/are: README.mdapi-inventory.mdui-inventory.mddependencies-and-rationale.mddata-integrations-and-jobs.mdvalidation-and-operations.mdevidence.json- If existing docs cover the same subjects, update those files and add only missing companion files.
- Validate the documentation.
- Confirm every material statement has evidence or an explicit
unknown. - Re-run the inventory helper after writes and verify
evidence.jsonis current. - Run lightweight doc checks available in the repo, such as markdown lint or link checks, before broader validation.
Output Expectations
Completion reports must include:
- Docs created or updated.
- Repo truth discovered.
- Existing docs reconciled and stale claims removed or marked.
- Evidence commands run.
- Gaps left as
unknown. - Validation results and any blocked checks.
References
references/discovery-checklist.md: what to inspect during the repo pass.references/documentation-schema.md: confidence tags, evidence rules, and required doc sections.references/output-templates.md: Markdown and JSON output templates.scripts/repo_inventory.py: deterministic tracked-file inventory helper.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/repo-technical-documentation/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
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/jimtin/production-ai/repo-technical-documentation)