arch-docs
Skill5 starsChanged 21 days agoMITView on GitHub
Create or refresh `docs/CODE_ARCHITECTURE.md` and `docs/FILE_STRUCTURE.md` from repository evidence. Use for architecture or file-layout documentation. Use other documentation skills for README, installation, usage, or repo-wide updates.
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agents-md-fixerSkill
- book-to-markdownSkill
- docset-updaterSkill
- humanizerSkill
- news-release-docsSkill
- pdf-guideSkill
- readme-docsSkill
- screenshot-docsSkill
- see-also-docsSkill
- setup-install-usage-docsSkill
- bptools-writer-expertSkill
- color-accessibility-expertSkill
- css-creative-expertSkill
- game-design-expertSkill
- geometry-expertSkill
- glass-expertSkill
- hic-human-interact-expertSkill
- openscad-3d-printing-expertSkill
- podman-expertSkill
- postgresql-expertSkill
- pyside6-engineerSkill
- rust-code-expertSkill
- solid-js-expertSkill
- svg-creator-expertSkill
- typescript-engineerSkill
- ui-ux-engineerSkill
- vision-expertSkill
- wasm-rust-expertSkill
- webwork-writer-expertSkill
- delegate-manager-to-subagentsSkill
- gas-town-workflowSkill
- hang-checkSkill
- html-game-parallel-builderSkill
- parallel-planSkill
- stay-busySkill
- repo-rules-readerSkill
- blueprint-plan-drafterSkill
- ideonomy-plainSkill
- ideonomy-richSkill
- make-goalSkill
- modest-plan-drafterSkill
- audit-code-reviewerSkill
- old-python-code-reviewSkill
- prune-testsSkill
- unit-test-starterSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 14 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Create or refresh architecture and file-structure documentation from the current repo state.
- Distinctive: line 16
Read README.md and AGENTS.md.
- Very specific: line 18
Use rg --files to get a fuller inventory when needed.
- Very specific: line 20
Check common manifests (pyproject.toml, pip_requirements.txt, package.json, Cargo.toml, go.mod, Makefile) when present.
- Very specific: line 23
Check .gitignore for generated artifacts and caches.
- Distinctive: line 24
Run git status -suno to see uncommitted changes.
- Distinctive: line 27
Keep accurate sections and restructure for clarity when needed.
- Distinctive: line 29
If unclear, add a verification task in the "Known gaps" section.
- Very specific: line 31
Follow docs/MARKDOWN_STYLE.md and docs/REPO_STYLE.md.
- Distinctive: line 32
Use present tense, concrete paths, and relative links.
- Distinctive: line 42
Prefer short, scannable bullets.
- Distinctive: line 43
Only include commands verifiable from repo files.
- Distinctive: line 44
Avoid non-ASCII characters unless explicitly required by existing docs.
- Distinctive: line 45
Prefer ISO-8859-1 only when the repo already uses it.
- Distinctive: line 66
When showing a directory tree, use ASCII only.
- Distinctive: line 69
Not allowed: box-drawing characters such as U+251C, U+2500, U+2502, U+2514
- Very specific: line 87
Leave README.md to readme-docs, the sole owner of README content.
- Very specific: line 90
Update docs/CHANGELOG.md directly when this skill runs as a standalone task.
- Distinctive: line 96
Prefer to trim and correct existing docs before rewriting from scratch.
- Distinctive: line 97
If the repo lacks needed evidence, add a "Known gaps" bullet with a verification task.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Arch docs
Overview
Create or refresh architecture and file-structure documentation from the current repo state. Base statements on observable files and configs, and record unknowns as verification tasks.
Workflow
- Inspect the repo
- Read
README.mdandAGENTS.md. - Scan layout with
ls -1andls -1 ./docs/. - Use
rg --filesto get a fuller inventory when needed. - Identify languages, build tooling, entry points, and main executables.
- Check common manifests (
pyproject.toml,pip_requirements.txt,package.json,Cargo.toml,go.mod,Makefile) when present. - Locate core logic, scripts, and tests.
- Check
.gitignorefor generated artifacts and caches. - Run
git status -sunoto see uncommitted changes.
- Read
- Update policy
- Remove stale details.
- Keep accurate sections and restructure for clarity when needed.
- State facts only; do not invent details.
- If unclear, add a verification task in the "Known gaps" section.
- Apply style and consistency
- Follow
docs/MARKDOWN_STYLE.mdanddocs/REPO_STYLE.md. - Use present tense, concrete paths, and relative links.
- Link file and folder names to their repo paths when mentioned, so they are
clickable for details. Markdown links are created using the syntax
[link text](URL), where "link text" is the clickable text that appears in the document, and "URL" is the web address or file path the link points to. This allows users to navigate between different content easily. Use file-path link text so readers know the exact filename (good:[docs/MARKDOWN_STYLE.md](docs/MARKDOWN_STYLE.md), bad:[Style Guide for Markdown](docs/MARKDOWN_STYLE.md)). Only include a backticked path when the link text is not the path. - Prefer short, scannable bullets.
- Only include commands verifiable from repo files.
- Avoid non-ASCII characters unless explicitly required by existing docs.
- Prefer ISO-8859-1 only when the repo already uses it.
- Follow
- Write
docs/CODE_ARCHITECTURE.md- Title: "Code architecture"
- Sections to include when applicable:
- Overview
- Major components (what, where, key dependencies)
- Data flow (primary use case end-to-end)
- Testing and verification (only if verifiable)
- Extension points (where to add code/modules/integrations)
- Known gaps (verification tasks only)
- Write
docs/FILE_STRUCTURE.md- Title: "File structure"
- Sections to include when applicable:
- Top-level layout (key dirs/files with one-line purpose)
- Key subtrees (large directories that need clarification)
- Generated artifacts (what/where/git ignored)
- Documentation map (docs location and root docs)
- Where to add new work (code/tests/docs/scripts/data)
Repository structure
When showing a directory tree, use ASCII only. Do not use box drawing characters.
- Allowed:
|,+-,`-, spaces - Not allowed: box-drawing characters such as U+251C, U+2500, U+2502, U+2514
Example (ASCII only):
site_docs/
+- index.md
+- biochemistry/
| `- topic01/
| `- index.md
`- genetics/
`- topic01/
`- index.md
mkdocs.yml- Wrap up
- Save both files.
- Leave
README.mdtoreadme-docs, the sole owner of README content. It linksdocs/CODE_ARCHITECTURE.mdanddocs/FILE_STRUCTURE.mdfrom README once they exist. This skill owns only the two architecture docs. - Update
docs/CHANGELOG.mddirectly when this skill runs as a standalone task; underdelegate-manager-to-subagents, dispatch a docs subagent to add the entry. - Summarize what changed and what could not be verified.
- Note that docs-only changes do not require tests unless otherwise requested.
Notes
- Prefer to trim and correct existing docs before rewriting from scratch.
- If the repo lacks needed evidence, add a "Known gaps" bullet with a verification task.
Example requests
- "Update the architecture and file structure docs for this repo."
- "Create CODE_ARCHITECTURE.md and FILE_STRUCTURE.md based on current files."
- "Refresh the docs/FILE_STRUCTURE.md map after adding new folders."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

