CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

aif-docs

Generate and maintain project documentation. Creates a lean README as a landing page with detailed docs pages split by topic in the configured docs directory. Use when user says "create docs", "write documentation", "update docs", "generate readme", or "document project".

Quality

80%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./skills/aif-docs/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

73%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.

This is a well-engineered, highly actionable skill: state-based routing is explicit, templates are concrete, and validation is unusually thorough (mandatory checklist review, meaning-preservation gate, deferred deletions with verification). The main weaknesses are token efficiency — meta-policy sections and duplicated rules inflate a ~595-line body — and two defects in the HTML path (a missing template file and vague conversion instructions).

Suggestions

Compress the "Runtime-aware questions" and "Shared project skill-context" sections to a short set of bullets (or move them to a shared reference): they are ~30 lines of generic session policy unrelated to documentation generation.

Deduplicate repeated guidance: the navigation-header format appears in Core Principle 4, the Step 2.3 template, and the link-mapping examples; language-resolution rules appear in both Step 0 and Important Rule 4 — state each once and cross-reference.

Fix the HTML path's actionability: either add the missing `templates/html-template.html` to the bundle or inline a minimal template, and replace "parse markdown → convert to HTML elements" in Step 3.3 with a concrete converter command.

DimensionReasoningScore

Conciseness

Most of the body is dense, operative instruction (templates, tables, routing rules), but there is measurable slack: the "Runtime-aware questions" and "Shared project skill-context" sections (~30 lines of generic session policy unrelated to documentation), repeated language-resolution rules (Step 0 and Important Rule 4), and navigation-header formatting stated three times (Core Principle 4, Step 2.3 template, and the link-mapping examples). Not a 2 because the padding is interleaved with genuinely useful content rather than dominating; not a 4 because multiple sections could be tightened or deduplicated without losing meaning.

3 / 5

Actionability

The body provides a copy-ready README template, doc-page templates with concrete relative-link mappings, an exact file-consolidation table, verbatim AskUserQuestion prompts with options, and a `mkdir -p docs-html` command — mostly executable guidance. Gaps keep it below 5: Step 3.3 gives only pseudocode-like direction ("parse markdown → convert to HTML elements") with no concrete converter, and Step 3.2 points to `templates/html-template.html`, which does not exist in the bundle.

4 / 5

Workflow Clarity

The multi-state workflow (State A/B/C routing, explicit step sequencing per user choice) is clearly enumerated, and destructive/batch operations are well protected: Step 4 is a mandatory review against `references/REVIEW-CHECKLISTS.md` with an explicit PASS/FAIL meaning-preservation gate, a repair-and-repeat feedback loop, deferred deletion of moved originals until review confirms placement, and a pre-deletion content verification plus `git status` for recoverability. This matches the anchor for clear sequencing with explicit validation steps, feedback loops, and checklists; the only deduction-worthy wrinkle is duplicated sub-step numbering across the three Step 2 variants, which is navigable given the explicit routing.

5 / 5

Progressive Disclosure

The bundle is well matched to the body: both referenced files (`references/REVIEW-CHECKLISTS.md`, `references/WRITING-PROFILE.md`) exist and are clearly signaled at point of use, and the heavy detail (checklists, editorial profiles) is appropriately split out. Minor gaps: the writing-profile chain nests a second level (`WRITING-PROFILE.md` → `writing/SIMPLE-EN.md`), the body references a nonexistent `templates/html-template.html`, and ~595 lines of inline workflow/templates is on the long side for an overview file. Not a 3 because references are clearly signaled and the inline content is operative workflow rather than reference material that clearly belongs in separate files.

4 / 5

Total

16

/

20

Passed

Description

83%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.

The description is strong: it uses third-person voice, states a clear and concrete capability set, and closes with an explicit 'Use when' clause containing five natural trigger phrases. It answers both 'what' and 'when' completely. Minor room for improvement exists in covering more of the skill's capabilities (audit, consolidation, HTML output) and adding a few more trigger synonyms.

DimensionReasoningScore

Specificity

Concrete actions are named — "Generate and maintain project documentation", "Creates a lean README as a landing page with detailed docs pages split by topic in the configured docs directory" — matching the anchor for several specific actions with minor coverage gaps (e.g., auditing existing docs, HTML generation, and file consolidation are not mentioned). Not a 5 because the description omits several capabilities the skill actually performs, keeping coverage from being comprehensive.

4 / 5

Completeness

Both what ("Creates a lean README as a landing page with detailed docs pages split by topic in the configured docs directory") and when ("Use when user says 'create docs', 'write documentation', 'update docs', 'generate readme', or 'document project'") are explicitly and concretely answered, mirroring the score-5 anchor structure. Not a 4 because the 'when' clause is already fully explicit with concrete trigger phrases rather than merely adequate.

5 / 5

Trigger Term Quality

Five natural quoted trigger phrases are given — "create docs", "write documentation", "update docs", "generate readme", "document project" — which are phrases a user would plausibly say. A few natural variants are missing (e.g., "make a README", "improve the docs", "document this project"), so it falls short of the comprehensive-synonym coverage of a 5.

4 / 5

Distinctiveness Conflict Risk

The README-as-landing-page + docs-directory niche and its trigger phrases are mostly distinct from generic writing skills. Broad phrases like "write documentation" and "update docs" could overlap with closely related documentation skills (e.g., API-doc or comment-writing skills), which is minor but real overlap risk keeping it below a 5.

4 / 5

Total

17

/

20

Passed

Validation

75%

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

Validation — 12 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (607 lines); consider splitting into references/ and linking

Warning

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

relative_links

Relative link issues: 18 missing, 4 suspicious

Warning

Total

12

/

16

Passed

Repository

lee-to/ai-factory

Path

skills/aif-docs/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.