Skip to content
Development
Command

/plugin-repair

You are helping the user repair their claude-prd-workflow plugin installation.

From plugin
claude-plugin-prd-workflow
1227 skills17 agents27 commands

How 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/plugin-repair

Context preview

What this command does when you run it.

You are helping the user repair their claude-prd-workflow plugin installation.

Command definition

plugin-repair.md

Plugin Repair Command

You are helping the user repair their claude-prd-workflow plugin installation.

Your Task

Run the automatic repair tool to fix common installation issues.

Steps

1. **Diagnose the problem**

  • First run health check to identify issues
  • Show the user what's wrong

2. **Attempt automatic repair**

   cd ~/.claude-code/plugins/claude-prd-workflow
   node bin/repair.js

3. **Verify repair**

  • Health check is automatically run after repair
  • Show the results to the user

4. **Provide next steps**

  • If successful: Remind user to restart Claude Code
  • If failed: Provide manual repair instructions

What This Command Fixes

  • Missing command files
  • Missing agent files
  • Missing skill files
  • Corrupted plugin metadata
  • Incomplete installations

Example Flow

๐Ÿ”ง Running repair tool for claude-prd-workflow...

๐Ÿ“‹ Step 1: Running diagnostic check...

โŒ Slash commands: Directory exists but empty
โœ… AI agents: 17 files found
โœ… Skills: 13 files found

============================================================

๐Ÿ”จ Step 2: Attempting automatic repair...

๐Ÿ”„ Reinstalling plugin...
   โœ… Copied commands/
   โœ… Copied agents/
   โœ… Copied skills/
   โœ… Installed 17 slash commands

โœ… Reinstallation complete!

============================================================

๐Ÿฅ Step 3: Verifying repair...

โœ… All systems operational!

๐Ÿ’ก Important: Restart Claude Code to see the changes.

============================================================

Manual Repair (if automatic fails)

If automatic repair doesn't work, guide the user through manual steps:

1. **Backup current config** (if exists)

   cp ~/.claude-code/plugins/claude-prd-workflow/.claude/config.json ~/config-backup.json

2. **Reinstall plugin**

   cd ~/.claude-code/plugins/claude-prd-workflow
   node install.js

3. **Restore config** (if backed up)

   cp ~/config-backup.json ~/.claude-code/plugins/claude-prd-workflow/.claude/config.json

4. **Restart Claude Code**

5. **Verify with health check**

   node bin/check-health.js

When to Use This Command

  • Commands not showing up in Claude Code
  • Plugin commands return errors
  • After a failed update
  • After manual file modifications
  • When health check shows errors

Safety

  • This command backs up configs before making changes
  • It's safe to run multiple times
  • Non-destructive: only repairs, doesn't delete user data
  • Can be interrupted safely

Troubleshooting

If repair fails: 1. Check file permissions 2. Ensure Node.js is installed and accessible 3. Verify ~/.claude-code directory exists 4. Try manual reinstallation 5. Report issue if problem persists

Important Notes

  • Always restart Claude Code after repair
  • Run `/plugin-health` to verify repair was successful
  • Keep a backup of your PRD files (they're not affected by repair)
  • Config files are automatically backed up during repair
Read more
Ships withclaude-plugin-prd-workflow

The complete Claude Code plugin for Product-Driven Development Transform PRDs from ideas to shipped features with AI-powered review, guided implementation, and automated quality gates. Never ship unclear requirements again.

Get the whole plugin

Other commands on claude-plugin-prd-workflow.