CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

aif-improve

Refine an existing implementation plan with a second iteration. Re-analyzes the codebase for gaps, missing tasks, and wrong dependencies. Use after /aif-plan or to improve an /aif-fix plan. Optional +check flag validates refinements via a fresh-context subagent.

Quality

85%

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

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

An exceptionally actionable and well-validated workflow skill: every step has concrete commands, exact parsing rules, integrity gates, and feedback loops, with mode-specific procedures correctly deferred to real reference files. Its main weakness is token efficiency — several critical rules (Original Request preservation, language policy, ultra-marker validation, hash normalization) are repeated verbatim across multiple sections.

Suggestions

State each invariant rule once in a single 'Invariants' section and reference it from the workflow steps instead of repeating it — the ## Original Request preservation rule appears ~4 times and the language-rendering policy is restated before every template block.

Describe the SHA-256 drift-normalization algorithm once (Step 2.2) and have Step 6.5 cite it rather than re-specifying it; likewise collapse the repeated 'exactly one <!-- aif:plan-mode:ultra -->' checks into one shared validation rule.

Move the 'Runtime-aware questions' contract and the extended language-policy paragraphs into a reference file (like LIST-MODE/CHECK-MODE) to cut the main body closer to the core refinement workflow.

DimensionReasoningScore

Conciseness

The body is dense operational rules rather than explanations of known concepts, but key rules are restated many times: "## Original Request" preservation appears ~4 times (e.g., "Preserve its heading and body exactly as read" in Step 0, again in 2.1, 6.5, and rule 9), the ultra-marker "exactly one" check ~6 times, and the SHA-256 normalization algorithm twice. This fits anchor 3 (mostly efficient, could be tightened) rather than 2, since the length is procedural substance, not padding.

3 / 5

Actionability

Guidance is fully executable: exact commands ("git branch --show-current"), exact parse regexes ("^(?:Source|Reference):\s+\x60([^\x60]+)\x60\s+\("), exact glob patterns, a concrete hash pipeline ("shasum -a 256 or sha256sum... through stdin"), and worked report examples citing real paths like "src/middleware/auth.ts". This matches anchor 5 (copy-paste ready, specific examples cover the common cases).

5 / 5

Workflow Clarity

Steps 0–6 are clearly sequenced with explicit validation checkpoints: STOP conditions when no plan is found, ultra-marker and research-drift SHA-256 integrity gates, the meaning-preservation gate with a repair-and-retry loop ("On failure, restore or repair the affected rewrite and repeat the comparison before saving"), the +check fresh-context subagent pass, and user-approval gates before any destructive plan edit. This matches anchor 5 (explicit validation steps, feedback loops, checklists).

5 / 5

Progressive Disclosure

All four referenced files (references/CHECK-MODE.md, EXAMPLES.md, LIST-MODE.md, VALIDATOR.md) exist and are clearly signaled with purpose ("That document is the single source of truth for the discovery rules... Do not duplicate its content here"), mostly one level deep. However, the 587-line body still inlines policy blocks (runtime-aware questions, the extended language policy) that belong in a reference, and CHECK-MODE.md chains to VALIDATOR.md, so anchor 4 (good structure, minor gaps) fits better than 5.

4 / 5

Total

17

/

20

Passed

Description

87%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 strong description: third-person voice, concrete capabilities, and an explicit "Use after..." trigger clause tied to the skill's ecosystem. The only weakness is slightly incomplete action coverage (task-quality enhancement and dependency fixing are not named as outputs).

DimensionReasoningScore

Specificity

"Re-analyzes the codebase for gaps, missing tasks, and wrong dependencies" and "validates refinements via a fresh-context subagent" name several concrete actions, but coverage has minor gaps — task-quality enhancement is absent and dependency fixing is only implied. This matches anchor 4 (several specific actions, minor gaps) rather than 5 (comprehensive coverage).

4 / 5

Completeness

Both parts are explicit: the what ("Refine an existing implementation plan... Re-analyzes the codebase for gaps, missing tasks, and wrong dependencies") and the when with concrete trigger phrases ("Use after /aif-plan or to improve an /aif-fix plan"). This clearly matches the anchor-5 example structure.

5 / 5

Trigger Term Quality

Natural terms are present — "refine", "improve", "implementation plan" — plus explicit ecosystem triggers "Use after /aif-plan or to improve an /aif-fix plan". A few natural variations (e.g., "review my plan", "find gaps in the plan") are missing, so anchor 4 fits better than 3 (only some relevant keywords) or 5 (comprehensive synonyms).

4 / 5

Distinctiveness Conflict Risk

The description carves a clear niche — second-iteration refinement of plans produced by its own command suite — and its triggers (/aif-plan, /aif-fix) are distinct from sibling skills, so conflict risk is minimal (anchor 5), not merely "mostly distinct" (anchor 4).

5 / 5

Total

18

/

20

Passed

Validation

81%

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

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (593 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

Total

13

/

16

Passed

Repository

lee-to/ai-factory

Path

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