agentleFS
swombatswombat/souls-house/.agents/skills/architecture/SKILL.md

architecture

Skill48 starsChanged 2 months agoMITView on GitHub

Review the final architecture or implementation plan for a requirements family in this repository. Use only when explicitly invoked as `$architecture <requirements-file-or-stem>` to compare the latest plan in `docs/proposals/plans` against the original requirement in `docs/proposals/requirements`, detect drift, missing coverage, scope creep, and architectural risks, and write a review artifact.

149 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use intelligent-routing, red-team-tactics 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

    red-team-tactics

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

    Also in 9 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 9 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

  • CES-LtdSkill

    oss-pr

    Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.

    Also in 3 projects that use this

  • +7 more from xenitV1

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. 0 are common, 16 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 129 edited versions we read keep these.

  • 16

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Use this skill to follow up on the repo's .claude/commands/architecture.md workflow.

    line 8
  2. Distinctive:

    If the user does not provide a requirements identifier, ask for it before continuing.

    line 24
  3. Very specific:

    Use the returned requirements_file, final_plan, final_plan_alternates, primary_plan_candidates, and supporting_files.

    line 50
  4. Distinctive:

    If the resolver cannot identify a single requirements file or final plan, stop and explain the ambiguity instead of guessing.

    line 52
  5. Distinctive:

    Read the source material.

    line 54
  6. Distinctive:

    Read the requirements file completely.

    line 55
  7. Distinctive:

    Read the chosen final plan completely.

    line 56
  8. Distinctive:

    Read the most relevant supporting context, especially:

    line 57
  9. Distinctive:

    Do not load every historical file by default if the later plan and feedback already explain the evolution.

    line 61
  10. Distinctive:

    Check every requirement, constraint, and acceptance criterion for coverage.

    line 64
  11. Distinctive:

    Treat documented tradeoffs from DHH feedback or later clarifications as intentional changes, not accidental drift, but still call them out.

    line 68
  12. Distinctive:

    Write the review artifact before replying.

    line 70
  13. Distinctive:

    If the file already exists, replace it with the updated review instead of creating duplicates.

    line 76
  14. Distinctive:

    Keep the chat summary concise.

    line 81
  15. Distinctive:

    Only if the user explicitly asks to incorporate the review:

    line 83
  16. Distinctive:

    Create the next plan iteration by incrementing the reviewed plan letter.

    line 84
  17. Distinctive:

    Do not create the next plan automatically.

    line 87
  18. Distinctive:

    If you find no meaningful issues, say so clearly in both the file and the user-facing summary.

    line 139
  19. Very specific:

    If final_plan_alternates is non-empty, explain in the review why one plan was treated as the primary final plan and mention the alternates …

    line 143

“Common” is measured: kept by at least 6 in 10 of the 129 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 Review

Use this skill to follow up on the repo's .claude/commands/architecture.md workflow. The job is to audit the latest plan output against the original requirements and capture the findings in a durable review file.

Input

The user should invoke this skill as:

$architecture <requirements-file-or-stem>

Accept these forms:

  • docs/proposals/requirements/YYMMDD-01-feature.md
  • 260301-01-search.md
  • 260301-01-search

If the user does not provide a requirements identifier, ask for it before continuing.

Legacy input is read-only under docs/.bak/{requirements,plans}; the resolver also accepts its original stems. Never write a new review or plan into .bak. For a historical review, create the new artifact under docs/proposals/plans/. To resume implementation of that family, first copy its requirement and selected plan into the current proposal directories with provenance; the resolver keeps current and archived plan families separate.

Repo Conventions

  • Requirements live in docs/proposals/requirements/.
  • Plan iterations, DHH feedback, progress notes, and review artifacts live in docs/proposals/plans/.
  • Files in the same plan family share the same numeric stem, such as 260301-01.
  • Main plan versions advance by letter: a, b, c, and so on.
  • Supporting artifacts usually use suffixes such as -dhh-feedback, -dhh-review, -implementation-review, -code-review, -progress, or -architecture-review.

Workflow

  1. Resolve the requirement and plan files first. Run:

    ruby .agents/skills/architecture/scripts/resolve_architecture_files.rb <argument>

    Use the returned requirements_file, final_plan, final_plan_alternates, primary_plan_candidates, and supporting_files.

    If the resolver cannot identify a single requirements file or final plan, stop and explain the ambiguity instead of guessing.

  2. Read the source material.
    • Read the requirements file completely.
    • Read the chosen final plan completely.
    • Read the most relevant supporting context, especially:
      • DHH feedback for the same or previous plan letter
      • earlier plan iterations only when they help explain drift
      • existing -implementation-review or -code-review files only as supporting context, not as the main artifact
    • Do not load every historical file by default if the later plan and feedback already explain the evolution.
  3. Audit the final plan.
    • Check every requirement, constraint, and acceptance criterion for coverage.
    • Flag drift from the original requirements.
    • Flag scope creep that was not requested.
    • Flag contradictions inside the final plan or against established repo conventions when relevant.
    • Treat documented tradeoffs from DHH feedback or later clarifications as intentional changes, not accidental drift, but still call them out.
  4. Write the review artifact before replying.
    • Save it in docs/proposals/plans/.
    • Name it after the reviewed plan, keeping the same version letter and feature slug, with -architecture-review.md.
    • Example:
      • reviewed plan: docs/proposals/plans/YYMMDD-01c-feature.md
      • review file: docs/proposals/plans/YYMMDD-01c-feature-architecture-review.md
    • If the file already exists, replace it with the updated review instead of creating duplicates.
  5. Present findings to the user.
    • Lead with the most important issues.
    • Mention which plan you reviewed and where the review file was written.
    • Keep the chat summary concise. The file is the full artifact.
  6. Only if the user explicitly asks to incorporate the review:
    • Create the next plan iteration by incrementing the reviewed plan letter.
    • Base it on the reviewed plan and apply only the approved changes.
    • Preserve the repo naming conventions in docs/proposals/plans/.
    • Do not create the next plan automatically.

Review File Format

Use this structure:

# <Feature> Architecture Review

**Date**: YYYY-MM-DD
**Requirements**: `/docs/proposals/requirements/...`
**Plan Reviewed**: `/docs/proposals/plans/...`
**Supporting Context**: `...` or `None`

---

## Overall Assessment

Short high-level summary.

## Requirements Coverage

| Requirement | Status | Notes |
|-------------|--------|-------|

Statuses:
- Covered
- Partially covered
- Missing
- Contradicted

## Drift Analysis

Call out where the final plan diverged from the original requirements and whether the divergence appears intentional.

## Scope Creep

List additions that were not asked for in the requirements.

## Risks and Concerns

Flag architectural risks, unresolved edge cases, internal inconsistencies, or implementation concerns.

## Suggested Changes

1. Concrete, actionable fix.

## Verdict

Brief overall assessment of whether the plan faithfully serves the requirements.

If you find no meaningful issues, say so clearly in both the file and the user-facing summary.

Notes

  • If final_plan_alternates is non-empty, explain in the review why one plan was treated as the primary final plan and mention the alternates in supporting context.
  • Focus on substance, not formatting polish.
  • Quote sparingly. Summaries and specific references are usually better than long excerpts.

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.