CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

aif-fix

Fix a bug or problem. Supports fix-now or plan-first; no args executes FIX_PLAN.md. When a regression check is needed, reproduce first, then implement and rerun it. Adds logging and suggests extra coverage.

Quality

72%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/aif-fix/SKILL.md
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.

This is a well-engineered workflow skill: the canonical regression-first policy provides explicit validation and error-recovery loops, commands and API payloads are copy-paste concrete, and the eight reference files are all real, one level deep, and conditionally loaded per a stated policy. Its main weakness is token weight — the same boundaries and rules are restated three times across workflow sections, the Important Rules list, and the DO NOT list, and the runtime/skill-context contract sections run long.

Suggestions

Collapse the triple restatement of the same rules (workflow sections, "Important Rules", and the trailing "DO NOT" list) into a single authoritative checklist, since the body already states "Do not duplicate or weaken this policy in later workflow sections".

Tighten the "Runtime-aware questions" and "Shared project skill-context" contract sections to their operative rules; much of their phrasing reads as reusable boilerplate that could live in a shared reference or the global skill-context file.

DimensionReasoningScore

Conciseness

The body is operational rather than educational — it never explains concepts Claude already knows — but it is ~310 lines with notable redundancy: the Canonical Regression-First Policy rules, plan-deletion rules, and mode boundaries are each restated across the workflow sections, the "Important Rules" list, and the closing "DO NOT" list. This fits anchor 3 (mostly efficient, could be tightened) better than anchor 4, where only minor instances of over-explanation would remain.

3 / 5

Actionability

The guidance is largely executable: exact commands (`printenv HANDOFF_MODE || true`, `rm .ai-factory/FIX_PLAN.md`), an exact MCP call payload with field names, precise parsing regexes, a concrete hashing pipeline, and a deterministic patch-selection procedure (lexical sort, last 10). It is not anchor 5 because several core steps ("Apply the smallest fix addressing the root cause", regression-check design) remain directive prose whose concrete details are deferred to references rather than shown inline.

4 / 5

Workflow Clarity

The sequence is explicit (Step 0 pre → 0 → 0.1 → 0.2 → 1 → 1.1 → 2 → 2.5 → 4 → 5) with built-in validation checkpoints and feedback loops: the regression check must fail pre-fix and pass post-fix, with detailed fallback and reproduction-mismatch recovery paths, plus a rules checklist for the complex Handoff/mode matrix. The only knock is inconsistent step numbering (no "Step 3" header; Step 5 labeled "Coverage and completion"), which is cosmetic and does not obscure the order — not enough to drop to anchor 4, which requires missing or merely implicit checkpoints.

5 / 5

Progressive Disclosure

All 8 reference files cited in the body (FIX-PLAN, FIX-INVESTIGATION, FIX-IMPLEMENTATION, FIX-COMPLETION, FIX-LOGGING, FIX-EXAMPLES, FIX-OUTPUT, FIX-PATCH) exist in the bundle, and each is loaded conditionally with an explicit trigger ("only when plan-first is selected", "only when a worked example is needed", "only when the resolved patch policy is enabled"). References are one level deep with a single sibling cross-link (FIX-PATCH → FIX-EXAMPLES), and a dedicated "Selective reference loading" section forbids preloading — matching the anchor-5 pattern of a clear overview with well-signaled, one-level-deep references.

5 / 5

Total

17

/

20

Passed

Description

55%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 communicates a concrete, multi-mode bug-fixing workflow with a distinctive regression-first policy, but it lacks any explicit "when to use" trigger guidance and omits the natural vocabulary (error, crash, failing test) users would actually say. This weakens both completeness and trigger discoverability. The generic opening also creates overlap risk with general debugging assistance.

Suggestions

Add an explicit trigger clause, e.g. "Use when the user reports a bug, error, crash, failing test, or unexpected behavior, or asks to fix or repair something in the codebase."

Include natural user-spoken synonyms and artifacts in the description — "error message", "stack trace", "broken", "failing test", "regression" — rather than only workflow-internal terms like "fix-now" and "plan-first".

Sharpen distinctiveness by scoping what this skill does that adjacent skills do not, e.g. distinguishing targeted bug repair with regression verification from feature implementation or refactoring workflows.

DimensionReasoningScore

Specificity

The description names several concrete actions — "Supports fix-now or plan-first", "no args executes FIX_PLAN.md", "reproduce first, then implement and rerun it", "Adds logging and suggests extra coverage" — which go beyond naming the domain. It falls short of anchor 5 because the actions are workflow-level rather than a comprehensive, fine-grained capability list, and the opening "Fix a bug or problem" stays generic.

4 / 5

Completeness

The "what" is clear (fixes bugs via fix-now/plan-first modes with regression-first verification, logging, and coverage suggestions), but there is no "Use when..." clause or equivalent explicit trigger guidance, capping completeness at 3 per the judging guidelines. It is above anchor 2 because the "what" is concrete and multi-part, not vague.

3 / 5

Trigger Term Quality

It contains some relevant keywords a user might say ("Fix a bug", "problem", "regression check") but misses common natural variations such as "error", "crash", "broken", "failing test", or "stack trace". Not anchor 4 because the natural-phrase coverage is thin — the phrasing is workflow-internal ("fix-now", "plan-first") rather than user-spoken.

3 / 5

Distinctiveness Conflict Risk

"Fix a bug or problem" is a broad trigger space that overlaps with general coding/debugging assistance and sibling skills in a fix/implement/verify suite. The mode mechanics and FIX_PLAN.md execution give it some specificity, keeping it above anchor 2, but it could still fire for the wrong skill in many phrasings.

3 / 5

Total

13

/

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

frontmatter_unknown_keys

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

Warning

Total

15

/

16

Passed

Repository

lee-to/ai-factory

Path

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