Architecture
π₯ Teach yourself coding in real-time using your own projects with this free, open-source Claude Code plugin for active learning.
npx -y skills add wewpellex21/code-sensei --skill architectureAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Software architecture, design patterns, and system design concepts. Activated for Blue Belt and above when Claude makes significant architectural decisions.
SKILL.md
2.8 KB, 559 tokens by cl100k_base, as published. Nobody here has run it
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
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most architecture codebase skills give in 559 tokens
Counted across 811 of the 1,134 authors here whose files we hold, read 2026-08-07
- Ask the user which candidate to explorein 45 of 811, across 15 files
- Apply the deletion test to suspected shallow modulesin 43 of 811, across 15 files
- Read any relevant architecture decision records firstin 31 of 811, across 8 files
- Use exact glossary terms in every suggestionin 30 of 811, across 10 files
- Accept dependencies instead of creating themin 24 of 811, across 5 files
- Include before and after visualisations for each candidatein 24 of 811, across 5 files
- Read the domain glossary before exploringin 24 of 811, across 6 files
- Return results instead of producing side effectsin 23 of 811, across 4 files
- Explore the codebase for shallow modules and frictionin 23 of 811, across 3 files
- Introduce seams only where things varyin 22 of 811, across 3 files
- Reduce the number of methodsin 21 of 811, across 2 files
- Design deep modules with small interfacesin 21 of 811, across 3 files
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.