Code Fix Checklist

VerifiedSafe

This skill provides a structured checklist to prevent symptom-driven fixes by identifying root cause before writing code. It guides you to read design docs, trace execution flow, and apply minimal changes. Use it when fixing bugs or modifying implementation to avoid introducing new issues.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude Code
#root-cause-analysis#code-fixing#debugging#symptom-prevention

Recommended for

Automated summary

This skill guides root cause analysis before modifying code, preventing symptom-driven fixes.

Strengths

  • Encourages a methodical and structured approach
  • Reduces superficial fixes and regressions
  • Promotes understanding of design and flows

Limitations

  • Can slow down the fix process when the issue is obvious
  • Requires existing design documentation
  • Not suitable for emergency production hotfixes
When to use it

Use this skill before any code modification to resolve a bug or error.

When not to use it

Avoid it for trivial fixes (typo, constant change) or when a quick solution is imperative.

Security analysis

Safe
Quality score85/100

The skill only uses Read, Glob, Grep tools—no execution of code, network, or destructive actions. It provides a methodological checklist for root-cause analysis, with no risk of malicious or unintended operations.

No concerns found

How this analysis is made

Examples

Bug fix in auth module
I need to fix the login error that shows 'Invalid credentials' for valid users.
Test failure root cause
The unit test for the payment service is failing. Help me find the root cause.
Japanese prompt example
このバリデーションエラーを修正してください。

name: fix-checklist description: Use when about to fix code, modify implementation, or address errors. MUST read before saying "修正します", "fix", "修正する", "直す", "対処する". Prevents symptom-driven fixes. allowed-tools: [Read, Glob, Grep]

症状駆動の修正を防ぐため、コード変更前に根本原因を特定する。

手順

  1. コードを書くな — まず「なぜこのエラーが起きるか」を問う
  2. 設計を読む — docs/ やスキーマから意図された動作を理解する
  3. フローを追う — トリガー → 期待状態 → 乖離点を特定する
  4. 根本原因を特定 — エラー箇所と原因箇所は異なることが多い
  5. 最小限の修正 — 根本原因に対してのみ変更する

| エラー箇所 | 根本原因の典型 | |-----------|--------------| | 実行時バリデーション | スキーマ定義 | | 型不一致 | インターフェース契約 | | テスト失敗 | 実装ロジック |

Bad: 「X が Y にないので Y に X を追加」→ なぜ X が生成されるか未調査 Good: 「なぜ X が生成される?設計上 X は不正 → 生成元を修正」

調査出力

複雑な問題は tmp/investigation/<issue>/ に mermaid図で構造化する(overview.md, trace.md, root-cause.md)。1ファイル500行以内。

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/code-fix-checklist-mm8o5258/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/code-fix-checklist-mm8o5258' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/code-fix-checklist-mm8o5258/download' --output '.skill-downloads/code-fix-checklist-mm8o5258/SKILL.md.part' && mv '.skill-downloads/code-fix-checklist-mm8o5258/SKILL.md.part' '.skill-downloads/code-fix-checklist-mm8o5258/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/code-fix-checklist-mm8o5258/SKILL.md' && test -s '.skill-downloads/code-fix-checklist-mm8o5258/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/fix-checklist' && cp -R '.skill-downloads/code-fix-checklist-mm8o5258' '.claude/skills/fix-checklist'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/code-fix-checklist-mm8o5258'

openskills read 'code-fix-checklist-mm8o5258'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/code-fix-checklist-mm8o5258/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills