agentleFS
aiFabricoComaiFabricoCom/fabrico-collections/.claude/skills/fabrico-architecture-designing/SKILL.md

fabrico-architecture-designing

Skill2 starsChanged 4 months agoMITView on GitHub

Design the architecture to solve a given task. Propose the solutions to be used to deliver the task following the best practices and standards.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 12 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the checklist below and track your progress:

    line 12
  2. Very specific:

    If the task or research file references PDF documents (technical specifications, API documentation, architecture documents, compliance …

    line 26
  3. Distinctive:

    Make sure to understand the project and domain best practices.

    line 30
  4. Distinctive:

    After getting a full picture of the codebase and the task, ask any remaining questions.

    line 33
  5. Distinctive:

    Don't continue until you get all of the answers.

    line 34
  6. Distinctive:

    Follow the best security and software design patterns.

    line 39
  7. Distinctive:

    Don't repeat yourself

    line 45
  8. Distinctive:

    Keep It Simple Stupid

    line 46
  9. Distinctive:

    Make sure to follow the best UI/UX patterns:

    line 54
  10. Distinctive:

    Make sure to follow security best practices like OWASP TOP10

    line 59
  11. Distinctive:

    Don't duplicate any work.

    line 63
  12. Very specific:

    Make sure to use fabrico-implementation-gap-analysing skill to verify what was already implemented from your plan and what should be added.

    line 65
  13. Distinctive:

    Don't provide deployment plans, code pushing instructions, code review instructions on repository.

    line 75
  14. Distinctive:

    Don't add or remove any sections from the template.

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
SKILL.md

Architecture Design

This skill helps you design the architecture that follows best practices and solves the actual business goal.

Architecture Design Process

Use the checklist below and track your progress:

Analysis progress:
- [ ] Step 1: Understand the goal of the task
- [ ] Step 2: Analyse the current codebase
- [ ] Step 3: Ask questions about ambiguous parts
- [ ] Step 4: Design a solution
- [ ] Step 5: Create an implementation plan document

Step 1: Understand the goal of the task Thoroughly process the conversation history and task *.research.md file to fully understand the business goal of the task.

If the task or research file references PDF documents (technical specifications, API documentation, architecture documents, compliance requirements), use the pdf-reader tool to extract and review their content.

Step 2: Analyse the current codebase Perform a current codebase analysis to get a full picture of a current system in a context of the task. Make sure to understand the project and domain best practices.

Step 3: Ask questions about ambiguous parts After getting a full picture of the codebase and the task, ask any remaining questions. Don't continue until you get all of the answers.

Step 4: Design a solution Based on your findings design a solution architecture.

Follow the best security and software design patterns.

Your goal is to design a solution that is not over-engineered and easy to comprehend by developers, that is at the same time scalable, secure and easy to maintain.

The example patterns you should check (but you are not limited to only use those):

  • Don't repeat yourself
  • Keep It Simple Stupid
  • Domain Driven Design
  • Test Driven Design
  • Modular Architecture / Hexagonal Architecture / Layered Architecture
  • Queue / Messaging systems
  • Single Responsibility
  • CQRS

Make sure to follow the best UI/UX patterns:

  • Atomic Design
  • Accessibility patterns (WCAG)

Make sure to follow security best practices like OWASP TOP10

The design has to meet quality assurance criteria, meaning it has to be fully tested using combination of e2e, unit and integration tests.

Don't duplicate any work.

Make sure to use fabrico-implementation-gap-analysing skill to verify what was already implemented from your plan and what should be added. Make sure to include the result in final plan.

Make sure to divide the plan into a small phases.Each phase should have a list of tasks with special place to mark the finished tasks later on. After phase is finished only the fast running tests and quality checks should be run to verify that the implementation is on the right track - unit tests, integration tests, static code analysis, linters, formatting check and project build.

The plan has to include code review phase at the end, fully done by the fabrico-code-reviewer subagent (.claude/agents/fabrico-code-reviewer.md) using the /fabrico-review command (.claude/commands/fabrico-review.md). Make sure to pass e2e execution to that subagent as a part of the prompt and do not run those tests by yourself.

For features with UI components based on Figma designs, each UI implementation task should be followed by a [REUSE] UI verification task delegated to the fabrico-ui-reviewer subagent (.claude/agents/fabrico-ui-reviewer.md) using the /fabrico-review-ui command (.claude/commands/fabrico-review-ui.md). Include the Figma URL in every verification task. Do not run UI verification from the software engineer level — let the engineering manager orchestrate the verify-fix loop.

For features involving LLM application prompts (system prompts, RAG templates, tool-calling instructions, classification/extraction prompts), add a [REUSE] prompt engineering task delegated to the fabrico-prompt-engineer subagent (.claude/agents/fabrico-prompt-engineer.md) using the /fabrico-engineer-prompt command (.claude/commands/fabrico-engineer-prompt.md). Separate prompt design from application code — the software engineer implements the integration code, the prompt engineer designs the prompt content. Include the use case, target model, and any existing prompt drafts in the task description.

Don't provide deployment plans, code pushing instructions, code review instructions on repository.

Step 5: Create a implementation plan document

Save the plan as a document following the ./plan.example.md template.

Don't add or remove any sections from the template. Follow the structure and naming conventions strictly to ensure clarity and consistency.

Connected Skills

  • fabrico-codebase-analysing - for analyzing the existing architecture, components, and patterns
  • fabrico-implementation-gap-analysing - for verifying what was already implemented and what should be added
  • fabrico-technical-context-discovering - for establishing project conventions and existing patterns before designing
  • fabrico-sql-and-database-understanding - for designing database schemas, data models, normalisation strategies, and indexing as part of the solution architecture

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.