backend-skill: Skill for Claude Code

.claude/skills/proj-fix/SKILL.md

proj-fix is a skill for Claude Code from zhangloveyan/backend-skill. It costs 29 tokens per session (886 once invoked), scanned A, original, MIT.

A guide for finding and fixing software bugs through a shortened troubleshooting process. A bug is an error that makes a program behave incorrectly.

In plain words
What is it for?
Use it when a feature behaves incorrectly or a bug is found in a testing or production environment.
Why use it?
It helps developers move from a reported problem to a correction more quickly.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is zhangloveyan/backend-skill's own configuration. It tells Claude Code how to work on backend-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything backend-skill configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/zhangloveyan/backend-skill/main/.claude/skills/proj-fix/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/zhangloveyan/backend-skill

Made for: Claude Code.

Wrote 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.

agentmods badge for proj-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhangloveyan/backend-skill/proj-fix/github.svg)](https://agentmods.dev/skills/zhangloveyan/backend-skill/proj-fix)
Your own site
<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.

agentmods 80×15 button for proj-fix

Your own site · 80×15
<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>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 886 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash 545296db0194, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.claude/skills/proj-fix/SKILL.md · 144 lines

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: {简要描述问题}

- 问题原因:{原因}
- 修复方式:{方式}

注意事项

  1. 先定位后修复 - 不要盲目改代码
  2. 最小改动 - 只改必要的部分
  3. 充分测试 - 修复后要验证
  4. 记录问题 - 重要 Bug 记录到文档
  5. 举一反三 - 检查是否有类似问题
  6. 任务文档同步 - 全程维护流程状态、产物清单、上下文快照、下一步指令
Changes

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.

  1. 2mo ago First seen · 144 lines · 29 tokens per session scan A 545296db0194

Subscribe to this mod's changes

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.

Related

proj-fix compared with skills from other repositories

proj-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
proj-fixzhangloveyan/backend-skillSkill10323d agoMITA29Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41kyesterdaynoneA151Claude Code, Codex