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 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 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.
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.
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.
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.
Create PR
Push the current branch and open a GitHub pull request with a generated title and body.
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 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 Subagent
Scaffold a new Claude Code subagent definition file into .claude/agents/ with a routing-ready description, scoped tools, and a system prompt.
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.
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.
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.
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.
Estimate Effort
Produce a grounded effort and complexity estimate for a task by exploring the codebase read-only.
Explain Code
Explain what the given code does, in clear prose with a short summary.
Explain Error
Diagnose an error message or stack trace and propose a fix.
Extract Function
Extract a code region into a well-named function and update the call site.
Find Bug
Investigate a reported symptom, form hypotheses, and locate the root cause.
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.
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.
Fix Failing Test
Diagnose and fix a failing test by finding the real root cause.
Generate E2E Test
Scaffold a resilient end-to-end test for a user flow grounded in the real UI.