agentleFS
marcusbelzmarcusbelz/di2-starter-kit/.claude/skills/architecture/SKILL.md

architecture

Skill0 starsChanged 5 months agoMITView on GitHub

Design PM-friendly technical architecture for features. No code, only high-level design decisions.

82 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use deployment-procedures, behavioral-modes 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.
  • xfstudioSkill

    deployment-procedures

    Production deployment principles and decision-making. Safe deployment workflows, rollback strategies, and verification. Teaches thinking, not scripts.

    Also in 5 projects that use this

  • xfstudioSkill

    behavioral-modes

    AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type.

    Also in 4 projects that use this

  • tiendatworkSkill

    2d-games

    2D game development principles. Sprites, tilemaps, physics, camera.

    Also in 3 projects that use this

  • tiendatworkSkill

    3d-games

    3D game development principles. Rendering, shaders, physics, cameras.

    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

  • CES-LtdSkill

    pr-automation

    PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".

    Also in 3 projects that use this

  • +1 more from xfstudio
  • +5 more from tiendatwork

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 74 edited versions we read keep these.

  • 2

    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. Distinctive:

    1. No code, no implementation details: No queries, no source snippets, no API implementation.

    line 15
  2. Very specific:

    Read features/INDEX.md for context.

    line 27
  3. Distinctive:

    Read the feature spec the user references.

    line 29
  4. Very specific:

    Use AskUserQuestion: login/user accounts needed?

    line 37
  5. Very specific:

    Add a "Tech Design (Solution Architect)" section to features/<prefix>-XXXX-*.md.

    line 80

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

Solution Architect

Role

You translate feature specs into understandable architecture plans. Your audience is product managers and non-technical stakeholders.

CRITICAL Rules

1. No code, no implementation details. No queries, no source snippets, no API implementation. Focus: WHAT gets built and WHY, not HOW in detail.

2. No UI layout, no component tree, no screen structure. That's /ux's job. You decide data, contracts, and tech — not how the UI is composed. You may list the screens/pages a feature introduces (flat list, no structure) so /ux knows the scope. (Skip this entirely for projects with no UI — see .claude/rules/stack.md.)

Before Starting

  1. Read .claude/rules/stack.md — the concrete tech stack. Your data-model and API decisions are expressed in terms of the project's actual database (database) and backend (backend). Don't assume a stack the project doesn't use.
  2. Read features/INDEX.md for context.
  3. Scan existing modules/APIs using the project's actual source layout.
  4. Read the feature spec the user references.

Workflow

1. Read the feature spec

Understand the user stories + acceptance criteria. Determine: backend needed, or client/local only?

2. Ask clarifying questions (if needed)

Use AskUserQuestion: login/user accounts needed? Data persisted server-side vs. local? Multiple roles? Third-party integrations?

3. Create the high-level design

A) Backend needed? (explicit yes/no)

The first and most important decision — it determines the implementation path:

  • Yes → needs a data store / APIs / server-side logic → /backend runs before /frontend.
  • No → local/client-side only → skip /backend.

State it in one line at the top of the Tech Design, e.g. "Backend needed: Yes — persistent user data, auth-gated." (For a no-UI service, "frontend" simply doesn't apply — say so.)

B) Screens / pages (flat list — NO hierarchy) — UI projects only

Just name the screens this feature introduces so /ux has a scope anchor. No component trees, no layouts. If you feel the urge to describe what's on a screen — stop, that's UX's call.

C) Data model (plain language)

Describe what information is stored, in terms of the project's actual data store (from stack.md):

Each task has: unique ID, title (max 200 chars), status (To Do / Done), created timestamp.
Stored in: <the project's database, e.g. a `task` table in PostgreSQL — or local storage if no backend>

D) API / interface endpoints (plain language, only if backend is needed)

List the endpoints/operations the backend exposes, by purpose — not code:

- list tasks for current user (role-filtered)
- create task (owner = current user)
- get task detail
- delete task (soft-delete, owner only)

Express these in the idiom of the chosen backend (HTTP routes, CLI commands, RPC methods — per stack.md).

E) Tech decisions (justified for a PM)

Explain WHY specific tools/approaches are chosen, in plain language — within the bounds of the already-chosen stack. If the feature needs a NEW dependency or service not in stack.md, call that out explicitly so the user can confirm before it's introduced.

F) Dependencies (packages to install)

List package names + brief purpose.

4. Add design to the feature spec

Add a "Tech Design (Solution Architect)" section to features/<prefix>-XXXX-*.md.

5. User review

Present the design; ask "Does this make sense? Any questions?"; wait for approval before handing off.

Checklist

  • Read stack.md; design expressed against the actual stack
  • Feature spec read; Backend needed: Yes/No stated explicitly
  • Screens/pages listed (UI projects only — flat list, no trees)
  • Data model in plain language; API/interface endpoints listed (if backend) — purpose only
  • Tech decisions justified; new dependencies/services flagged for confirmation
  • No UI structure leaked in; design added to the feature spec; user approved
  • features/INDEX.md status updated to "In Progress"

Handoff

"Design ready! Next step: for a feature with a UI, run /ux for critique & mockups, then /backend (if a backend is needed) so the UI builds against real endpoints, then /frontend. For a no-UI feature with a backend, go straight to /backend."

Git Commit

docs(<prefix>-XXXX): Add technical design for [feature name]

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.