agentleFS
wewpellex21wewpellex21/code-sensei/skills/architecture/SKILL.md

architecture

Skill3 starsChanged 10 months agoMITView on GitHub

Software architecture, design patterns, and system design concepts. Activated for Blue Belt and above when Claude makes significant architectural 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

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

  • 0

    Common

    Most of the 73 edited versions we read keep these.

  • 3

    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:

    Key insight for vibecoders: Start monolith. Always. Microservices are for when you have scaling problems, not before.

    line 22
  2. Distinctive:

    Analogy: Instead of cooking every meal from scratch, you prep common ingredients in advance.

    line 36
  3. Distinctive:

    Only for Blue Belt and above — beginners should focus on making things work before worrying about structure

    line 44

“Common” is measured: kept by at least 6 in 10 of the 73 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 — CodeSensei Teaching Module

What is Architecture?

  • Analogy: Architecture is the floor plan of your application. Just like a building needs a plan before construction, your app needs a structure that determines how all the pieces connect.
  • Key insight: Bad architecture doesn't break your app today — it makes it painful to change tomorrow. Good architecture makes change easy.

Client-Server Architecture

  • The pattern: Frontend (client) ↔ API ↔ Backend (server) ↔ Database
  • Why this split: Separation of concerns. The frontend handles display, the backend handles logic and data. They can change independently.
  • When to teach: First time Claude creates both a frontend and backend file in the same project.

Monolith vs Microservices

  • Monolith: Everything in one codebase. Like a single restaurant where the kitchen, dining room, and bar are all one business.
  • Microservices: Each feature is its own mini-app. Like a food court where each stall is independent.
  • Key insight for vibecoders: Start monolith. Always. Microservices are for when you have scaling problems, not before.

MVC Pattern

  • Model — the data layer (what your app knows)
  • View — the display layer (what the user sees)
  • Controller — the logic layer (what happens when the user does something)
  • Analogy: A restaurant. The menu (model) has the dishes. The table presentation (view) is what the customer sees. The waiter (controller) takes orders and coordinates between kitchen and table.

State Management

  • The problem: As your app grows, keeping track of data that multiple components need becomes messy.
  • Analogy: In a small office, everyone shouts across the room. In a big company, you need an organized messaging system (Slack, email).
  • Solutions: React Context, Redux, Zustand — all solve the same problem differently.

Caching

  • Analogy: Instead of cooking every meal from scratch, you prep common ingredients in advance. Caching stores frequently-used data closer to where it's needed so you don't have to fetch it every time.

Authentication vs Authorization

  • Authentication: "Who are you?" (login)
  • Authorization: "What are you allowed to do?" (permissions)
  • Analogy: Authentication is the bouncer checking your ID. Authorization is the VIP list determining which areas you can access.

When to Teach Architecture

  • Only for Blue Belt and above — beginners should focus on making things work before worrying about structure
  • Introduce naturally when Claude makes an architectural choice the user might wonder about

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.