commit-after-fix
Checkpoint a fix into a Git commit right after resolving an audit finding or debugging a bug.
Skill by nengoxx
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/nengoxx-commit-after-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: security
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/commit-after-fix
What's inside
- Skill name
commit-after-fix- Description
- Checkpoint a fix into a Git commit right after resolving an audit finding or debugging a bug. Use this when you have just fixed an issue raised in an audit (docs/audit/*.md, reports/audits/*.md, finding IDs like M1/L2) or root-caused and fixed a reported bug, and the change is verified and ready to record. Captures the symptom, root cause, fix, and audit/issue reference in the commit message, then commits and pushes the change.
- License
- MIT
- Instructions
- 116 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Commit After Fix Turn a just-completed bug fix or audit-finding resolution into one clean, traceable commit. The point is that each fix is recorded on its own, with a message that explains *what was broken and why the change is correct* — never swept into a vague "misc fixes" commit. Trigger this after you have either: - Resolved a finding from an audit (`docs/audit/*.md`, `reports/audits/*.md`, or an `Mx`/`Lx`-style finding ID), or - Root-caused and fixed a reported or observed bug. ## Workflow ### 1. Confirm the fix is real and scoped State it in one line to yourself: the **symptom**, the **root cause**, and the **fix**. If you can't, you haven't finished debugging — do that first. Then clean up the change: no leftover debug prints, commented-out code, or temporary instrumentation. Strip those before going further. ### 2. Verify before committing — do not skip Prefer adding or extending a regression test that fails before your fix and passes after it, then run it: ```powershell .\.venv\Scripts\python.exe -m pytest tests/<the_relevant_test>.py -q ``` For changes on the trading path (parser, execution, backtest, optimizer, routing, position management), also run the full suite: ```powershell .\.venv\Scripts\python.exe -m pytest tests -q ``` If verification is genuinely impossible or you chose to skip it, say so plainly in your final response. Never describe an unverified fix as validated. ### 3. Update the issue record, if one exists If the fix closes a tracked finding, mark it resolved in the audit document or in `TODO.md`, and stage that edit together with the code so the record and the fix land in the same commit. ### 4. Inspect and stage only this fix ```powershell git status --short git diff --stat ``` Stage just the files belonging to this fix (plus the audit/`TODO.md` edit from step 3). Leave unrelated local changes alone — never revert or discard them. Treat `.env`, session files, logs, and large caches as suspicious; do not stage them as part of a fix. ```powershell git add <files> ``` ### 5. Write a fix-focused commit message Conventional Commit style; the type is almost always `fix`. Reference the finding ID or issue in the subject when there is one, and use the body to record root cause and impact when they aren't obvious from the subject. ```text fix(parser): reject incidental two-number entry zones (audit M4) Bare-number entry fallback matched values like "valid 5 min" as an entry zone. Now requires same-magnitude numbers. Adds regression test. ``` Keep the subject specific and under ~72 characters. Commit non-interactively: ```powershell git commit -m "fix(scope): summary" ``` ### 6. Push safely ```powershell git push ``` If the branch has no upstream: ```powershell git push -u origin <branch> ``` Do not force-push. If the push is rejected because the branch is behind, stop and report it — do not auto-rebase or merge unless asked. ### 7. Report Run `git status --short` once more and report the commit hash, message, branch, push result, and any files intentionally left uncommitted. ## Rules - **One fix per commit.** Several independent findings or bugs get separate commits, so each can be reverted on its own. - **A fix never weakens a safety check.** Do not loosen validation, position-sizing caps, or `require_sl`/`require_tp` to make a test pass — that is hiding the bug, not fixing it. - **Don't commit secrets or noise** — no `.env`, sessions, logs, or large caches. - **If the fix is mid-flight** and the user hasn't asked you to commit, update `docs/AGENT_HANDOFF.md` instead of committing partial work. - **Don't bypass push protection.** If secret-scanning blocks the push, remove the secret from history with the user's approval — never force past it.
From nengoxx/ctrl-b, MIT.
More from nengoxx/ctrl-b
- 0.479score
cleanui
nengoxx
Prevents generic AI-generated UI patterns when building web apps, mobile apps, and websites.
SkillCFreshness: CClaude Code +9 - 0.474score
debug-rotation
nengoxx
Quota-gated loop that fixes the open findings already written in docs/audit/ reports — fix only, no auditing.
SkillCFreshness: CClaude Code +9 - 0.474score
audit
nengoxx
Systematically audit a codebase (or a scoped subsystem) for reliability, correctness, and design quality, then write a structured findings report to…
SkillCFreshness: CClaude Code +9 - 0.474score
coding-discipline
nengoxx
The default engineering loop for ANY coding work in this repo — wrap every implementation, feature, addition, fix, or refactor in it.
SkillCFreshness: CClaude Code +9 - 0.474score
audit-rotation
nengoxx
Run ONE quota-gated audit-and-fix cycle against the next subsystem in a rotation.
SkillCFreshness: CClaude Code +9 - 0.474score
claude-audit
nengoxx
Drive the Claude Code CLI (headless) to debug and fix a codebase by working through an existing audit report in docs/audit/.
SkillCFreshness: CClaude Code +9 - 0.474score
audit-only-rotation
nengoxx
Run ONE audit pass against the next subsystem in the rotation — audit only, no fixing.
SkillCFreshness: CClaude Code +9 - 0.471score
trading-safety-review
nengoxx
Review Telegram signal bot changes for trading-safety invariants before modifying or merging parsing, execution, backtesting, optimizer, routing, or…
SkillCFreshness: CClaude Code +9 - 0.471score
refactor-small-pass
nengoxx
Keep cleanup and refactor work surgical, behavior-preserving, testable, and easy to review in this Telegram signal bot project.
SkillCFreshness: CClaude Code +9 - 0.455score
mcp-builder
nengoxx
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillCFreshness: CClaude Code +9 - 0.455score
skill-creator
nengoxx
Create new skills, modify and improve existing skills, and measure skill performance.
SkillCFreshness: CClaude Code +9 - 0.451score
debug
nengoxx
This skill should be used when debugging frontend/UI bugs that need runtime evidence.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 27, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nengoxx/ctrl-b
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nengoxx
- 0.479score
cleanui
nengoxx
Prevents generic AI-generated UI patterns when building web apps, mobile apps, and websites.
SkillCFreshness: CClaude Code +9 - 0.474score
audit
nengoxx
Systematically audit a codebase (or a scoped subsystem) for reliability, correctness, and design quality, then write a structured findings report to…
SkillCFreshness: CClaude Code +9 - 0.474score
audit-only-rotation
nengoxx
Run ONE audit pass against the next subsystem in the rotation — audit only, no fixing.
SkillCFreshness: CClaude Code +9 - 0.474score
audit-rotation
nengoxx
Run ONE quota-gated audit-and-fix cycle against the next subsystem in a rotation.
SkillCFreshness: CClaude Code +9 - 0.474score
claude-audit
nengoxx
Drive the Claude Code CLI (headless) to debug and fix a codebase by working through an existing audit report in docs/audit/.
SkillCFreshness: CClaude Code +9 - 0.474score
coding-discipline
nengoxx
The default engineering loop for ANY coding work in this repo — wrap every implementation, feature, addition, fix, or refactor in it.
SkillCFreshness: CClaude Code +9
Cite this page
commit-after-fix skill. Agent Mart. https://agentmart.dev/skills/nengoxx-commit-after-fix (last updated 2026-10-24)