CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

fix-incident

Fix a production failure whose cause /knackpack:debug-incident confirmed in ROOT-CAUSE.md, once that diagnosis is approved: it refuses, changing nothing, when the file is missing or isn't CONFIRMED, when it isn't committed or differs from its committed text with KNACKPACK_DOCS=repo set, or when it doesn't match the approved hash a tool passed, and otherwise asks the person to approve the exact text. Then it makes the smallest change that removes the confirmed cause, keeps the reproduction as a regression test, reruns it and the relevant tests, reports each as PASS, FAIL, NOT RUN, BLOCKED or SKIPPED, and assesses rollback. It doesn't commit or push the fix. Start it only on request, as /knackpack:fix-incident. Not for diagnosing (debug-incident), the incident review (incident-review), a bug with no incident diagnosis, which Claude fixes directly, or reviewing the fix (knackpack's reviewers).

Quality

94%

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

96%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 tight, procedural body that sequences approval checks, minimal fix, verification, rollback assessment and handover with concrete commands, explicit refusal rules, and defined failure handling. It is self-contained and appropriately placed in a single file; the only structural headroom is that the body runs slightly long against the simple-skill case, and a small amount of the verification/reporting detail could live in a reference if the skill grows.

DimensionReasoningScore

Conciseness

The body explains nothing Claude already knows; every clause adds a rule, a disambiguation, or a precedence decision ("Never edit ROOT-CAUSE.md, not even a typo"; "the script wins; say why it refused"; "any branch name will do, since debug-incident creates `incident-<task>` only when it needs one"), and brief rationale clauses ("a fix written against other code isn't the fix that was diagnosed") directly constrain behavior rather than pad.

5 / 5

Actionability

Guidance is executable end to end: the exact command `sh "${CLAUDE_PLUGIN_ROOT}/scripts/incident-check.sh" <path>`, a decision procedure for each of its three outputs (refused/ask/approved), an exact verification table with its headers, a defined five-value status vocabulary, and a concrete handover checklist; the common cases (each script outcome, reproduction still failing, wrong HEAD, out-of-code changes) are each covered.

5 / 5

Workflow Clarity

Five numbered phases are clearly sequenced with explicit validation gates — the approval script, the reproduction hash check, the HEAD revision check — plus feedback loops for error recovery ("When the reproduction still fails, the fix isn't done"; "If the only way to pass changes what the reproduction checks... stop and say so") and a handover checklist, matching the top anchor for a risky-change workflow.

5 / 5

Progressive Disclosure

Numbered sections are well organized, the content is self-contained with no nested references, and the one external pointer (the plugin script via CLAUDE_PLUGIN_ROOT) is clearly signaled; however the ~60-line body sits above the under-50-line simple-skill case and there are no reference files to split into, so it fits "good structure; most content appropriately placed; minor organization gaps" rather than a clear 5.

4 / 5

Total

19

/

20

Passed

Description

92%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 dense, third-person description that fully specifies what the skill does, exactly when to start it, and what it must not be used for, including refusal conditions and reporting vocabulary. Its only weakness is trigger-term breadth: a few natural synonyms (outage, hotfix) are absent. Both what and when are explicit with concrete positive and negative triggers.

DimensionReasoningScore

Specificity

Enumerates many concrete actions in third person — "refuses, changing nothing", "makes the smallest change that removes the confirmed cause", "keeps the reproduction as a regression test", "reports each as PASS, FAIL, NOT RUN, BLOCKED or SKIPPED, and assesses rollback", "doesn't commit or push" — covering refuse conditions, the fix, verification, reporting, rollback and handover comprehensively, matching the top anchor rather than the "minor gaps" of 4.

5 / 5

Completeness

Both halves are explicit: the "what" is the full refuse/fix/verify/report/rollback behavior, and the "when" is stated as "Start it only on request, as /knackpack:fix-incident" plus a concrete "Not for" exclusion list — clearly above anchor 4's looser "when".

5 / 5

Trigger Term Quality

Natural phrases a user would say are present — "Fix a production failure", "incident", "diagnosis", "regression test", "rollback" — but common synonyms such as "outage", "hotfix" or "production issue" are missing, which fits "good keyword coverage; a few natural terms missing" rather than the comprehensive synonym coverage of 5.

4 / 5

Distinctiveness Conflict Risk

It carves a clear niche — fixing only an incident whose approved ROOT-CAUSE.md diagnosis exists — and explicitly distinguishes debug-incident, incident-review, plain bugs Claude fixes directly, and knackpack's reviewers, so wrong-skill triggering risk is minimal.

5 / 5

Total

19

/

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

bezmoradi/knackpack

Path

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