Skip to content
Skills Library
Programming · Writing

arch-docs

/arch-docs

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.

Licence
MIT
Last repository change
22.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 22.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

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.

Original author description

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.

How it works

  1. Overview
  2. Workflow
  3. Repository structure
  4. Notes
  5. Example requests
Original SKILL.md headings · 100 lines, 586 words
SKILL.md preview
---
name: arch-docs
description: "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."
---

# 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

1. Inspect the repo
   - Read `README.md` and `AGENTS.md`.
   - Scan layout with `ls -1` and `ls -1 ./docs/`.
   - Use `rg --files` to 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 `.gitignore` for generated artifacts and caches.
   - Run `git status -suno` to see uncommitted changes.
2. 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.
3. Apply style and consistency
   - Follow `docs/MARKDOWN_STYLE.md` and `docs/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.
4. 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)
5. 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):

```text
site_docs/
+- index.md
+- biochemistry/
|  `- topic01/
|     `- index.md
`- genetics/
   `- topic01/
      `- index.md
mkdocs.yml
```

6. Wrap up
   - Save both files.
   - Leave `README.md` to `readme-docs`, the sole owner of README content. It links
     `docs/CODE_ARCHITECTURE.md` and `docs/FILE_STRUCTURE.md` from README once they
     exist. This skill owns only the two architecture docs.
   - Update `docs/CHANGELOG.md` directly when this skill runs as a standalone task; under `delegate-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."
Files in this package (2)
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB

Versions

The database has no other skills named arch-docs.

Database snapshot: 13.11.2026 · package version 383139aa4dc7 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100setup-install-usage-docs
    Create or refresh `docs/INSTALL.md` and `docs/USAGE.md` from repository evidence. Use when installation or usage docs are missing, thin, or stale. Use other documentation skills for README, architecture, file structure, or repo-wide updates.
  • 100repo
    Update repository documentation (README.md, docs/, CLAUDE.md) based on session changes by dispatching the up-docs-propagate-repo sub-agent. This skill should be used when the user runs /up-docs:repo.
  • 100readme-generator-free
    Generate polished README files from project code. Use when the user says "generate readme", "create README", "write project documentation", "make a readme", or asks for README generation, project documentation, installation docs, usage docs, API docs, badges, or repository…
  • 100docs-refresh
    Refresh documentation with deterministic generation from source files. Use when user says /docs-refresh.
  • 90generate-readme
    Generate or refresh a comprehensive, professional README.md for a repository, with architecture overview, mermaid and optional C4 diagrams, repository structure, dependencies, and API documentation. Use whenever the user asks to create, write, update, improve, or regenerate a…
  • 100generating-project-docs
    Use when creating, refreshing, or updating project-level documentation — README.md, ARCHITECTURE.md, STRUCTURE.md, or scoped section updates

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.