skills/patch/SKILL.md
Lightweight task mode for bug fixes, config changes, and small features. Supports --no-review and --discuss flags.
npx skillsauth add OrodruinLabs/nazgul nazgul:patchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
/nazgul:patch "fix CORS headers on API" — Quick patch with single reviewer/nazgul:patch --no-review "update README badges" — Skip review, just implement/nazgul:patch --discuss "add rate limiting" — Discuss gray areas first, then patch/nazgul:patch — Interactive mode, prompts for description$ARGUMENTS
cat nazgul/config.json 2>/dev/null | head -3 || echo "NOT_INITIALIZED"ls nazgul/tasks/patches/PATCH-*.md 2>/dev/null | wc -l || echo "0"jq -r '.agents.reviewers // [] | join(", ")' nazgul/config.json 2>/dev/null || echo "none"nazgul/config.json exists. If not: "Nazgul not initialized. Run /nazgul:init first." and STOP.$ARGUMENTS for flags:
--no-review → skip review step--discuss → run gray area discussion before planningOutput per references/ui-brand.md:
─── ◈ NAZGUL ▸ PATCHING ────────────────────────────────
nazgul/tasks/patches/ for next available PATCH-NNN number (create directory if needed)nazgul/tasks/patches/PATCH-NNN.md:# PATCH-NNN: [description]
## Metadata
- **Status**: IN_PROGRESS
- **Created**: [ISO 8601 timestamp]
- **Source**: /nazgul:patch
- **Flags**: [--no-review, --discuss, or none]
## Description
[full description from user]
## Subtasks
[Generated by planner in Step 3]
## Implementation Log
[Filled during execution]
Only if --discuss was passed:
## DecisionsUse the planner agent to generate 1-3 subtasks for the patch:
## SubtasksUse the implementer agent to execute each subtask:
patch(PATCH-NNN):If --no-review was NOT passed:
.ts/.tsx/.js/.jsx → frontend-reviewer (if available) or code-reviewer.py → code-reviewer.md/.json/.yaml → skip review (docs/config only)If --no-review was passed:
nazgul/plan.md under ## Patches section (create section if it doesn't exist):
- [x] PATCH-NNN: [description] (sha: [commit])
─── ◈ NAZGUL ▸ COMPLETE ✦ ──────────────────────────────
✦ PATCH-NNN: [description]
Commits: [N] | Files changed: [N] | Review: [approved/skipped]
─── ◈ NEXT ─────────────────────────────────────────────
/nazgul:start to continue main objective
/nazgul:patch for another quick fix
────────────────────────────────────────────────────────
/nazgul:start for a full task."testing
Human acceptance testing — structured verification that work actually works. Run standalone or integrated in HITL review cycle.
devops
Task lifecycle management — skip, unblock, add, prioritize, info, and list tasks. Use when you need to manage individual tasks in the Nazgul pipeline.
development
Check the current state of a Nazgul autonomous loop. Use when asked about loop progress, task status, iteration count, review board status, or how the Nazgul loop is going.
development
Start or resume a Nazgul autonomous development loop. Use when user says "start nazgul", "run nazgul", "begin development", "resume the loop", or passes an objective for new work. Auto-detects project state — no arguments needed.