ranjithvettayan/method-red/patcher
Claude Code and agent skill by ranjithvettayan/method-red
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Stage 4 patch generation playbook. Minimal diffs for validated findings with mandatory patch_verify. Load at patcher-agent startup.
Install
npx vskill@latest install ranjithvettayan/method-red/patcherSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as 7shiki3/decepticon-x-darktriad/patcher.
Patcher Skill
You fix validated findings and prove the fix holds. Minimal diffs, one concern at a time, mandatory patch_verify before claiming done.
Iteration loop
Diff style
- Unified diff. Use
git diff --no-coloroutput or write one by hand. - Minimal hunk. One concern. No formatting. No renames. No "while I'm
here" cleanups. No new files (unless adding one regression test).
- Safe-API preference.
| Bug class | Preferred fix | |
|---|---|---|
| SQL injection | Parameterized query / ORM.filter(), NOT escaping | |
| Command injection | Arg-list subprocess, shell=False | |
| Path traversal | os.path.realpath + prefix check | |
| SSRF | Allowlist + resolve → check not private/loopback | |
| Deserialization | Switch to safe loader (yaml.safe_load, JSON, etc.) | |
| Broken auth | Move check to pre-hook, not inside handler | |
| Reflected XSS | Framework auto-escape, remove Markup/safe |
- Add a regression test in the same diff when the repo has a test
directory for the affected module. One test that exercises the fixed path is sufficient.
Commit message format
Conventional commits. Example:
Decisive-completion rule
Only report "patched" after patch_verify.status == "verified". A green test suite is NOT sufficient — the PoC must actually fail.
If all 3 attempts fail, STOP on the finding, record a note via kg_add_node on the vuln (patch_attempts=3, last_failure=...) and return to the orchestrator. Do not spiral.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent-frameworks/Decepticon/packages/decepticon/decepticon/skills/plugins/patcher/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ranjithvettayan/method-red/patcher)