Borrowing it
Nothing to install: this file belongs to zhangloveyan/backend-skill. 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/zhangloveyan/backend-skill/main/.claude/skills/proj-fix/SKILL.mdgit clone --depth 1 https://github.com/zhangloveyan/backend-skillWrote 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/zhangloveyan/backend-skill/proj-fix)<a href="https://agentmods.dev/skills/zhangloveyan/backend-skill/proj-fix"><img src="https://agentmods.dev/badge/skills/zhangloveyan/backend-skill/proj-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/zhangloveyan/backend-skill/proj-fix"><img src="https://agentmods.dev/badge/skills/zhangloveyan/backend-skill/proj-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.00029 | $0.00886 |
| Opus 5.5 | $0.00012 | $0.00354 |
| Sonnet 5.5 | $0.00006 | $0.00177 |
| Haiku 4.5 | $0.00003 | $0.00089 |
Grade A, and why
proj-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 2mo 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
Bug修复
触发词
- "有个 Bug"
- "报错了"
- "功能不正常"
- "修复一下"
执行流程
Step 0: 校验任务文档 → Step 1: 问题收集 → Step 2: 问题定位 → Step 3: 修复方案 → Step 4: 代码修复 → Step 5: 验证
Step 0: 校验任务文档
- 确认全流程任务文档存在
- 若缺失,先创建任务文档骨架并补齐流程状态与上下文快照
Step 1: 问题收集
## Bug 信息
**问题描述:** {用户描述的问题}
**复现步骤:** {如何复现}
**期望行为:** {正确的行为}
**实际行为:** {当前错误的行为}
**错误信息:** {报错日志}
同步更新任务文档(不写细节):
- 上下文快照记录“Bug修复中”与一句话问题摘要
- 流程状态总览标记“业务开发”为进行中
Step 2: 问题定位
常见错误类型:
| 错误类型 | 可能原因 | 排查方向 |
|---|---|---|
| NullPointerException | 空指针 | 检查对象是否为 null |
| SQLException | 数据库错误 | 检查 SQL、字段、连接 |
| BusinessException | 业务校验失败 | 检查业务逻辑 |
| 参数校验失败 | 入参不合法 | 检查 DTO 校验注解 |
| 404 | 接口不存在 | 检查路径、Controller |
| 500 | 服务器内部错误 | 查看详细日志 |
Step 3: 修复方案
## 修复方案
**修复方式:** {如何修复}
**修改文件:** {需要修改的文件}
**注意事项:** {风险点}
Step 4: 代码修复
修复原则:
- 最小改动原则 - 只改必要的代码
- 不要顺手重构 - 专注于修复 Bug
- 保持代码风格一致
Step 5: 验证
## 验证清单
- [ ] 问题是否已修复
- [ ] 原有功能是否正常
- [ ] 是否引入新问题
同步更新任务文档:
- 产物清单记录测试/验证结果路径
- 更新下一步指令
常见修复示例
空指针异常
// 修复前
public UserResponse getDetail(Long id) {
User user = this.getById(id);
return convertToResponse(user); // user 可能为 null
}
// 修复后
public UserResponse getDetail(Long id) {
User user = this.getById(id);
if (user == null) {
throw new BusinessException(ErrorCode.DATA_NOT_EXIST);
}
return convertToResponse(user);
}
Git 提交规范
fix: {简要描述问题}
- 问题原因:{原因}
- 修复方式:{方式}
注意事项
- 先定位后修复 - 不要盲目改代码
- 最小改动 - 只改必要的部分
- 充分测试 - 修复后要验证
- 记录问题 - 重要 Bug 记录到文档
- 举一反三 - 检查是否有类似问题
- 任务文档同步 - 全程维护流程状态、产物清单、上下文快照、下一步指令
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.
- 2mo ago First seen · 144 lines · 29 tokens per session scan A 545296db0194
proj-fix is a skill published in the GitHub repository zhangloveyan/backend-skill (103 stars, last pushed 23d ago), licensed MIT. It adds 29 tokens to every session and 886 once invoked, about $0.0001 per session on Opus 5.5. 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-30.
proj-fix compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| proj-fixzhangloveyan/backend-skill | Skill | 103 | 23d ago | MIT | A | 29 | Claude Code |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | yesterday | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | 3d ago | MIT | A | 71 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 319 | yesterday | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| incident-response-incident-responsermyndharis/antigravity-skills | Skill | 1.9k | 23d ago | MIT | A | 36 | Claude Code |
| triaging-web-analytics-supportPostHog/posthog | Skill | 41k | yesterday | none | A | 151 | Claude Code, Codex |