agentleFS
onatmonatm/agent-skills/docs-architecture/SKILL.md

docs-architecture

Skill7 starsChanged 4 months agoMITView on GitHub

Maintain system and domain architecture docs such as `docs/ARCHITECTURE.md`, `web-architecture.md`, or `api-architecture.md`. Use when topology, shared patterns, cross-component flows, deployment model, or ownership boundaries change.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use assets/doc-starters/architecture-doc.md when creating or substantially rewriting docs/ARCHITECTURE.md or a domain architecture doc such …

    line 12
  2. Very specific:

    Read references/architecture-example.md when you need a worked example of the expected level of abstraction.

    line 13
  3. Distinctive:

    Update only architecture-level content.

    line 33
  4. Distinctive:

    Keep architecture docs as index docs.

    line 39
  5. Distinctive:

    Remove implementation walkthroughs that belong in component docs

    line 49
  6. Distinctive:

    Remove feature-level behavior copy that belongs in feature docs

    line 50
  7. Distinctive:

    Prefer concise diagrams and links over long prose dumps

    line 56
  8. Distinctive:

    Treat the doc as an index and coordination surface, not a full implementation manual

    line 57

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Docs Architecture

Maintain architecture-level docs without drifting into component internals or feature copy. Keep root and domain architecture docs aligned with the current topology and the docs they index.

Resource Map

  • Use assets/doc-starters/architecture-doc.md when creating or substantially rewriting docs/ARCHITECTURE.md or a domain architecture doc such as web-architecture.md.
  • Read references/architecture-example.md when you need a worked example of the expected level of abstraction.

When to Use

  • New system boundary, pipeline stage, deployment model, or ownership boundary
  • Changes to shared patterns used across multiple services or features
  • Updates to architecture index docs that link to docs/designs/ or docs/features/
  • Domain architecture docs describing reusable patterns, topology, or trust boundaries

Do Not Use

  • Component or service implementation detail that belongs in docs-components-design
  • Feature behavior, user flows, or product narrative that belongs in docs-feature-design

Workflow

  1. Identify the target architecture doc and its scope.
  • Root architecture doc for the whole system
  • Domain architecture doc for a shared surface such as web, API, or data
  1. Update only architecture-level content.
  • System or domain boundaries
  • Shared principles and patterns
  • Cross-component data or control flow
  • Runtime, deployment, trust boundaries, and ownership
  1. Keep architecture docs as index docs.
  • Link to related docs/designs/ and docs/features/ docs
  • Summarize shared behavior instead of duplicating component internals
  1. Verify truth-bearing details.
  • Active components and boundaries match the current code
  • Flows, contracts, and ownership are still accurate
  • Security and operations notes reflect the live system
  1. Trim stale detail.
  • Remove implementation walkthroughs that belong in component docs
  • Remove feature-level behavior copy that belongs in feature docs

Writing Rules

  • Focus on topology, boundaries, and shared patterns
  • Explain why the system is shaped this way, not every internal step
  • Prefer concise diagrams and links over long prose dumps
  • Treat the doc as an index and coordination surface, not a full implementation manual

Quality Checklist

  • The doc clearly states its scope and boundaries
  • Shared patterns and cross-component flows are current
  • Links to related design and feature docs are synchronized
  • Component-level internals are linked out instead of duplicated
  • Security, operations, and ownership notes reflect current behavior

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.