Generate comprehensive C4 architecture documentation for an existing repository/codebase using a bottom-up analysis approach.
53
42%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/c4-architecture-c4-architecture/SKILL.mdQuality
Discovery
57%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
The description identifies a clear and distinctive niche (C4 architecture documentation) but lacks explicit trigger guidance ('Use when...') and could benefit from listing more specific concrete actions and natural trigger terms. It is functional but not optimally discoverable among many skills.
Suggestions
Add an explicit 'Use when...' clause, e.g., 'Use when the user asks for architecture diagrams, C4 models, system documentation, or wants to visualize the structure of a codebase.'
List more specific concrete actions such as 'Generates context, container, and component diagrams in PlantUML/Mermaid format, analyzes code structure, identifies system boundaries and dependencies.'
Include additional natural trigger terms like 'architecture diagram', 'C4 model', 'system overview', 'container diagram', 'component diagram' to improve keyword coverage.
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | It names the domain (C4 architecture documentation) and a key action (generate documentation using bottom-up analysis), but doesn't list multiple specific concrete actions like what outputs are produced (context diagrams, container diagrams, component diagrams) or what analysis steps are performed. | 2 / 3 |
Completeness | The 'what' is reasonably clear (generate C4 architecture documentation via bottom-up analysis), but there is no explicit 'Use when...' clause or equivalent trigger guidance telling Claude when to select this skill. | 2 / 3 |
Trigger Term Quality | Includes relevant terms like 'C4 architecture', 'documentation', 'repository', 'codebase', but misses common user variations like 'architecture diagram', 'system diagram', 'C4 model', 'container diagram', 'component diagram', or '.puml'. | 2 / 3 |
Distinctiveness Conflict Risk | The combination of 'C4 architecture documentation' and 'bottom-up analysis approach' for an existing codebase is quite distinctive and unlikely to conflict with other skills, as C4 is a specific architectural documentation framework. | 3 / 3 |
Total | 9 / 12 Passed |
Implementation
27%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
This skill is a comprehensive but excessively verbose specification for C4 architecture documentation generation. Its main strength is the clear four-phase bottom-up workflow structure, but it suffers from significant bloat—explaining concepts Claude already knows, including generic boilerplate sections, and inlining massive prompt templates that should be in separate files. The lack of validation checkpoints between phases and the broken reference to a non-existent bundle file further weaken it.
Suggestions
Drastically reduce verbosity by removing the 'Extended thinking' block, generic 'Use this skill when/Do not use' boilerplate, and explanations of well-known concepts (C4 model basics, what OpenAPI is, what Mermaid diagrams are). Focus only on what's unique to this workflow.
Add explicit validation checkpoints between phases (e.g., 'Verify all c4-code-*.md files exist before proceeding to Phase 2') and error recovery steps for when subagent tasks fail.
Move the detailed subagent prompt templates into separate bundle files (e.g., prompts/c4-code-prompt.md, prompts/c4-component-prompt.md) and reference them from the main skill, or provide the referenced 'resources/implementation-playbook.md' file.
Add a concrete, minimal end-to-end example showing actual tool invocations with real syntax rather than template placeholders.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | Extremely verbose at ~300+ lines. Contains extensive boilerplate Claude already knows (what C4 model is, how to sanitize filenames, what OpenAPI specs are). The 'Extended thinking' block, generic 'Use this skill when/Do not use' sections, and repeated structural templates bloat the content significantly. The detailed prompt templates for each subagent could be drastically condensed. | 1 / 3 |
Actionability | Provides structured steps and prompt templates for subagents, which gives concrete guidance. However, the prompts are templates with placeholders rather than executable code, there are no actual code examples, and the 'Configuration Options' section lists options without showing how to set them. The Task tool usage pattern is described but not with complete executable syntax. | 2 / 3 |
Workflow Clarity | The four-phase workflow is clearly sequenced (Code → Component → Container → Context) with a logical bottom-up approach. However, there are no validation checkpoints between phases—no step to verify Phase 1 completeness before starting Phase 2, no error recovery if a subagent fails, and no feedback loops for fixing issues in generated documentation. The success criteria checklist at the end is post-hoc rather than integrated into the workflow. | 2 / 3 |
Progressive Disclosure | The skill references 'resources/implementation-playbook.md' but no bundle files are provided, making this a broken reference. All content is monolithically inlined in a single massive file—the detailed prompt templates for each phase could easily be split into separate reference files. The output structure section helps but doesn't compensate for the wall-of-text problem. | 1 / 3 |
Total | 6 / 12 Passed |
Validation
90%Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.
Validation — 10 / 11 Passed
Validation for skill structure
| Criteria | Description | Result |
|---|---|---|
frontmatter_unknown_keys | Unknown frontmatter key(s) found; consider removing or moving to metadata | Warning |
Total | 10 / 11 Passed | |
1930a07
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.