AI code review skill for Cursor, Claude Code & Codex — evidence-based /roast with file:line citations. CLI installs the skill; no LLM API in the package.
npx @rapchic/roast installRestart Cursor, then /roast.
Team repos: commit .cursor/commands/ + .cursor/skills/roast/ so teammates get /roast without a global install.
Global-only: npx @rapchic/roast install --no-project
| Slash | Use when |
|---|---|
/roast |
Roast + fix (daily default) |
/roast-only |
Verdict only |
/roast-idea |
Critique a plan before code |
/roast-what |
Explain the diff or a roast in plain English |
/roast-learn |
Learn patterns (once / continuous; optional transcripts) |
/roast-install |
Reinstall the skill pack |
/roast-full |
Optional — same skill loaded directly |
/roast-install never roasts. Prefer commands; /roast-full is the skill entry (name: roast-full).
| Say | Effect |
|---|---|
/roast-learn |
Once — upsert from code + conventions |
/roast-learn continuous |
Also set learningMode: continuous |
/roast-learn transcripts |
Mine Cursor agent transcripts |
/roast-learn continuous transcripts |
Both |
Writes only .cursor/rules/roast-patterns.mdc.
- Installs a roast skill + slash commands to Cursor, Claude Code, or Codex
- Gathers context (
roast context) — stack, scripts, conventions, CI - Surfaces diff signals (
roast diff) — changed files, test/doc hints, suggested scope - Enforces evidence — findings cite
file:line, diff, or test output; chat-only output
| Command | Description |
|---|---|
roast install |
Skill + commands (global + project .cursor/) |
roast update |
Fetch latest from npm, reinstall |
roast status |
Version + update check |
roast uninstall |
Remove from IDEs |
roast context |
Phase 0 INIT — stack, scripts, rules, CI |
roast diff |
Git diff signals (includes working tree by default) |
roast init |
.roast/config.json, or --agents for short AGENTS.md |
roast bootstrap |
Alias for install |
npx @rapchic/roast install
npx @rapchic/roast install --no-project
npx @rapchic/roast install --tools cursor,claude,codex
npx @rapchic/roast context --format json
npx @rapchic/roast diff --base auto --format json
npx @rapchic/roast init --agents| Flag (common) | Applies to | Meaning |
|---|---|---|
--tools <list> |
install / uninstall | cursor, claude, codex |
--no-project |
install | Skip project .cursor/ |
--path <dir> |
install / init / context / diff | Repo root |
--format json|markdown |
context / diff | Output shape |
--base <branch|auto> |
diff | Compare base |
--committed-only |
diff | Ignore dirty/untracked |
--agents |
init | Write short AGENTS.md (never during a roast) |
Scope budget for diff: 30 files. Global: npm i -g @rapchic/roast && roast install.
| Mode | Trigger | Edits |
|---|---|---|
| roast-only | /roast-only |
No |
| roast-and-fix | /roast |
Yes |
| roast-idea | /roast-idea |
No |
| roast-what | /roast-what, "eli5" |
No |
| roast-learn | /roast-learn |
roast-patterns.mdc only |
| roast-then-build | "roast then implement" | After agreement |
| roast-then-apply | "preview then apply" | After approval |
| roast-no-patch | "don't patch" | Structural only |
Playbooks: skills/roast/references/modes.md · init.md.
npx @rapchic/roast context
npx @rapchic/roast diff --base auto| IDE | Skill | Commands | Rule |
|---|---|---|---|
| Cursor | ~/.cursor/skills/roast/ |
~/.cursor/commands/roast*.md |
~/.cursor/rules/roast.mdc |
| Claude | ~/.claude/skills/roast/ |
— | block in CLAUDE.md |
| Codex | ~/.codex/skills/roast/ |
— | block in AGENTS.md |
@rapchic/roast on npm. Bins: roast and roastit. Unscoped roast / roastit are different packages.
GitHub’s Packages sidebar is a separate registry. Prefer npmjs for install. Pushing to main does not publish to npm — only a v*.*.* tag (see CONTRIBUTING.md).
| Issue | Fix |
|---|---|
Two /roast entries |
Prefer the command (“Loads roast-full”); /roast-full is the skill |
| Skill missing / vague review | /roast-install or npx @rapchic/roast install, then restart Cursor |
| Slash commands missing | Restart; re-run install; check ~/.cursor/commands/roast*.md |
roast: command not found |
npm i -g @rapchic/roast or npm link from a clone |
~/.cursor permission errors |
Writable home; macOS Full Disk Access if needed |
roast diff fails |
Need a git repo, or pass --base origin/main |
| Update not applying | npx @rapchic/roast update (npm users). Clone → roast install — see CONTRIBUTING |
| Still stuck | npx @rapchic/roast status — include version, Node, IDE in issues |
User: /roast-only — review src/middleware/auth.ts
→ compact roast with path:line evidence
More: examples/expected-roast-output.md
- Not comedy or profile satire
- Not an LLM API wrapper
- Not a report generator that writes files to your repo
See CONTRIBUTING.md. Security: SECURITY.md.
MIT — see LICENSE.