plugins/kronen/skills/c4-architecture/SKILL.md
Generate C4 model architecture documentation with Mermaid diagrams at four levels: system context, container, component, and deployment. Use when documenting how systems interact at different abstraction levels, creating stakeholder-appropriate architecture views, or mapping deployment topology. For general-purpose diagrams (flowcharts, sequence, ERD, class), use mermaid-diagrams instead.
npx skillsauth add hjemmesidekongen/ai c4-architectureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate architecture documentation using the C4 model with Mermaid diagrams. The C4 model (Context, Containers, Components, Code) provides four hierarchical levels of abstraction for communicating software architecture to different audiences.
docs/architecture/ with narrative| Level | Diagram type | Audience | Shows | |-------|-------------|----------|-------| | 1 | System Context | Everyone | System + users + external systems | | 2 | Container | Dev team + ops | Applications, databases, APIs within the system | | 3 | Component | Developers | Internal modules/services within a container | | 4 | Deployment | Ops + infra | Infrastructure nodes and container placement | | -- | Dynamic | Anyone | Request flows through the system over time |
Context + Container (levels 1-2) are sufficient for most teams. Only go deeper when the audience needs it.
references/process.mdreferences/c4-syntax.mddevelopment
Creates a brand from scratch through market research and interactive sparring. Runs competitive research via Perplexity, then guides the user through positioning, audience, voice, values, and content pillars. Produces the full brand guideline set at .ai/brand/{name}/. Use when building a new brand, defining brand strategy for a product, or when /våbenskjold:create is invoked.
testing
Loads brand guidelines from .ai/brand/{name}/ and makes them available to the current context. Progressive disclosure: L1 confirms brand exists, L2 loads summary, L3 loads specific files on demand. Use when a downstream skill or user needs brand context, or when /våbenskjold:apply is invoked.
documentation
Guided reinvention of an existing brand guideline. Loads current brand from .ai/brand/{name}/, identifies what to keep vs change, and walks the user through targeted evolution. Preserves brand equity while updating positioning, voice, or values. Use when refreshing a brand or when /våbenskjold:evolve is invoked.
development
Codifies an existing brand from materials, samples, and references. Analyzes provided content to extract voice patterns, values, and positioning. Produces the same guideline format as brand-strategy. Use when a brand already exists but isn't documented, or when /våbenskjold:audit is invoked.