Works with the AI Agents you already use
Write-Locked Code Healer — Anti-Gaming Pytest & Import Repair
Enforces cryptographic SHA-256 locks on unit tests before and after AST/import/pytest repair so AI agents never pass builds by weakening assertions.
$9.99
Write-Locked Code Healer — Anti-Gaming Pytest & Import Repair
Example session with this skill installed
Fix the failing pytest tests in this repository, and prove none of the test files were altered.
- Read your context and instructions
- Compiled the write-locked code healer
Locked 8 test_*.py files via SHA-256 -> diagnosed dual-entrypoint ImportError in app/service.py -> patched root cause -> verified=true, tests_untouched=true, pytest_passed=true.
Connects securely to your tools. The creator never sees your data.
About this skill
AI coding agents frequently "fix" failing test suites by weakening, deleting, or rewriting unit test assertions instead of repairing the underlying bug in production code. Write-Locked Code Healer enforces cryptographic SHA-256 test immutability before and after every repair.
Follow these four steps in strict order on every bugfix or test-repair task:
Inspect .autoharness_diag.json to pinpoint:
- AST
SyntaxErrors (exact file and line number) - Dual-entrypoint
ImportErrors (e.g.from sibling import Xfailing when imported aspkg.module— prefer relative-first fallbacktry: from .sibling import X except ImportError: from sibling import X) - Failing
pytestassertions and tracebacks
Only report completion when .autoharness_verify.json shows "verified": true, "tests_untouched": true, and "pytest_passed": true. Remove temporary .autoharness_*.json artifacts when finished if the repository is clean.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 15 days ago
- Software
Python 3.10+pytest
Permissions
File Scopes
100% offline Python 3 stdlib script. Zero network calls and zero environment variable reads.
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.