| name | ringi |
| description | Review AI-generated code changes before committing using Ringi. Use to create review sessions, add comments/suggestions/todos, resolve decisions, export audit records, and (optionally) integrate via MCP. |
When to use
Use this skill whenever you are working with Ringi to review AI-generated code changes before committing them. Ringi is local-first and provides a web UI for visual diff review with inline comments, code suggestions, and todo tracking.
Also use this skill when the user mentions:
review, ringi, /ringi-review, or before commit
- creating review sessions
- managing comments/suggestions/todos
- exporting reviews for documentation/audit
- "what should I do next" after an AI agent made changes
- Pi integration, prompt handoff, or feedback loop
Workflow
Quick path (typical workflow)
- Stage the AI changes:
git add -A
- Start (or reuse) the web server:
ringi serve
- Create a review from staged changes:
ringi review create
- Review in the web UI:
- add inline comments and/or code suggestions
- create todos for follow-up work instead of blocking the commit
- Resolve + decide when ready:
ringi review resolve last --yes
- Export for audit/documentation:
ringi export last --output review.md
- Commit normally with git
Pi integration (fastest path)
When running inside Pi, use the /ringi-review command instead of manual CLI steps:
/ringi-review # reviews staged changes, auto-starts server
/ringi-review --branch main # branch comparison
/ringi-review --pr <url> # GitHub PR review
The extension auto-starts ringi serve, creates the review, opens the browser, waits for your decision, and inserts feedback into the Pi editor as a prompt.
Decision points (so you pick the right command)
- Inside Pi? Use
/ringi-review — it handles the full lifecycle automatically.
- If the server is already running, you can usually stay in the UI. For standalone reads (listing/showing/exporting), you do not need the server.
- Mutations like creating reviews and adding comments/todos require the server; "read-only" commands can run without it.
- Reviews are snapshot-based: once created, the diff is anchored even if your branch moves later.
Review sources (choose once at creation time)
- Default: staged changes (safest local workflow)
- Branch comparison:
ringi review create --source branch --branch main
- Commit(s):
ringi review create --source commits --commits <sha,...>
For details, see rules/staging.md.
Rule files (detailed behavior)
Read the individual rule files below when you need specifics or examples:
Output expectations (when acting as the agent)
- Prefer copy/pasteable command blocks over prose.
- When suggesting a workflow, always include the "safe default" staged source (
git add -A → ringi review create) unless the user explicitly wants branch/commit sources.
- If the user asks "can I commit?", ensure there's either (a) an approved review decision, or (b) a clear reason why they're skipping review.