Package Exports
- @ccprompt/cli
- @ccprompt/cli/promptm.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ccprompt/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ccprompt
27 structured AI coding prompts, installed as slash commands in Claude Code. Type /kickoff, /debug-rootcause, /security-audit and get structured, opinionated workflows — completely free.
Quick Start (30 seconds)
npx @ccprompt/cli install-generic .That's it. Open Claude Code in your project and type /kickoff.
What You Get
| Command | What it does |
|---|---|
/kickoff |
Start session — read everything, understand context first |
/debug-rootcause |
Find the REAL cause. 5 WHYs technique. Fix cause, not symptom |
/feature-build |
Structured feature implementation with incremental steps |
/code-review |
Pre-commit quality gate with security checklist |
/verify-thorough |
Be 100% sure. Trace every path. Trust nothing |
/security-audit |
Full OWASP Top 10 mapped security review |
/refactor |
Safe restructuring — characterization tests first, small steps |
/test-write |
Write comprehensive tests. Happy path, edge cases, error cases |
/performance |
Profile first, optimize second. Never guess the bottleneck |
/deploy-checklist |
Pre-deployment validation. Every time. No exceptions |
/housekeeping |
Cleanup, organize, consolidate — leave it better |
/research-investigate |
Deep dive, brainstorm, plan with all context |
/quick-task |
Small focused task, no heavyweight protocol |
/architect |
Design before you build. Constraints first, then options, then decide |
/think-plan |
Deep reasoning, plan with checkpoints, self-correct, adapt as you go |
/creative-brainstorm |
Stuck? Think laterally, explore wild ideas, then converge on the best one |
/migrate |
Moving between frameworks, libraries, or APIs. Incremental, safe, reversible |
/low-context-handover |
Emergency context save when running low |
/correction-stop |
NEW Hit 2 failed fixes? Stop, revert, rethink, restart |
/think-first |
NEW Developer plans first, AI independently, compare blind spots |
/context-plan |
NEW Budget your context window before starting complex work |
/confidence-calibration |
NEW Track predicted vs actual confidence to improve judgment |
/setup-hooks |
NEW Configure Claude Code hooks for automated verification |
/visual-verify |
NEW Visual & browser verification: screenshots, console, Playwright |
/parallel-agents |
NEW Orchestrate parallel agents with worktrees and subagents |
/setup-claude-md |
NEW Build CLAUDE.md with Hot/Warm/Cold memory hierarchy |
/incident-response |
NEW Production incident triage: assess, contain, fix, postmortem |
Every template supports $ARGUMENTS — pass context directly:
/debug-rootcause TypeError in UserService.create()
/feature-build add dark mode toggle
/refactor extract auth logic from UserControllerHow It Works
Templates are plain markdown files installed to .claude/commands/. Claude Code reads them as slash commands. No API key, no account, no setup beyond the one-liner above.
Want project-specific prompts? ccprompt can also scan your project and individualize each template with your actual file paths, commands, and conventions. This optional feature requires an Anthropic API key.
npm install -g @ccprompt/cli
ccprompt scan .
ccprompt generate myproject # requires ANTHROPIC_API_KEY
ccprompt install myprojectIndividualization Example
Generic template:
## Step 2: Reproduce It
- Find the exact steps to trigger the issue
- Find the minimal reproduction
- Document the reproduction stepsAfter individualization (React + Remotion + Express project):
## Step 2: Reproduce It
- Find the exact steps to trigger the issue
- Find the minimal reproduction
- Document the reproduction steps
Project-specific reproduction workflow:
# For video generation issues
npm run dev # Open Remotion Studio
npx remotion render video/index.ts CompositionName output/test.mp4
# For web UI issues
cd web && npm run dev # Start frontend
# For API issues
npm run api:dev # Start Express server
# For test failures
npm test # Run VitestThe generic template is 113 lines. The individualized version is 191 lines — all project-specific commands, file paths, and gotchas.
All Commands
ccprompt install-generic [path] # Instant setup – free, no API key needed
ccprompt templates # List all 27 templates
ccprompt scan <path> # Auto-detect & register project
ccprompt generate <project> # Individualize (requires API key)
ccprompt install <project> # Install as slash commands
ccprompt refresh <project> # Rescan + regenerate + install (one step)
ccprompt install-all # Install into all projects
ccprompt regenerate-all # Refresh all after template changes
ccprompt list # List registered projects
ccprompt stats # Overview dashboard
ccprompt rescan <project> # Re-scan (preserves manual edits)
ccprompt update <project> # Update context fields
ccprompt copy <proj> <tmpl> # Copy prompt to clipboard
ccprompt show <proj> <tmpl> # View in terminal
ccprompt diff <proj> <tmpl> # Compare original vs individualized
ccprompt new-template <name> # Create custom template scaffold
ccprompt remove <project> # Delete projectCustom Templates
ccprompt new-template my-workflow
# Edit templates/my-workflow.md
ccprompt regenerate-all --template my-workflow
ccprompt install-allKeeping Prompts Up to Date
When your project evolves (new deps, new files, new conventions):
ccprompt refresh myproject # rescan + regenerate + install in one stepOr for all projects:
ccprompt regenerate-all -y && ccprompt install-allTroubleshooting
"command not found: ccprompt"
Global install didn't link properly. Use npx instead:
npx @ccprompt/cli install-generic .Or reinstall globally:
npm install -g @ccprompt/cliSlash commands don't appear in Claude Code
Make sure you ran install (or install-generic) in the right project directory. Claude Code reads from .claude/commands/ relative to your project root.
ls .claude/commands/ # should list .md filesTemplates look generic after install-generic
That's expected. install-generic copies templates as-is. For project-specific prompts, use scan + generate + install (requires API key).
FAQ
Do I need an API key?
No. install-generic works with zero configuration and is completely free. An API key is only needed for the optional individualization feature (generate).
Does this work with Cursor / other AI editors?
The slash commands are specific to Claude Code's .claude/commands/ convention. The template markdown files themselves work anywhere — copy and paste them into any AI assistant.
Can I edit templates after installation?
Yes. They're plain markdown in .claude/commands/. Edit freely. Running install or install-generic again will overwrite them, so keep custom edits in a separate copy if needed.
Requirements
- Node.js 18+
- Claude Code (for using slash commands)
- Anthropic API key (optional — only for individualization)
License
MIT — see LICENSE.