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

Commands, page 3

Reusable slash commands that automate repeatable workflows in Claude Code.

All commands

Showing 49–72 of 88 results

Git Bisect

Drive git bisect to find the exact commit that introduced a regression.

/git-bisect<bug description; optional good and bad refs>

Git Undo

Safely reverse the last Git operation in the current repo — pick the right tool (restore, reset --soft/--mixed, revert, or reflog recovery) based on what happened and whether it was already pushed, and confirm before anything destructive.

/git-undo<what to undo — e.g. 'last commit', 'unstage file X', 'the bad merge'; empty to detect>

Hunt Flaky Tests

Reproduce a flaky test, find the real source of nondeterminism, and fix the cause.

/flaky-test-hunt<suspected test or area (optional)>

llms.txt

Generate or refresh llms.txt from the project's routes, sitemap, or docs navigation, write it to the static directory, and verify that every link resolves.

/llms-txt[site root or docs dir] [--full]

MCP Audit

Audit every MCP config file in the repository and home directory for unpinned packages, inline secrets, wide filesystem roots, unprotected remote servers, and poisoned tool descriptions. Read-only.

/mcp-audit[config path or server name]

Model Card

Write or update the Hugging Face model card (README.md with YAML metadata) for a fine-tuned model directory, using only its training config and eval files and marking every gap as needed.

/model-card[model dir]

New Component

Scaffold a new UI component matching the project conventions.

/new-component<ComponentName> [props]

Optimize Imports

Remove unused imports and organize the rest in a file or directory per the project's conventions — preferring the project's own import tool where one is configured — without changing behavior.

/optimize-imports<file, directory, or empty for the current changed files>

Plan Feature

Explore the codebase and produce an implementation plan for a feature.

/plan-feature<feature description>

PRD

Turn an idea, pasted notes, or a notes file into a structured PRD and write it to docs/prd.md, or print it when there is no project.

/prd[idea, notes, or file path]

Profile Postgres Queries

Profile a Postgres workload to find the queries actually costing you — rank by total time with pg_stat_statements, EXPLAIN the worst offenders, and recommend the highest-leverage fix.

/profile-postgres-queries<database/connection details, a slow endpoint, or a description of the workload>

Red Team LLM

Red-team an LLM app or agent for prompt injection, jailbreaks, and data leakage — probe the real attack surface (input, RAG, tools, system prompt) with adversarial inputs and report what got through and how to fix it.

/red-team-llm<the app/endpoint/agent to test, or a description of its inputs, tools, and data>

Refactor

Refactor the target for readability and structure without changing behavior.

/refactor[file or function]

Rename Symbol

Safely rename a symbol project-wide, distinguishing the real symbol from coincidental substring matches.

/rename-symbol<oldName> <newName>

Repurpose

Run content-repurposer on a file or pasted text and write the X thread, LinkedIn post, newsletter section, and video script to content/repurposed/.

/repurpose[file path or pasted text]

Resolve Merge Conflicts

Walk through resolving the in-progress merge, rebase, or cherry-pick conflict in the current repo by understanding both sides, then verify before continuing.

/resolve-conflict

Review PR

Review a pull request for correctness, security, and style, and summarize findings.

/review-pr[PR number]

Review Tests

Review the quality of a test suite, not just whether it passes — find weak assertions, missing edge cases, and tests coupled to implementation.

/review-tests<test file or area to review>

Run Evals

Run the project's LLM evaluation suite (DeepEval, promptfoo, or RAGAS) and report scores against thresholds before a merge.

/run-evals<eval suite path / config, or the feature to evaluate>

Scaffold a pgvector Schema & HNSW Index

Scaffold a production-ready pgvector schema and HNSW index for a corpus — matching the project's migration tooling, distance metric, and embedding dimensions.

/scaffold-pgvector-schema<table/corpus name and embedding dimensions, or a description of the data>

Scaffold a vLLM Serving Config

Scaffold a vLLM serving config for a model on a target GPU — pick precision/quantization and parallelism to fit, set batching and context length, and expose an OpenAI-compatible server.

/scaffold-vllm-config<model + target GPU(s) and VRAM, or a description of the serving workload>

Scaffold CLI Command

Scaffold a new subcommand for an existing CLI (or a minimal new CLI) in the project's language — flag/argument parsing, --help text, input validation, and correct exit codes — matching the framework and conventions already in use.

/scaffold-cli<the command to add — e.g. 'a `sync` subcommand that pulls remote config'>

Scaffold Dockerfile

Scaffold a production-grade multi-stage Dockerfile and .dockerignore for the current project.

/scaffold-dockerfile<optional: stack/runtime hint>

Scaffold GitHub Action

Scaffold a hardened GitHub Actions workflow for a stated goal, wired to the project's real test/lint/build commands.

/scaffold-github-action<what the workflow should do — e.g. CI test on PR, lint, release/publish, nightly cron>