Borrowing it
Nothing to install: this file belongs to sumulige/sumulige-claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sumulige/sumulige-claude/main/.claude/skills/quick-fix/SKILL.mdgit clone --depth 1 https://github.com/sumulige/sumulige-claudeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sumulige/sumulige-claude/quick-fix)<a href="https://agentmods.dev/skills/sumulige/sumulige-claude/quick-fix"><img src="https://agentmods.dev/badge/skills/sumulige/sumulige-claude/quick-fix/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sumulige/sumulige-claude/quick-fix"><img src="https://agentmods.dev/badge/skills/sumulige/sumulige-claude/quick-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00820 |
| Opus 5.5 | $0.00000 | $0.00328 |
| Sonnet 5.5 | $0.00000 | $0.00164 |
| Haiku 4.5 | $0.00000 | $0.00082 |
Grade A, and why
quick-fix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Quick Fix
快速修复者 - 优化版 build-error-resolver
核心职责
快速修复常见的开发问题:
- 构建错误 - TypeScript 编译错误
- Lint 错误 - ESLint/Prettier 问题
- 类型错误 - 类型不匹配、缺少类型
设计理念
轻量 + 快速 + 最小变更
使用 haiku 模型,确保响应快速,成本低。
工作流程
1. 错误捕获
# 获取构建错误
npm run build 2>&1 | head -100
# 获取类型错误
npx tsc --noEmit 2>&1 | head -50
# 获取 lint 错误
npx eslint . --format json 2>&1 | head -100
2. 错误分类
| 类型 | 示例 | 处理策略 |
|---|---|---|
| 类型错误 | TS2345: Argument of type... |
添加类型断言或修复类型 |
| 导入错误 | Cannot find module... |
检查路径或安装依赖 |
| 语法错误 | Unexpected token... |
修复语法 |
| Lint 错误 | no-unused-vars |
删除或使用变量 |
3. 增量修复
原则:每次只修复一个错误
流程:
1. 读取第一个错误
2. 定位问题文件和行号
3. 应用最小修复
4. 重新编译验证
5. 如果仍有错误,重复步骤 1
常见修复模式
类型错误
// 错误: Type 'string | undefined' is not assignable to type 'string'
// 修复 1: 非空断言
const value = maybeString!
// 修复 2: 默认值
const value = maybeString ?? ''
// 修复 3: 类型守卫
if (maybeString) {
const value = maybeString
}
导入错误
// 错误: Cannot find module './utils'
// 检查 1: 文件是否存在
// 检查 2: 路径是否正确
// 检查 3: 扩展名是否需要
// 修复: 更正路径
import { helper } from './utils/helpers'
Lint 错误
// 错误: 'foo' is defined but never used
// 修复 1: 删除未使用的变量
// 修复 2: 如果需要保留,使用 _ 前缀
const _foo = unused
输出格式
# Quick Fix Report
## Errors Found: X
## Fixed: Y
## Remaining: Z
## Fixes Applied
| File | Line | Error | Fix |
|------|------|-------|-----|
| src/app.ts | 42 | TS2345 | Added type assertion |
| src/utils.ts | 15 | no-unused-vars | Removed unused import |
## Build Status
✅ SUCCESS / ❌ FAILED (X errors remaining)
使用方式
# 修复构建错误
/fix --build
# 修复 lint 错误
/fix --lint
# 修复类型错误
/fix --type
# 自动修复所有
/fix --all
限制
- 不处理复杂的架构问题
- 不重构代码
- 仅做最小必要的修改
- 如果错误过于复杂,建议使用
/plan先规划
原则:快速、最小、安全。不确定的修复不要做。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 139 lines · 0 tokens per session scan A c0c234f582b7
quick-fix is a skill published in the GitHub repository sumulige/sumulige-claude (1 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 820 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
quick-fix compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| quick-fixsumulige/sumulige-claude | Skill | 1 | 9mo ago | MIT | A | 0 | Claude Code |
| debug-device-over-vusbkobiton/automate | Skill | 14 | yesterday | MIT | A | 176 | Claude Code, Codex |
| structural-searchNicoGenti/opencode-orchestrator-kit | Skill | 11 | 3d ago | MIT | A | 38 | Claude Code, Codex |
| codex-buildalanshurafa/co-evolution | Skill | 4 | 2mo ago | MIT | A | 181 | Claude Code |
| co-evolutionalanshurafa/co-evolution | Skill | 4 | 2mo ago | MIT | A | 118 | Claude Code |
| dev-reviewalanshurafa/co-evolution | Skill | 4 | 2mo ago | MIT | B | 176 | Claude Code |
| build-debugNicoGenti/opencode-orchestrator-kit | Skill | 11 | 3d ago | MIT | C | 70 | Claude Code, Codex |