bugfix
4
总安装量
2
周安装量
#52144
全站排名
安装命令
npx skills add https://github.com/ds-codi/project-memory-mcp --skill bugfix
Agent 安装分布
amp
2
gemini-cli
2
github-copilot
2
codex
2
kimi-cli
2
cursor
2
Skill 文档
Bugfix Bot
Use this skill to run an automatic fix workflow from one command like /bugfix "npm test fails in vscode-extension".
Behavior
When invoked, run this sequence:
-
Capture bug context
- Extract symptom, failing command, and scope from arguments
- If missing details, infer from recent terminal/test outputs
-
Start a Project Memory plan
- Register workspace via
memory_workspace(action: "register") - Create a
bug/debugplan with explicit success criteria (repro fixed + tests passing) - Store input context via
memory_context(action: "store_initial")
- Register workspace via
-
Orchestrate fix loop
Researcher(optional): gather failure context and likely root causesRevisionist: create minimal remediation stepsExecutor: apply targeted fixes onlyReviewer: build-check + code reviewTester: run focused tests then broader suite as needed- Repeat
Revisionist â Executor â Reviewer â Testeruntil pass
-
Guardrails
- Do not broaden scope beyond failing area without explicit rationale
- Do not silently ignore failing tests
- Keep terminal surface contracts correct (
memory_terminalvsmemory_terminal_interactive) - Prefer registered build/test scripts when available
-
Completion criteria
- Reproduction no longer fails
- Relevant tests/build pass
- Plan has no blocked active steps
- Plan archived with fix summary and artifacts
Output Format
Return a concise bugfix report:
- Root cause
- Fix summary
- Commands/tests run
- Final status (pass/fail)
- Any remaining risks
Example Invocations
/bugfix "npx mocha out/suite/replay-harness-core.test.js fails"/bugfix "interactive-terminal cargo test fails after cxxqt refactor" interactive-terminal