Skip to content
Automation
Command

/reset-prd

Reset a prd.json file to initial state (all tasks pending)

From plugin
essentials-claude-code
9025 skills8 agents25 commands
> /plugin marketplace add GantisStorm/essentials-claude-code
> /plugin install essentials@essentials-claude-code

Command definition

reset-prd.md
allowed-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.

@gantisstorm
Ships withessentials-claude-code

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.

905 skills8 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
90
Star history of GantisStorm/essentials-claude-code on GitHub, a chart by star-history.com

Other commands on essentials-claude-code.

More commands from other plugins.

plan

plan

Command

Plan n8n Linear ticket implementation

n8n12d209k
@n8n-io@n8n-ioInstall Command
setup

setup

Command

One-time setup after installing ARIS as a Claude Code plugin — registers the Codex reviewer MCP server from the plugin directory…

aris12d18k
@wanshuiyin@wanshuiyinInstall Command
agent
Auto-invoked

agent

Command

name: sc:agent description: SC Agent — session controller that orchestrates investigation, implementation, and review category:…

@galaxy-dawn@galaxy-dawnInstall Command