Oneshot Fix is a development Claude Skill built by David. Best for: Developers fix small, clearly-defined bugs (typos, simple config changes, single-file edits) with automatic verification and minimal diff..
Apply surgical quick fixes to small bugs using max 5 tool calls with zero exploration—read, diagnose, fix, verify.
Version: 1.1.0 | Author: Shadows Company | License: MIT
No specific binaries required. The verification step (Phase 4) auto-detects available tools:
python — Used for python -m py_compile {file} syntax check on .py files. Detected via which python or which python3.npx — Used for npx tsc --noEmit {file} type check on .ts files. Detected via which npx.pytest / jest / vitest — Used for running a targeted test if a test file is specified. Detected via standard tool resolution.If no compiler or test runner is available for the target file type, the verification step is skipped gracefully and the agent reports that manual verification is recommended.
Read the target file. If user specified a line number, use offset/limit to read only the relevant section.
In your head:
Apply the fix using Edit tool. Change ONLY the broken part.
Rules for the fix:
Run the appropriate check based on file type:
# Python — syntax check
python -m py_compile {file}
# TypeScript — type check (suppress non-critical output)
npx tsc --noEmit {file} 2>/dev/null
# Run specific test if applicable
python -m pytest {test_file} -x -q 2>/dev/null
If no verification tool is available, report: "No compiler/test runner detected for this file type. Manual verification recommended."
python -m py_compile, npx tsc --noEmit) or test run (pytest, jest, vitest) in the verification step. These execute local code in the repository.Fixed: [one-line description]
File: [path:line]
Change: [old] -> [new]
Verified: [compilation/test result]
That's it. No report, no analysis, no recommendations. Just the fix.
Published by Shadows Company — "We work in the shadows to serve the Light."
/plugin install oneshot-fix@dvcrnRequires Claude Code CLI.
Developers fix small, clearly-defined bugs (typos, simple config changes, single-file edits) with automatic verification and minimal diff.
No reviews yet. Be the first to review this skill.