Agent skill · writing content · aiskillstore

c4-code

Expert C4 Code-level documentation specialist. Analyzes code

Why this skill is useful

Provides detailed templates and best practices for generating C4 code-level documentation that the AI wouldn't reliably generate on its own.

What it needs

About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

C4 Code Level: [Directory Name] Use this skill when Working on c4 code level: [directory name] tasks or workflows Needing guidance, best practices, or checklists for c4 code level: [directory name] Do not use this skill when The task is unrelated to c4 code level: [directory name] You need a different domain or tool outside this scope Instructions Clarify goals, constraints, and required inputs. Apply relevant best practices and validate outcomes. Provide actionable steps and verification. If detailed examples are required, open resources/implementation-playbook.md. Overview Name: [Descriptive name for this code directory] Description: [Short description of what this code does] Location: [Link to actual directory path] Language: [Primary programming language(s)] Purpose: [What this code accomplishes] Code Elements Functions/Methods functionName(param1: Type, param2: Type): ReturnType Description: [What this function does] Location: [file path:line number] Dependencies: [what this function depends on] Classes/Modules ClassName Description: [What this class does] Location: [file path] Methods: [list of methods] Dependencies: [what this class depends on] Dependencies Internal Dependencies [List of internal code dependencies] External Dependencies [List of external libraries, frameworks, services] Relationships Optional Mermaid diagrams for complex code structures. Choose the diagram type based on the programming paradigm. Code diagrams show the internal structure of a single component. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/c4-code

View the source on GitHub

Browse the @skills marketplace