Proj Fix logo

Proj Fix

Community
zhangloveyan
proj-fix

快速定位和修复Bug,简化流程。用于线上/测试环境发现Bug、功能异常需要修复。

Overview

Publisherzhangloveyan
Repositorybackend-skill
Skill nameproj-fix
Stars
102
Forks
31
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by zhangloveyan on GitHub. Read the source before you install it.

Installation

Install the Proj Fix AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/zhangloveyan/backend-skill/tree/main/.claude/skills/proj-fix
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zhangloveyan/backend-skill.git /tmp/backend-skill
mkdir -p .claude/skills
cp -r /tmp/backend-skill/.claude/skills/proj-fix .claude/skills/proj-fix
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Proj Fix in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Proj Fix on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Proj Fix is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Bug修复

触发词

  • "有个 Bug"
  • "报错了"
  • "功能不正常"
  • "修复一下"

执行流程

Step 0: 校验任务文档 → Step 1: 问题收集 → Step 2: 问题定位 → Step 3: 修复方案 → Step 4: 代码修复 → Step 5: 验证

Step 0: 校验任务文档

  • 确认全流程任务文档存在
  • 若缺失,先创建任务文档骨架并补齐流程状态与上下文快照

Step 1: 问题收集

markdown
## Bug 信息

**问题描述:** {用户描述的问题}
**复现步骤:** {如何复现}
**期望行为:** {正确的行为}
**实际行为:** {当前错误的行为}
**错误信息:** {报错日志}

同步更新任务文档(不写细节):

  • 上下文快照记录“Bug修复中”与一句话问题摘要
  • 流程状态总览标记“业务开发”为进行中

Step 2: 问题定位

常见错误类型:

错误类型可能原因排查方向
NullPointerException空指针检查对象是否为 null
SQLException数据库错误检查 SQL、字段、连接
BusinessException业务校验失败检查业务逻辑
参数校验失败入参不合法检查 DTO 校验注解
404接口不存在检查路径、Controller
500服务器内部错误查看详细日志

Step 3: 修复方案

markdown
## 修复方案

**修复方式:** {如何修复}
**修改文件:** {需要修改的文件}
**注意事项:** {风险点}

Step 4: 代码修复

修复原则:

  • 最小改动原则 - 只改必要的代码
  • 不要顺手重构 - 专注于修复 Bug
  • 保持代码风格一致

Step 5: 验证

markdown
## 验证清单

- [ ] 问题是否已修复
- [ ] 原有功能是否正常
- [ ] 是否引入新问题

同步更新任务文档:

  • 产物清单记录测试/验证结果路径
  • 更新下一步指令

常见修复示例

空指针异常

java
// 修复前
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. 任务文档同步 - 全程维护流程状态、产物清单、上下文快照、下一步指令

Frequently asked questions

What does the Proj Fix AI skill do?

快速定位和修复Bug,简化流程。用于线上/测试环境发现Bug、功能异常需要修复。

Why use Proj Fix on TypingMind?

Because you install it once and use it with any model. Proj Fix is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Proj Fix in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/zhangloveyan/backend-skill/tree/main/.claude/skills/proj-fix. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Proj Fix?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Proj Fix?

As many as you like. As long as a model supports skills, you can use Proj Fix with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Proj Fix AI skill free?

Yes. It is published on GitHub by zhangloveyan under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇