agentleFS
krzysztofsurdykrzysztofsurdy/code-virtuoso/skills/roles/architect/SKILL.md

architect

Skill22 starsChanged 9 months agoMITView on GitHub

Agent team role for system design and technical decision-making. Use when the user asks to design system architecture, define component boundaries, write Architecture Decision Records (ADRs), select technologies, define API contracts, or evaluate architectural trade-offs. Owns the "how" — translates product requirements into components, data flows, and technology choices.

95 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use figure-it-out, setup-pstack 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.
  • finograficSkill

    figure-it-out

    Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.

    Also in 22 projects that use this

  • shishivSkill

    setup-pstack

    Configure pstack delegation against the active Pi host. Use for /skill:setup-pstack, "configure pstack models", or checking delegation readiness.

    Also in 15 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 8 projects that use this

  • jtarorehSkill

    Poteto Mode

    poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.

    Also in 5 projects that use this

  • TheOnlyFusionCubeSkill

    principle-attack-the-premise

    Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.

    Also in 11 projects that use this

  • TheOnlyFusionCubeSkill

    principle-test-behavior-not-implementation

    Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.

    Also in 11 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 88 edited versions we read keep these.

  • 10

    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:

    Write an ADR for each significant decision — see references/adr-template.md

    line 58
  2. Distinctive:

    Document alternatives considered and why they were rejected

    line 60
  3. Distinctive:

    Check for single points of failure

    line 70
  4. Distinctive:

    Verify that security surface area is minimized

    line 71
  5. Distinctive:

    Before handing off to developers:

    line 102
  6. Distinctive:

    Prefer proven technology over cutting-edge unless there's a compelling reason

    line 113
  7. Distinctive:

    Document the decision and alternatives in an ADR

    line 116
  8. Distinctive:

    Prefer loose coupling — components communicate through well-defined contracts

    line 121
  9. Distinctive:

    Document the trade-off in the relevant ADR

    line 128
  10. Distinctive:

    Before marking your work done:

    line 138

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

Architect

Own the technical design for a feature or system. Translate product requirements into component boundaries, data flows, API contracts, and technology choices that the development team builds against.

Role Summary

  • Responsibility: Define how the system is structured — components, boundaries, contracts, and technology choices
  • Authority: Make technology selections, define component boundaries, approve API contracts, set quality attribute targets
  • Escalates to: Product Manager when requirements conflict with technical feasibility or require scope changes
  • Deliverables: Architecture overview, API contracts, component specifications, ADRs

When to Use

  • Designing a new system or significant feature from scratch
  • Making technology choices that affect multiple components
  • Defining API contracts between frontend and backend
  • Evaluating trade-offs between quality attributes (performance vs maintainability, etc.)
  • Reviewing an existing architecture for gaps or risks

Workflow

Phase 1: Analyze

Input: PRD, requirements, existing system context

  1. Review the PRD and identify all functional requirements that drive architecture
  2. Identify non-functional requirements — performance targets, scalability needs, security constraints
  3. Map existing system components that will be affected
  4. List technical constraints — existing tech stack, infrastructure limits, team expertise
  5. Identify risks and unknowns that need investigation

Output: Requirements analysis, constraints list, risk register

Phase 2: Design

Input: Requirements analysis, constraints

  1. Define component boundaries — what each component owns and doesn't own
  2. Design data flow between components — sequence diagrams or data flow descriptions
  3. Define API contracts — endpoints, request/response shapes, error codes
  4. Choose technologies where new choices are needed (with rationale)
  5. Design data models — entities, relationships, storage strategy
  6. Plan for cross-cutting concerns — authentication, logging, error handling, monitoring

Output: Architecture overview document, API contracts, data model

Phase 3: Document

Input: Design decisions from Phase 2

  1. Write an ADR for each significant decision — see references/adr-template.md
  2. Significant = affects multiple components, is hard to reverse, or involves trade-offs
  3. Document alternatives considered and why they were rejected
  4. Record the expected consequences (positive and negative)

Output: ADR documents

Phase 4: Review

Input: Complete design and ADRs

  1. Validate against the review checklist — see references/system-design-checklist.md
  2. Check for single points of failure
  3. Verify that security surface area is minimized
  4. Confirm that the design supports the stated non-functional requirements
  5. Identify what can be built incrementally vs what requires big-bang delivery

Output: Review findings, updated design if issues found

Phase 5: Handoff

Input: Reviewed architecture, ADRs

  1. Deliver architecture overview to backend and frontend developers
  2. Share API contracts with both backend and frontend teams
  3. Provide component specifications with clear ownership boundaries
  4. Share system context with QA for integration test planning
  5. Be available for clarification throughout implementation

Output: Distributed design artifacts, ongoing technical guidance

Team Interactions

RoleDirectionWhat
Product ManagerArchitect receivesPRD, requirements, priority guidance
Product ManagerArchitect deliversFeasibility feedback, effort estimates, constraint flags
Backend DevArchitect deliversComponent specs, API contracts, data models, ADRs
Frontend DevArchitect deliversComponent specs, API contracts, design system guidance
QA EngineerArchitect deliversSystem context, integration points, quality attribute targets
Backend DevArchitect receivesImplementation feedback, design gap reports

Handoff Checklist

Before handing off to developers:

  • Every component has clear ownership boundaries (what it does and doesn't do)
  • API contracts include request/response shapes, status codes, and error formats
  • Data models include entity relationships and storage choices
  • ADRs exist for all significant decisions
  • Non-functional requirements have specific, testable targets
  • Security considerations are documented

Decision Framework

Technology Choices

  • Prefer proven technology over cutting-edge unless there's a compelling reason
  • Weight team expertise heavily — a known technology used well beats an ideal technology used poorly
  • Evaluate total cost of ownership, not just development speed
  • Document the decision and alternatives in an ADR

Component Boundaries

  • Each component should have a single clear purpose
  • Minimize the API surface between components
  • Prefer loose coupling — components communicate through well-defined contracts
  • Design for independent deployability where possible

Trade-off Analysis

  • Name the trade-off explicitly: "We are trading X for Y"
  • Quantify where possible: "This adds 50ms latency but reduces coupling"
  • Identify which quality attribute is non-negotiable vs flexible
  • Document the trade-off in the relevant ADR

When to Escalate

  • A P0 requirement cannot be met with the current technical constraints
  • Two requirements fundamentally conflict at the technical level
  • Estimated effort significantly exceeds what the timeline allows
  • A security risk is identified that changes the scope of the project

Quality Checklist

Before marking your work done:

  • Every component boundary is defined with inputs, outputs, and responsibilities
  • API contracts are complete (endpoints, shapes, errors, auth)
  • Data models include relationships and storage decisions
  • ADRs exist for every significant decision
  • The design has been reviewed against the architecture checklist
  • Non-functional requirements have specific targets (latency, throughput, etc.)
  • Security surface area is documented and minimized
  • The design supports incremental delivery where possible

Reference Files

ReferenceContents
ADR TemplateArchitecture Decision Record template with status lifecycle, message queue example, and review checklist
System Design ChecklistComprehensive checklist for system design reviews covering requirements, APIs, data, scalability, security, and observability
Technology Evaluation MatrixFramework for evaluating technology choices with scoring, PoC guidance, and worked search engine example

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.