Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
A universal "Skill" package that teaches any AI Coding Agent how to act as an expert Software Architect using the C4 model and Architecture Decision Records (ADRs).
AI Coding agents are exceptionally good at writing code, but they often struggle to design and document software architectures consistently. This repository provides universal, agent-agnostic "Skills" (sets of strict rules, workflows, and checklists) that teach your AI assistant how to act as an expert Software Architect.
By using these skills, your agent will automatically generate beautiful, easy-to-read C4 Diagrams (the "what") directly from your codebase, and systematically document why certain decisions were made using standard Architecture Decision Records (ADRs).
Here's an example of the kind of Mermaid C4 diagrams your agent will generate directly in your IDE:
C4Container
title Container diagram for Internet Banking System
Person(customer, "Banking Customer", "A customer of the bank.")
System_Boundary(banking, "Internet Banking System") {
Container(spa, "Single-Page App", "React", "Provides all banking functionality.")
Container(api, "API Application", "Node.js", "Provides banking functionality via API.")
ContainerDb(db, "Database", "PostgreSQL", "Stores user data.")
}
Rel(customer, spa, "Views account balances and makes payments using", "HTTPS")
Rel(spa, api, "Makes API calls to", "JSON/HTTPS")
Rel(api, db, "Reads from and writes to", "JDBC")
The SKILL.md format is highly portable. Here is how major agents support it:
| Feature | GitHub Copilot | Claude Code | Cursor | Devin | Windsurf |
|---|---|---|---|---|---|
| Auto-discovers SKILL.md | ✅ | ✅ | ⚠️ via .cursorrules | ✅ | ⚠️ via AGENTS.md |
| Reads linked .md files | ✅ | ✅ | ✅ | ✅ | ✅ |
| Generates Mermaid C4 | ✅ | ✅ | ✅ | ✅ | ✅ |
| Writes to Filesystem | ✅ | ✅ | ✅ | ✅ | ✅ |
This repository contains two complementary skills. You can install one or both depending on your needs.
c4designer (The "What")The agent becomes a C4 model expert, using Mermaid syntax to generate interactive diagrams.
Example Prompt: "Act as the C4 Designer. I have an existing codebase located in
src/api. Please retro-document this system and generate a Level 2 Container Diagram."
adr-scribe (The "Why")While C4 documents what the system is, ADRs document why it was built that way. This skill enforces the standard Michael Nygard MADR template.
Example Prompt: "Act as the adr-scribe. We just decided to switch from MongoDB to PostgreSQL for our new API. Please interview me to draft a new Architecture Decision Record."
Major AI agents support dropping a SKILL.md into a specific directory inside your project.
To install, copy the desired folder (c4designer or adr-scribe) from this repository into the correct location for your agent.
GitHub Copilot discovers custom skills via the .github/skills/ directory.
c4-skills@dev-stack is listed by miguelrumbo/dev-stack — review the source before installing
npx claudepluginhub miguelrumbo/dev-stack --plugin c4-skillsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground