Skip to main content

fix-issue

Fix a GitHub issue with proper branch, testing, and PR workflow

来源信息

仓库
spiriMirror/libuipc
最近来源活动
2026年3月6日 07:13
检测到的 SKILL.md 语言
英语
星标
338
分支
70

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
fix-issue
description
Fix a GitHub issue with proper branch, testing, and PR workflow
disable-model-invocation
true
# Fix Issue ## 1. Identify the Issue If no issue number is provided, list and ask the developer to pick: ```bash gh issue list --repo spiriMirror/libuipc gh issue view <ISSUE_NUMBER> --repo spiriMirror/libuipc ``` **Note:** Always use `--repo spiriMirror/libuipc` to reference the upstream repository (works with forks). See [repository-setup.mdc](../rules/repository-setup.mdc) for details. Determine the issue type: bug fix, feature, performance, refactor, docs, or test improvement. ## 2. Create a Branch ```bash git checkout -b fix/issue-<ISSUE_NUMBER> ``` Use `feat/` prefix for features, `fix/` for bugs, `refactor/` for refactoring, etc. ## 3. Plan & Implement Switch to **plan mode**. Analyze the issue, identify root cause, then implement the fix. Build with the [build command](./build.md). ## 4. Test - Test binaries are in `<cmake-binary-directory>/<configuration>/bin/`. - Tests source code is in `apps/tests/`. - Run relevant tests to verify the fix. See [run-tests command](./run-tests.md). ### Adding New Tests Add new tests in `apps/tests/` when the bug isn't covered by existing tests. Rules: - Tests must be independent of each other. - Tests must cover the bug / feature. - **Do NOT modify existing tests** to make a fix pass. If a test itself is wrong, fix it separately and flag it to the developer for review. ## 5. Commit Use the [commit command](./commit.md) to format, commit, and push. ## 6. Review & PR Switch to **review mode**, review all changes, then create a PR via [github-pr.md](./github-pr.md).
在 GitHub 查看