/reset-prd
Reset a prd.json file to initial state (all tasks pending)
$ npx -y skills add GantisStorm/essentials-claude-code --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/reset-prd
Context preview
What this command does when you run it.
Reset a prd.json file to initial state (all tasks pending)
Command definition
reset-prd.mdallowed-tools: Bash(jq:*), Bash(mv:*), Bash(cat:*), Bash(ls:*) argument-hint: "<prd.json path>" description: Reset a prd.json file to initial state (all tasks pending) model: opus context: fork
Reset PRD
Reset a prd.json file so all tasks are pending again.
Instructions
Run this single command to reset the prd file (replace `<path>` with the actual path from $ARGUMENTS):
jq '.userStories = [.userStories[] | del(.completionNotes) | .passes = false] | del(.metadata.updatedAt)' "<path>" > /tmp/reset-prd-$$.json && mv /tmp/reset-prd-$$.json "<path>" && echo "Reset complete. Tasks: $(jq '.userStories | length' "<path>") set to passes: false"
If no path was provided, list `.claude/prd/*.json` and ask which one to reset.
After resetting, tell the user they can run: `/tasks-loop <path>` or `/tasks-swarm <path>`
Note: Loop and swarm are interchangeable—swarm is just faster when tasks can run in parallel. Both enforce exit criteria and sync.
Loops, swarms, and teams powered by Claude Code's built-in Task System. Loop, swarm, and team are three execution modes. Loop runs sequentially. Swarm runs parallel subagents. Team spawns full Claude Code instances with shared contracts via Agent Teams.
Repo: GantisStorm/essentials-claude-code
Other commands on essentials-claude-code.
- /beads-converter
Convert plans to Beads - works with /beads-loop, /beads-swarm, or RalphTUI
Open command - /beads-loop
Execute beads iteratively until all tasks complete
Open command - /beads-swarm
Execute beads with parallel agent swarm (dependency-aware)
Open command - /bug-plan-creator
Deep bug investigation with architectural fix plan generation - works with any executor (loop or swarm)
Open command - /cancel-loop
Cancel any active loop
Open command - /cancel-swarm
Cancel any active swarm
Open command

