quick-fix
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 9
- Forks
- 1
03 SKILL.md 正文
/quick-fix — Minimal Context Fix Skill
Trigger
User says: "quick-fix", "just fix", "small fix", "one-liner", "typo", "quick change"
Purpose
Make small targeted fixes WITHOUT exploring the codebase. Minimize tool calls and context usage.
Rules — STRICT
- MAX 3 tool calls total — grep to find, read the section, edit. Done.
- NEVER read entire files — use grep to find the exact line, then read only 20 lines around it
- NEVER explore — no Glob, no directory listings, no "let me understand the codebase"
- NEVER re-read after editing — trust the edit worked
- NEVER explain what you're about to do — just do it
- NEVER echo back the code you wrote
- One response max — fix it and confirm in under 50 words
Pattern
1. grep -n "search_term" file.ext → find line number
2. Read file (offset=LINE-10, limit=20) → see context
3. Edit (old_string → new_string) → make the fix
4. "Fixed [what] on line [N]." → done
Anti-patterns (NEVER do these for quick fixes)
- "Let me first understand the codebase structure..."
- "I'll read the file to understand the context..."
- "Let me check if there are any other places..."
- Running builds or tests (unless user asks)
- Reading package.json, tsconfig, or config files
04 同仓库更多 Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
docs:write-concisely
Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.
kaizen:why
Iterative Five Whys root cause analysis drilling from symptoms to fundamentals
verification-loop
A comprehensive verification system for Claude Code sessions.
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always