Skip to content
Level up your prompts with SurePrompts — curated prompts for every workflow.
agentscamp

Commands, page 2

Reusable slash commands that automate repeatable workflows in Claude Code.

All commands

Showing 25–48 of 88 results

Check Support Cases

Validate a local JSONL support-answer testset with Python: unique case IDs, exact fields, answer/clarify/escalate expectations, required answer-card references and sources, and explicit escalation reasons; report counts without running a support bot.

/check-support-cases<cases.jsonl>

Check Survey Paths

Check survey-paths.json for complete single-choice routes, cycles, reachable nodes and expected test paths without editing the file or contacting a form service.

/check-survey-pathsNo arguments; reads the fixed JSON basename in a confirmed working directory.

Check Translation Tokens

Compare recognized named placeholders in a source-target translation CSV with Python, preserving token multiplicity and flagging blank targets. Supports exact {name}, {{name}}, and %(name)s/%(name)d forms; does not validate full ICU, HTML, positional placeholders, or translation meaning.

/check-translation-tokens<translations.csv>

Clean Branches

Safely prune merged and stale Git branches: drop dead remote-tracking refs, list merged candidates for review, then delete with the safe -d variant.

/clean-branches

Commit

Stage changes and write a Conventional Commits message describing them.

/commit

Convert Rules

Convert one agent instruction file to another format (for example .cursorrules to CLAUDE.md, or CLAUDE.md to AGENTS.md), preserving wording and path scoping, and list the rules that did not map.

/convert-rules<source file> <target format>

Count Feedback

Count a single-label feedback CSV with code: validate record IDs, collapse exact duplicate rows, reject conflicting rows for one ID, and report records, distinct known respondents, missing identities, and label totals without inventing prevalence.

/count-feedback<feedback.csv> [output.md]

Create PR

Push the current branch and open a GitHub pull request with a generated title and body.

/create-pr[base branch or notes]

Create Skill

Scaffold a new Claude Code skill into .claude/skills/<name>/SKILL.md — a model-invoked capability with a trigger-rich description, scoped tools, and a lean body that pushes detail into resource files.

/create-skill<what the skill should do>

Create Slash Command

Scaffold a new Claude Code slash command into .claude/commands/ — a valid Markdown file with frontmatter, a least-privilege allowed-tools allowlist, and a $ARGUMENTS-driven body of numbered steps ending in a Report.

/create-slash-command<what the command should do>

Create Subagent

Scaffold a new Claude Code subagent definition file into .claude/agents/ with a routing-ready description, scoped tools, and a system prompt.

/create-subagent<what the subagent should do>

Critique Screen

Read a UI screenshot from a path or URL, run the fixed design critique checklist over it, and write the report to design/critiques/ without touching the design or the code.

/critique-screen[image path]

DB Migrate

Generate and apply a database migration the safe way — using the project's migration tool, with expand-contract discipline for breaking changes, lock-free DDL, and a reversible up/down.

/db-migrate<the schema change to make, or a path to a pending migration to review>

Define Metric

Write or refine a metric definition — name, plain-language meaning, grain, filters, source tables and columns, edge cases, and owner — into analysis/metrics/<slug>.md, after searching the repo for a definition that already exists.

/define-metric[metric name]

Design Tokens

Extract design tokens from a stylesheet, a Tailwind or theme config, or a screenshot, then create or update design/tokens.json and report every added, changed, and removed token.

/design-tokens[stylesheet, config, or image path]

Estimate Effort

Produce a grounded effort and complexity estimate for a task by exploring the codebase read-only.

/estimate-effort<task or feature to estimate>

Explain Code

Explain what the given code does, in clear prose with a short summary.

/explain-code[file or symbol]

Explain Error

Diagnose an error message or stack trace and propose a fix.

/explain-error<error message or stack trace>

Extract Function

Extract a code region into a well-named function and update the call site.

/extract-function<file:lines or description>

Find Bug

Investigate a reported symptom, form hypotheses, and locate the root cause.

/find-bug[symptom]

Find N+1 Queries

Scan code read-only for N+1 query patterns — loops that query per iteration and handlers that fan out per-row — and report each with a location, why it is N+1, and the concrete eager-load/batch/set-based fix.

/find-n-plus-one<path or area to scan (optional)>

First Look

Read the first rows and the true row count of a CSV or spreadsheet, profile it against a fixed checklist, and write the result to analysis/profiles/<name>.md so the dataset's condition is on record before anyone queries it.

/first-look[data file path]

Fix Failing Test

Diagnose and fix a failing test by finding the real root cause.

/fix-failing-test[test name or path]

Generate E2E Test

Scaffold a resilient end-to-end test for a user flow grounded in the real UI.

/generate-e2e-test<user flow to test>