agentleFS
rpraharajrpraharaj/ai-sdlc/skills/write-architecture/SKILL.md

write-architecture

Skill0 starsChanged 16 days agoMITView on GitHub

Write a system architecture document — boundaries, data, control flow, and quality attributes. Use when the user asks for architecture, system design of the durable shape, or /write-architecture. Do not write product code. Do not architecture a local rename.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not implement. Do not invent services, stores, or SLOs this product does not have.

    line 19
  2. Very specific:

    If the ask is a single feature inside a settled system, say so and offer write-design.

    line 32
  3. Distinctive:

    Read AGENTS.md. Map current apps, packages, stores from the tree.

    line 46

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

Write architecture

Describe the durable shape. This is not a PRD, not write-design, and not record-decision.

Do not implement. Do not invent services, stores, or SLOs this product does not have.

Is this the right skill?

SignalDo this instead
What / why for userswrite-prd
How this feature will be builtwrite-design
One sticky choicerecord-decision
One implementable sliceshape-work
Local renamestop — no architecture doc
Review an existing architecture filereview-architecture

If the ask is a single feature inside a settled system, say so and offer write-design.

Required inputs

  • AGENTS.md. If the repo is unmapped, run explore-codebase or say the picture is incomplete.
  • Existing apps/packages you can name, or an explicit greenfield

Human decisions (do not invent)

  • Quality targets not already in the repo or set by the user
  • Irreversible vendor/store picks (draft options; record-decision after they choose)

Procedure

  1. Read AGENTS.md. Map current apps, packages, stores from the tree.
  2. Find the home: first existing docs/architecture/, docs/arch/, architecture/, or a path AGENTS.md names. Name: docs/architecture/<area>.md.
  3. Open references/architecture-template.md. Copy every heading. Write n/a when unused.
  4. Boundaries are things that can fail or deploy apart. Quality attributes use numbers this repo has or user-set targets — else unknown / n/a. Alternatives include keep-current when a system exists.
  5. Point sticky choices at record-decision.

Output

  • Path: docs/architecture/<area>.md
  • Template: references/architecture-template.md

Quality bar

  • A new engineer could name where a request enters and where data lives
  • Proposed shape is smaller than a platform rewrite unless asked
  • Unused sections are n/a
  • No secrets, no invented vendors

Done

  1. Path or full text
  2. Proposed shape in a few sentences
  3. Which ADRs should follow (or none)

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.