Skills for Real Engineers. Straight from my .agents directory.
c4-architecture
Agent skill fromsoftaworks/agent-toolkit
Generate architecture documentation using C4 model Mermaid diagrams. Use when asked to create architecture diagrams, document system architecture, visualize software structure, create C4 diagrams, or generate context/container/component/deployment diagrams. Triggers include "architecture diagram", "C4 diagram", "system context", "container diagram", "component diagram", "deployment diagram", "document architecture", "visualize architecture".
How to install c4-architecture
npx skills add softaworks/agent-toolkit# or add only this skill to Claude Code: copy the folder
skills/c4-architecture/
# into
~/.claude/skills/c4-architecture/ (all projects)
.claude/skills/c4-architecture/ (one project)
1# C4 Architecture Documentation23Generate software architecture documentation using C4 model diagrams in Mermaid syntax.45## Workflow671. **Understand scope** - Determine which C4 level(s) are needed based on audience82. **Analyze codebase** - Explore the system to identify components, containers, and relationships93. **Generate diagrams** - Create Mermaid C4 diagrams at appropriate abstraction levels104. **Document** - Write diagrams to markdown files with explanatory context1112## C4 Diagram Levels1314Select the appropriate level based on the documentation need:1516| Level | Diagram Type | Audience | Shows | When to Create |17|-------|-------------|----------|-------|----------------|18| 1 | **C4Context** | Everyone | System + external actors | Always (required) |19| 2 | **C4Container** | Technical | Apps, databases, services | Always (required) |20| 3 | **C4Component** | Developers | Internal components | Only if adds value |21| 4 | **C4Deployment** | DevOps | Infrastructure nodes | For production systems |22| - | **C4Dynamic** | Technical | Request flows (numbered) | For complex workflows |2324**Key Insight:** "Context + Container diagrams are sufficient for most software development teams." Only create Component/Code diagrams when they genuinely add value.2526## Quick Start Examples2728### System Context (Level 1)29```mermaid30C4Context31 title System Context - Workout Tracker3233 Person(user, "User", "Tracks workouts and exercises")34…
Excerpt shown under the repository's MIT license.
More skills in agent-toolkit
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
