commit
免费Create a git commit following project conventions. Use when: commit, commit this, make a commit, commit changes, git commit, save changes, commit my work, stage and commit, detailed commit.
中文简介正在准备中。当前显示原文说明。
Bug hunter. Reproduces bugs with failing tests (RED), then fixes with TDD. Accepts a prompt, issue URL, or bug description. Use when: bugfix, fix bug, debug, broken, regression, failing, doesn't work, fix this.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Bug hunter. Reproduces the bug with a failing test, then fixes it with strict TDD. Focused and surgical.
/bugfix — asks what's broken/bugfix <prompt> — fix from description/bugfix <url> — fix from GitHub issue/bugfix <path> — fix from bug report fileNo arguments: Ask: "What's broken? Describe the bug, paste an issue URL, or point me to a report."
Wait for the user's response.
Prompt: Use as bug description.
URL: Fetch: gh issue view <number> --json title,body --jq '.title + "\n\n" + .body'
File path: Read the file.
Restate the bug:
My understanding: {what's broken, when it happens, expected vs actual behavior}
Is that right? Anything else I should know?
Wait. Confirm understanding before proceeding.
Explore the codebase to understand the area where the bug lives:
Report findings:
Here's what I found:
- Where it happens: {file(s), function(s), line(s)}
- Root cause hypothesis: {what I think is wrong and why}
- Existing test coverage: {what's tested, what's missing}
- Recent changes: {any suspicious recent commits, or "nothing recent"}
Does this match what you're seeing?
Wait. The user may have more context.
This is the most important phase. Do not skip. Do not rush.
Write a test that fails right now because of the bug. This test proves the bug exists.
Rules:
test "description of correct behavior that is currently broken"assert_receive with monitors for async assertions, never Process.sleepReproduction test:
{test_code}This proves: {what broken behavior it captures} Expected: {what should happen} Actual: {what happens now}
Write it?
Wait. The user may adjust the test.
Write the test. Run it. Confirm RED.
mix test test/path/to/test_file.exs:LINE
RED — {error message or assertion failure}
If the test passes unexpectedly: The test doesn't reproduce the bug. Investigate. Ask the user for help if stuck after 3 attempts.
Write the minimum code to make the failing test pass. No more.
Run tests. Confirm GREEN.
mix test test/path/to/test_file.exs:LINE
GREEN — Bug fix verified.
Run the full suite:
mix test
mix dialyzer
If other tests break: the fix introduced a regression. Adjust the fix.
Full suite: {pass/fail}. {details if any breakage}
Only if the fix is ugly or the area needs cleanup:
Stage only the changed files. Commit with:
fix(<scope>): <what was fixed>
No Co-Authored-By. No AI mentions.
If the input describes multiple bugs:
mix test && mix dialyzer还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Create a git commit following project conventions. Use when: commit, commit this, make a commit, commit changes, git commit, save changes, commit my work, stage and commit, detailed commit.
中文简介正在准备中。当前显示原文说明。
Elixir debugging workflow and tools. Use when: debug, debugging, pry, inspect, trace, why is this failing, what's wrong, investigate, diagnose.
中文简介正在准备中。当前显示原文说明。
Implementer - fetches a GitHub issue, builds an implementation plan, then implements using TDD. Use when: implement, build this, code this, add this feature, TDD, test first, red green refactor, pick a task, next task, dev.
中文简介正在准备中。当前显示原文说明。
Extract learnings from the current session and update memory/config. Use when: learn from this, what did we learn, update memory, session retrospective, extract patterns, save learnings.
中文简介正在准备中。当前显示原文说明。
Orchestrator - spawns an autonomous orchestrator agent that decomposes a task into subtasks and drives multiple Claude agents to completion. Use when: overmind, orchestrate, multi-agent, delegate, spawn agents, break down task, run agents.
中文简介正在准备中。当前显示原文说明。
TDD pair programming with mode switching. Claude can be driver (writes code) or navigator (watches, questions, provokes). Supports GitHub issues, file watching, or arbitrary prompts. Scientific TDD, baby steps, one test at a time. Trigger on: pair, let's pair, tdd, you drive, I'll drive, dojo.
中文简介正在准备中。当前显示原文说明。