bug-fix
Activate before creating, modifying, or deleting any production code file.
Skill by ceilidhboy
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ceilidhboy-bug-fix
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, writing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/bug-fix
What's inside
- Skill name
bug-fix- Description
- Activate before creating, modifying, or deleting any production code file. Whether the task is a bug fix, feature, refactor, rename, or improvement — any write to production code requires a failing test first. The trigger is any write-mode action on production code, not the reason for it.
- License
- MIT
- Instructions
- 46 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Bug Fix — Red-Green, No Exceptions A bug report means our tests are incomplete. The bug is a gap in test coverage, not just a gap in production code. Fix the test first; the production fix follows. ## Hard gate **Do not write or modify production code until a failing test exists and is confirmed failing.** This is non-negotiable. If you catch yourself reaching for a production file, stop and ask: "Do I have a failing test yet?" ## Step 1 — Expose the bug (red) 1. **Run the existing test suite.** If a test already fails and matches the reported bug, step 1 is done — the test already exposes the gap. Move to step 2. 2. **If all tests pass**, write a new test that reproduces the bug: - Place it in the appropriate test file, next to related tests. - Use the simplest setup that triggers the failure. - The test must assert the *correct* behaviour (what the user expects), so it fails against the *current* (broken) code. 3. **Run the test and confirm it fails.** Show the failure output. This is proof that the test catches the bug. Do not proceed until you see red. ## Step 2 — Fix the bug (green) 1. Modify production code to make the failing test pass. 2. Run the full test suite — all tests must be green. 3. If your fix breaks other tests, investigate: either the fix is wrong, or the other tests were relying on the buggy behaviour (update them too, with justification). ## What not to do - Do not fix the bug and then write a test that passes. That test proves nothing — it would have passed before the fix too. - Do not skip step 1 because "the fix is obvious." Obvious fixes still need a guard against regression. - Do not batch multiple bug fixes into one step-1/step-2 cycle. Each bug gets its own failing test, its own fix. Isolation is the point. ## Example flow ``` User: "Tiles overlap when I drag them." Agent: 1. Run tests → all green. No existing test covers drag overlap. 2. Write test: "drag into obstacle → actual position must not overlap obstacle." 3. Run test → FAILS (red). Bug confirmed. 4. Fix production code. 5. Run test → PASSES (green). 6. Run full suite → all green. ```
From ceilidhboy/skills, MIT.
More from ceilidhboy/skills
- 0.561score
routing-and-controllers
ceilidhboy
Creating or editing a controller, or adding or editing a route in this project.
SkillAFreshness: AClaude Code +9 - 0.561score
action-pattern
ceilidhboy
Creating and using action classes to encapsulate business logic.
SkillAFreshness: AClaude Code +9 - 0.555score
pr-review
ceilidhboy
Review a GitHub pull request by orchestrating reviewer + oracle sub-agents directly from the orchestrating session, consolidating their findings into a single…
SkillAFreshness: AClaude Code +9 - 0.529score
project-bootstrap
ceilidhboy
Use when setting up a new Laravel + Inertia + React project, onboarding a new project to company standards, or told to "apply company tooling" or "standardise…
SkillBFreshness: BClaude Code +9 - 0.529score
pest-testing-conventions
ceilidhboy
Pest 4 testing conventions, workflows, and troubleshooting for Laravel projects.
SkillBFreshness: BClaude Code +9 - 0.529score
formatting-enforcement
ceilidhboy
Retrofit formatting enforcement onto an existing Laravel project that has accumulated drift (badly formatted code committed under an always-green lint CI) or…
SkillBFreshness: BClaude Code +9 - 0.525score
html-output
ceilidhboy
HTML output generator for output that would benefit from being presented in a visually rich document.
SkillBFreshness: BClaude Code +9 - 0.524score
serena-conventions
ceilidhboy
Use when navigating code with Serena tools — finding symbols, reading method bodies, inserting code, or deciding between Serena and context-mode for code tasks.
SkillBFreshness: BClaude Code +9 - 0.524score
github-cli-workarounds
ceilidhboy
Workarounds for shell escaping issues when using the GitHub CLI (`gh`) for creating issues, gists, and pull requests with content containing special…
SkillBFreshness: BClaude Code +9 - 0.520score
adr-creation
ceilidhboy
Creates and maintains dual-format ADRs — Markdown (source of truth for agents) and HTML (rich explainer for humans with diagrams).
SkillBFreshness: BClaude Code +9 - 0.474score
settings-system
ceilidhboy
Multi-tenant polymorphic settings system with agency-scoped records and global fallback chain.
SkillCFreshness: CClaude Code +9 - 0.474score
creating-pull-requests
ceilidhboy
Company pull request workflow and branch policy.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 16, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ceilidhboy/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ceilidhboy
- 0.561score
action-pattern
ceilidhboy
Creating and using action classes to encapsulate business logic.
SkillAFreshness: AClaude Code +9 - 0.561score
routing-and-controllers
ceilidhboy
Creating or editing a controller, or adding or editing a route in this project.
SkillAFreshness: AClaude Code +9 - 0.555score
pr-review
ceilidhboy
Review a GitHub pull request by orchestrating reviewer + oracle sub-agents directly from the orchestrating session, consolidating their findings into a single…
SkillAFreshness: AClaude Code +9 - 0.529score
pest-testing-conventions
ceilidhboy
Pest 4 testing conventions, workflows, and troubleshooting for Laravel projects.
SkillBFreshness: BClaude Code +9 - 0.529score
formatting-enforcement
ceilidhboy
Retrofit formatting enforcement onto an existing Laravel project that has accumulated drift (badly formatted code committed under an always-green lint CI) or…
SkillBFreshness: BClaude Code +9 - 0.529score
project-bootstrap
ceilidhboy
Use when setting up a new Laravel + Inertia + React project, onboarding a new project to company standards, or told to "apply company tooling" or "standardise…
SkillBFreshness: BClaude Code +9
Cite this page
bug-fix skill. Agent Mart. https://agentmart.dev/skills/ceilidhboy-bug-fix (last updated 2026-10-24)