agentleFS
allmontyallmonty/better-code-agent/skills/architecture-decision/SKILL.md

architecture-decision

Skill0 starsChanged 10 days agoMITView on GitHub

Chooses an architecture or technology for a project or module and records it as an ADR in docs/adr/, including how the decision is enforced (structural test or lint rule). Use when starting a project, adding a module or service, picking a database/framework/library, or when the user asks which architecture fits.

39 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use component-release, team-level 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.
  • Microsoft AzureSkill

    component-release

    Prepares and validates GPT-RAG MCP component releases. Use for versions, dependency locks, changelog entries, release branches, tags, GitHub Releases, and platform pin coordination.

    Also in 4 projects that use this

  • CoralGameSkill

    team-level

    Orchestrate level design team: level-designer + narrative-director + world-builder + art-director + systems-designer + qa-tester for complete area/level creation.

    Also in 10 projects that use this

  • CoralGameSkill

    team-narrative

    Orchestrate the narrative team: coordinates narrative-director, writer, world-builder, and level-designer to create cohesive story content, world lore, and narrative-driven level design.

    Also in 10 projects that use this

  • lilangMaxSkill

    asset-spec

    Generate per-asset visual specifications and AI generation prompts from GDDs, level docs, or character profiles. Produces structured spec files and updates the master asset manifest. Run after art bible and GDD/level design are approved, before production begins.

    Also in 8 projects that use this

  • lilangMaxSkill

    create-control-manifest

    After architecture is complete, produces a flat actionable rules sheet for programmers — what you must do, what you must never do, per system and per layer. Extracted from all Accepted ADRs, technical preferences, and engine reference docs. More immediately actionable than ADRs (which explain why).

    Also in 8 projects that use this

  • +2 more from CoralGame
  • +5 more from lilangMax

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 36 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Gather the forces: Read existing ADRs and the code.

    line 13

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

Work in the user's project: the current working directory. Every path below is relative to it, not to this skill's own folder.

Decision: $ARGUMENTS

  1. Gather the forces. Read existing ADRs and the code. Find out from the code and the user: the domain's complexity, expected load and data size, team size, deployment target, the stack the team already knows, and what must stay easy to change.
  2. Default to what exists. In an existing codebase the current architecture wins unless it blocks the requirement. Say so if it does.
  3. Compare two or three real options against those forces, using .claude/rules/architecture.md: simple module, layered, hexagonal/clean, or the stack's opinionated framework structure. Include the cost of each: extra files, indirection, what tests look like.
  4. Recommend one and say what would make you pick another.
  5. Write the ADR as the next number in docs/adr/ from 0000-template.md, status proposed. Under Consequences, name the enforcement: the structural test or lint rule (e.g. import-linter contract, dependency-cruiser rule, ArchUnit test) that will fail when the boundary is crossed.
  6. Ask for approval, then set the status to accepted and add the enforcement as a plan task or do it now as its own commit.

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.