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

write-architecture

Skill1 starsChanged 15 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, or how the system is shaped. 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

8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    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 quality targets this product does not have.

    line 14
  2. Very specific:

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

    line 26
  3. Very specific:

    Read AGENTS.md if present.

    line 28
  4. Very specific:

    Use the first that exists: docs/architecture/, docs/arch/, architecture/, a path AGENTS.md names.

    line 32
  5. Very specific:

    If none: write in the reply, and offer to create docs/architecture/ in this repo's markdown style.

    line 34
  6. Distinctive:

    Quality attributes: use numbers this repo already has, or label them as targets the user set.

    line 46
  7. Distinctive:

    No secrets, no invented vendors.

    line 55
  8. Very specific:

    Do not implement. Next is usually record-decision for sticky choices, then write-design for the first initiative.

    line 63

≈ “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 of a system or area. This is not a PRD (write-prd), not a per-initiative design (write-design), and not a one-page ADR (record-decision).

Do not implement. Do not invent services, stores, or quality targets 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 choice (store, API family)record-decision
One implementable sliceshape-work
Local rename, one-file changestop — no architecture doc

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

Read AGENTS.md if present. If you have not mapped the repo, run explore-codebase first or say the picture is incomplete.

Find the home

Use the first that exists: docs/architecture/, docs/arch/, architecture/, a path AGENTS.md names.

If none: write in the reply, and offer to create docs/architecture/ in this repo's markdown style.

Name the file like existing architecture docs. If there are none, docs/architecture/<area>.md.

Write

Copy headings from references/architecture-template.md in this skill directory. Keep every heading; write n/a when a section does not apply. Do not invent extra sections. If that file is missing, use the same headings: Summary, Context, Scope of this doc, Goals and non-goals, Current state, Actors and systems, Proposed shape (Boundaries, Data, Control flow, Identity and tenancy, External), Deployment and environments, Quality attributes, Data classification, Migration and coexistence, Alternatives considered, Decisions, Risks and operability, Evolution, Open questions, Next.

Fill from evidence:

  • Current state names real apps, packages, stores. Greenfield: say so.
  • Boundaries are things that can fail or deploy apart — not every folder.
  • Quality attributes use numbers this repo already has, or label them as targets the user set. Do not invent SLOs.
  • Alternatives considered — at least two, including keep-current when a system exists.
  • Decisions point at record-decision for anything expensive to reverse. Do not hide an ADR inside this doc.

Quality

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

Done

  1. Path or the full text in the reply
  2. The proposed shape in three to six sentences
  3. Which ADRs should follow (or none)

Do not implement. Next is usually record-decision for sticky choices, then write-design for the first initiative.

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.