skills/prompt-manager/SKILL.md
# prompt-manager CRUD operations for prompt files. Centralizes all prompt management logic to avoid shell parsing issues and provide consistent behavior across commands. ## Description Manages prompt files in `{repo_root}/prompts/` with support for: - Listing active and completed prompts - Organizing active prompts in subfolders under `prompts/` (e.g. `prompts/providers/`) - Getting the next available number - Creating new prompts - Moving prompts to completed - Deleting prompts - Reading pro
npx skillsauth add cruzanstx/daplug skills/prompt-managerInstall 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.
CRUD operations for prompt files. Centralizes all prompt management logic to avoid shell parsing issues and provide consistent behavior across commands.
Manages prompt files in {repo_root}/prompts/ with support for:
prompts/ (e.g. prompts/providers/)Use this skill when you need to:
tools:
- Bash(python3:*)
- Bash(PROMPT_MANAGER=:*)
PROMPT_MANAGER=$(jq -r '.plugins."daplug@cruzanstx"[0].installPath' ~/.claude/plugins/installed_plugins.json)/skills/prompt-manager/scripts/manager.py
python3 "$PROMPT_MANAGER" next-number
Output: 006 (next available 3-digit number)
# List all prompts
python3 "$PROMPT_MANAGER" list
# Filter to a folder under prompts/ (excludes completed/ by default)
python3 "$PROMPT_MANAGER" list --folder providers
# Tree view
python3 "$PROMPT_MANAGER" list --tree
# List as JSON
python3 "$PROMPT_MANAGER" list --json
# Active only
python3 "$PROMPT_MANAGER" list --active
# Completed only
python3 "$PROMPT_MANAGER" list --completed
# Returns path to prompt file
python3 "$PROMPT_MANAGER" find 6
# Output: /path/to/repo/prompts/006-my-prompt.md
# Folder-qualified lookup
python3 "$PROMPT_MANAGER" find providers/6
# Output: /path/to/repo/prompts/providers/006-my-prompt.md
# Name search across folders
python3 "$PROMPT_MANAGER" find "backup-server"
# As JSON
python3 "$PROMPT_MANAGER" find 6 --json
python3 "$PROMPT_MANAGER" read 6
# Outputs the full content of the prompt
# From content argument
python3 "$PROMPT_MANAGER" create "backup-server" --content "Prompt content here"
# Into a subfolder (folder is relative to prompts/; completed/ is reserved)
python3 "$PROMPT_MANAGER" create "github-copilot-integration" --folder providers --content "..."
# From file
python3 "$PROMPT_MANAGER" create "backup-server" --content-file /tmp/prompt.md
# From stdin
cat prompt.md | python3 "$PROMPT_MANAGER" create "backup-server"
# With specific number
python3 "$PROMPT_MANAGER" create "backup-server" --number 010 --content "..."
# JSON output
python3 "$PROMPT_MANAGER" create "backup-server" --content "..." --json
python3 "$PROMPT_MANAGER" complete 6
# Output: Completed: /path/to/repo/prompts/completed/006-my-prompt.md
python3 "$PROMPT_MANAGER" delete 6
# Output: Deleted: 006-my-prompt.md
python3 "$PROMPT_MANAGER" info
# Output:
# Repository root: /path/to/repo
# Prompts directory: /path/to/repo/prompts
# Completed directory: /path/to/repo/prompts/completed
# Next number: 006
# Active prompts: 2
# Completed prompts: 5
# Total prompts: 7
# As JSON
python3 "$PROMPT_MANAGER" info --json
# Get plugin path
PLUGIN_ROOT=$(jq -r '.plugins."daplug@cruzanstx"[0].installPath' ~/.claude/plugins/installed_plugins.json)
PROMPT_MANAGER="$PLUGIN_ROOT/skills/prompt-manager/scripts/manager.py"
# Get next number
NEXT_NUM=$(python3 "$PROMPT_MANAGER" next-number)
echo "Next prompt will be: $NEXT_NUM"
# Create the prompt
python3 "$PROMPT_MANAGER" create "my-task-name" --content "$PROMPT_CONTENT" --json
# Find prompt path
PROMPT_PATH=$(python3 "$PROMPT_MANAGER" find 6)
if [ -z "$PROMPT_PATH" ]; then
echo "Prompt 6 not found"
exit 1
fi
# Read content
CONTENT=$(python3 "$PROMPT_MANAGER" read 6)
All errors are written to stderr with exit code 1:
$ python3 "$PROMPT_MANAGER" find 999
Error: Prompt 999 not found
$ python3 "$PROMPT_MANAGER" complete 6 # already completed
Error: Prompt 006 is already completed
$ python3 "$PROMPT_MANAGER" create "test" --number 5 # exists
Error: Prompt 005 already exists: /path/to/prompts/005-test.md
{
"number": "006",
"name": "backup-server",
"filename": "006-backup-server.md",
"path": "/path/to/repo/prompts/006-backup-server.md",
"status": "active",
"folder": ""
}
{
"repo_root": "/path/to/repo",
"prompts_dir": "/path/to/repo/prompts",
"completed_dir": "/path/to/repo/prompts/completed",
"next_number": "007",
"active_count": 2,
"completed_count": 5,
"total_count": 7
}
development
Manage git worktrees for isolated development. Use when user asks to create isolated workspaces, work on multiple branches simultaneously, set up parallel development environments, or clean up old worktrees.
tools
Manage tmux sessions for background tasks. Use when user asks about background processes, wants to monitor running tasks, attach to sessions, list active sessions, or kill stuck processes.
testing
Automated sprint planning and execution from technical specifications (prompt generation, dependency planning, stateful execution)
testing
Find and resolve prompt files in ./prompts/ directory. Use when user asks to find a prompt, list available prompts, locate prompt by number or name, or check what prompts exist.