agentleFS
riz007riz007/architect-os/AGENTS.md

architect-os

AGENTS.md1 starsChanged 7 months agoMITView on GitHub

This repository is designed to be agent-aware, but humans retain responsibility for design, validation, and release decisions. Agents should operate as guided contributors, not autonomous maintainers. All AI agents operating in this repository must: - Skills (skills/) come in two kinds. User-invoked /aos-* commands are triggered explicitly. Model-invoked disciplines (aos-implementing-features, aos-debugging, aos-tdd, aos-hardening) should be applied proactively when the work matches their description — don't wait to be asked. - Subagents (agents/) are dispatched by /aos-generate via the Task tool.…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

24 rules. About 0 are common, 20 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈20

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All AI agents operating in this repository must:

    line 7
  2. Very specific:

    follow ArchitectOS standards (standards/, rules/, playbooks/)

    line 9
  3. Distinctive:

    avoid security anti-patterns and insecure defaults

    line 11
  4. Distinctive:

    avoid unnecessary dependencies and avoid scope creep

    line 14
  5. Distinctive:

    keep changes focused, minimal, and aligned with the feature goal

    line 15
  6. Distinctive:

    document non-trivial decisions in code comments or repo docs

    line 16
  7. Very specific:

    Read CONTEXT.md for the shared vocabulary and layering model every skill assumes.

    line 20
  8. Distinctive:

    Read README.md to understand the project scope and intent.

    line 21
  9. Distinctive:

    Prefer updating existing files over creating new duplicates.

    line 40
  10. Distinctive:

    When adding code, follow the existing naming, folder, and module conventions.

    line 41
  11. Distinctive:

    Use feature-based organization for new functionality.

    line 42
  12. Distinctive:

    Keep each change scoped to a single feature, module, or fix.

    line 43
  13. Distinctive:

    Do not add new top-level folders without explicit approval.

    line 44
  14. Distinctive:

    Run repository validation rules when available.

    line 49
  15. Distinctive:

    If a rule or standard is unclear, ask for clarification instead of guessing.

    line 50
  16. Distinctive:

    Avoid producing code that relies on unvetted experimental syntax or libraries.

    line 51
  17. Distinctive:

    When the prompt asks for architecture, answer with the repo's current folder and standard structure.

    line 55
  18. Distinctive:

    If asked for implementation, prefer code that is immediately usable, not abstract pseudo-code.

    line 56
  19. Distinctive:

    Avoid drafts or partial prototypes unless explicitly requested.

    line 63
  20. Very specific:

    Leave no placeholder comments such as TODO unless the task is explicitly to create a work-in-progress.

    line 64
  21. Distinctive:

    If a requirement conflicts with existing repo standards.

    line 68
  22. Distinctive:

    If a proposed dependency is not already in the target stack or repo.

    line 69
  23. Distinctive:

    If the task could change the architecture or cross-cut major layers.

    line 70
  24. Very specific:

    If the needed information is missing from README.md, ARCHITECTURE.md, or playbooks.

    line 71

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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
AGENTS.md

AI Agent Operating Instructions

This repository is designed to be agent-aware, but humans retain responsibility for design, validation, and release decisions. Agents should operate as guided contributors, not autonomous maintainers.

Required behavior

All AI agents operating in this repository must:

  • follow ArchitectOS standards (standards/, rules/, playbooks/)
  • prioritize maintainability, readability, and consistency
  • avoid security anti-patterns and insecure defaults
  • generate strongly-typed code when the target stack supports it
  • reuse existing abstractions before adding new ones
  • avoid unnecessary dependencies and avoid scope creep
  • keep changes focused, minimal, and aligned with the feature goal
  • document non-trivial decisions in code comments or repo docs

What agents should do first

  1. Read CONTEXT.md for the shared vocabulary and layering model every skill assumes.
  2. Read README.md to understand the project scope and intent.
  3. Review ARCHITECTURE.md and ENGINEERING_PRINCIPLES.md for repository-level expectations.
  4. Inspect the relevant playbooks/ folder for stack-specific guidance.
  5. Consult standards/ and rules/ before writing or changing code.
  6. Confirm the target output format and directory structure before generating files.

Skills, subagents, and hooks

  • Skills (skills/) come in two kinds. User-invoked /aos-* commands are triggered explicitly. Model-invoked disciplines (aos-implementing-features, aos-debugging, aos-tdd, aos-hardening) should be applied proactively when the work matches their description — don't wait to be asked.
  • Subagents (agents/) are dispatched by /aos-generate via the Task tool. Prefer launching the specialised subagent over doing every role yourself in one context.
  • Git guardrails (hooks/) block irreversible git operations. If a command is blocked, read the guidance and follow the safe alternative rather than overriding the hook.

File and change conventions

  • Prefer updating existing files over creating new duplicates.
  • When adding code, follow the existing naming, folder, and module conventions.
  • Use feature-based organization for new functionality.
  • Keep each change scoped to a single feature, module, or fix.
  • Do not add new top-level folders without explicit approval.

Validation and review

  • Generate tests for all new behavior: unit, integration, or API-level as appropriate.
  • Run repository validation rules when available.
  • If a rule or standard is unclear, ask for clarification instead of guessing.
  • Avoid producing code that relies on unvetted experimental syntax or libraries.

Prompting and interaction

  • When the prompt asks for architecture, answer with the repo's current folder and standard structure.
  • If asked for implementation, prefer code that is immediately usable, not abstract pseudo-code.
  • For refactoring tasks, preserve behavior while improving clarity.
  • For documentation tasks, keep content concise, actionable, and aligned with the repository's terminology.

Deliverables

  • Work should be commit-ready and repository-aligned.
  • Avoid drafts or partial prototypes unless explicitly requested.
  • Leave no placeholder comments such as TODO unless the task is explicitly to create a work-in-progress.

When to escalate

  • If a requirement conflicts with existing repo standards.
  • If a proposed dependency is not already in the target stack or repo.
  • If the task could change the architecture or cross-cut major layers.
  • If the needed information is missing from README.md, ARCHITECTURE.md, or playbooks.

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.