agentleFS
owainlewisowainlewis/blueprint/skills/architecture/SKILL.md

architecture

Skill423 starsChanged 3 months agoMITView on GitHub

Writes root ARCHITECTURE.md from a fixed template: the intended system, a data flow diagram, the data model, and the rules every feature must follow. Use for a new system or a change to its boundaries, data, or deployment.

136 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use intelligent-routing, bash-linux and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SKB3002Skill

    intelligent-routing

    Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.

    Also in 6 projects that use this

  • xenitV1Skill

    bash-linux

    Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

    Also in 8 projects that use this

  • xenitV1Skill

    red-team-tactics

    Red team tactics principles based on MITRE ATT&CK. Attack phases, detection evasion, reporting.

    Also in 8 projects that use this

  • SKB3002Skill

    nextjs-react-expert

    React and Next.js performance optimization from Vercel Engineering. Use when building React components, optimizing performance, eliminating waterfalls, reducing bundle size, reviewing code for performance issues, or implementing server/client-side optimizations.

    Also in 3 projects that use this

  • +8 more from xenitV1

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 118 edited versions we read keep these.

  • 4

    Distinctive

    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:

    Read REQUIREMENTS.md, the repository instructions, and any existing code, schemas, and infrastructure.

    line 15
  2. Distinctive:

    Ask the user about each decision that shapes the system: boundaries, who owns which data, dependencies, and hard limits.

    line 16
  3. Distinctive:

    Stop when the document is ready for review.

    line 19
  4. Very specific:

    Keep existing INV-n IDs. Never reuse or renumber them.

    line 69
  5. Distinctive:

    Never invent workload or latency numbers.

    line 71
  6. Distinctive:

    Update this document when a change moves ownership, data, interfaces, trust boundaries, or deployment.

    line 72

“Common” is measured: kept by at least 6 in 10 of the 118 edited versions of this file we could read. “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

Architecture

Fill in this template in root ARCHITECTURE.md. It describes the system you intend to build and stays current as it changes. Product needs go in requirements; one feature's design goes in a spec.

Steps

  1. Read REQUIREMENTS.md, the repository instructions, and any existing code, schemas, and infrastructure. Check every claim about the current system against them.
  2. Ask the user about each decision that shapes the system: boundaries, who owns which data, dependencies, and hard limits. Give your recommended answer with each question.
  3. Choose the simplest design that meets the requirements. For each big decision, name the strongest alternative and why you did not pick it.
  4. Fill in the template. Render the diagram and check that it matches the text.
  5. Stop when the document is ready for review. Do not plan tasks or write code.

Template

# <System> architecture

Status: Proposed | Accepted. <What is built today, and what is not yet.>

## Intended system

<Two or three sentences: the main parts and the source of truth.>

```mermaid
flowchart LR
    user([User]) -->|request| app[App]
    app -->|reads and writes| db[(Database)]
```

<One line on the main flow and any trust boundary the reader must know.>

## Responsibilities

<What each part owns, what it must not own, and which way dependencies point.>

## Data model

<Core entities, how they relate, who owns each, and the rules that keep data consistent.>

## Critical flows

<The flows that matter most, step by step, including failure and retry.
Give each rule every feature must follow an INV-n ID and say how it is checked.>

## Security and operations

<Trust boundaries, who can do what, deployment, monitoring, and recovery.>

## Decisions

| Decision | Chosen | Instead of | Why | Cost |
|---|---|---|---|---|

## Open decisions

<Each unanswered question, your recommended answer, and what it blocks.>

Rules

  • Keep existing INV-n IDs. Never reuse or renumber them.
  • Mark a decision Accepted only when a human approves it. Accepted is not the same as built.
  • Never invent workload or latency numbers. Mark unknown targets as open decisions.
  • Update this document when a change moves ownership, data, interfaces, trust boundaries, or deployment.

Return

Report the path, the main decisions and their tradeoffs, and any blocking question.

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.