CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

doc-gen

Generates MVP+ level product documentation. Run when the user is explicitly planning a new product/service/application or asks for help with project structure. Do NOT run for questions about existing code, one-off tasks ("write a script", "fix a bug"), or learning exercises.

Quality

81%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

77%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable operating manual with an exemplary validate-then-commit workflow and concrete templates, commands, and edge-case handling. Its weaknesses are repetition of the same rules across sections and a monolithic body that inlines template and validator details a script already owns, inflating token cost without adding guidance value.

Suggestions

Move the mandatory VISION.md / SPEC.md / INDEX.md structure templates into a references/ file (e.g. references/templates.md) and keep only section-level rules inline, roughly halving SKILL.md's length.

Deduplicate rules stated 3-4 times across the Artifacts section, Step 2, Edge Cases, and Key constraints (artifact linking rules, '3_ARTIFACTS/ is not created automatically', 'validate + commit after every change') by stating each once in Key constraints.

Trim the Block 1/Block 2 validation-check catalog in Step 4 to a one-line summary — the script enforces these checks, so 'run validate and fix reported errors' plus the gating rule conveys the same workflow in far fewer tokens.

DimensionReasoningScore

Conciseness

The content is skill-specific rather than padded with concepts Claude already knows, but the same rules are restated several times — "Every artifact must be explicitly mentioned in at least one document" appears in both the Artifacts section and Key constraints, "3_ARTIFACTS/ is not created automatically" appears in Step 2, Key constraints, and an Edge Case, and lines like "A git repository is required. Without it, the change history is unavailable" state the obvious. This matches 'Mostly efficient but includes some unnecessary explanation or could be tightened'; it is above level 2 because nothing is generic filler.

3 / 5

Actionability

Guidance is copy-paste ready throughout: exact commands with flags ("python3 {DOC_GEN} generate \"ProjectName\" --only L1", "python3 {DOC_GEN} validate \"ProjectName\"", "update-status \"ProjectName\" \"in review\""), complete markdown templates for VISION.md/SPEC.md/INDEX.md, and concrete good/bad examples. This matches the fully executable level-5 anchor with common cases covered; the {DOC_GEN} substitution convention is explicitly defined.

5 / 5

Workflow Clarity

A strict six-step sequence with a mandatory validation gate — "The documentation is not considered ready until validation passes without errors" — an isolated re-check command (consistency), error-recovery guidance in the contradiction edge case with resolution priority, and a post-validation manual quality checklist. This matches the level-5 anchor of explicit validation steps with feedback loops; the batch/destructive cap does not apply since a validation loop is present.

5 / 5

Progressive Disclosure

The bundle is a single clearly-signaled script ("~/.config/opencode/skills/doc-gen/scripts/doc_gen.py", which exists and matches its documented usage), but the ~490-line SKILL.md inlines ~200 lines of document templates and a Block 1/Block 2 validation-check catalog that duplicates what the script already enforces — content that belongs in reference files. This fits 'Some structure but could be better organized... content that should be separate is inline'; it is above level 2 because section headers are clear and the script reference is not buried, but below level 4 because the body is far from an overview.

3 / 5

Total

16

/

20

Passed

Description

78%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A well-crafted description with a clear what, explicit multi-condition when-triggers, and unusually good negative boundary guidance. Its main weakness is thin capability specificity — it names the deliverable only at the highest level of abstraction.

DimensionReasoningScore

Specificity

The description names the domain and one concrete action — "Generates MVP+ level product documentation" — but does not enumerate the concrete outputs (VISION.md, SPEC.md, project folder structure), so it matches the anchor 'Names domain and 1-2 concrete actions, but not comprehensive' rather than the level-4 anchor requiring several specific actions.

3 / 5

Completeness

It explicitly answers both questions: what ("Generates MVP+ level product documentation") and when ("Run when the user is explicitly planning a new product/service/application or asks for help with project structure"), supplemented by an explicit do-not-run list — matching the anchor 'Clearly and explicitly answers both what AND when with concrete trigger phrases'. It exceeds level 4 because the when-clause is explicit and multi-triggered, not merely present.

5 / 5

Trigger Term Quality

Natural trigger phrases are present — "planning a new product/service/application", "asks for help with project structure", plus negative triggers like "write a script", "fix a bug" — giving good keyword coverage, though common user phrasings such as "build an app", "app idea", or "startup" are missing, keeping it below the comprehensive level-5 anchor.

4 / 5

Distinctiveness Conflict Risk

The explicit exclusion list ("Do NOT run for questions about existing code, one-off tasks... or learning exercises") draws sharp boundaries against coding and doc-editing skills, leaving only minor overlap risk with general planning/writing skills — 'Mostly distinct; minor overlap risk' rather than the fully distinct level-5 niche.

4 / 5

Total

16

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

uxname/kodu

Path

skills/doc-gen/SKILL.md

Reviewed

Table of Contents

Is this your skill?

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.