crit-cli
Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared…
Skill by tomasz-tomczyk
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tomasz-tomczyk-crit-cli-24cff3
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building, code-review
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/crit-cli
What's inside
- Skill name
crit-cli- Description
- Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared code/plans/docs/proposals), publish or unpublish a crit review with crit share, sync a crit review to or from a GitHub PR or GitLab MR, or read/interpret a crit review JSON file. Covers crit comment, crit share, crit unpublish, crit pull, crit push, review file format, and resolution workflow. Not for invoking an interactive review loop — that's the `/crit` workflow.
- License
- MIT
- Instructions
- 210 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Crit CLI Reference
> If a plan was just written and the user said `/crit` or `crit`, invoke the `/crit` workflow — do not use this reference skill. This skill covers CLI operations like `crit comment`, `crit pull/push`, and `crit share`.
Comments have three scopes:
- **Line comments** (`scope: "line"`) — tied to specific lines, stored in `files.<path>.comments`
- **File comments** (`scope: "file"`) — about a file overall, stored in `files.<path>.comments` with `start_line: 0`
- **Review comments** (`scope: "review"`) — general feedback, stored in the top-level `review_comments` array
The review file path is shown by `crit status`.
## Reading comments
When `crit` completes a review round, read **stdout** and follow its instructions. Unresolved comments are often embedded in that prompt as JSON. Check **stderr** for `approved: true` or `approved: false`.
When you need to read comments separately:
```bash
crit comments # human-readable, unresolved only (default)
crit comments --json # flat JSON for agents
crit comments --all # include resolved comments
crit comments --plan <slug> # plan reviews
crit comments [path] # explicit review.json or .crit directory
```
Review-level comments are listed first — easy to miss in raw `review.json`. Uses the same review resolution as `crit comment` (`--output`, `--plan`, daemon session).
## Multiple active sessions
When more than one review session matches the current directory and branch, headless commands (`crit comment`, `crit comments`, `crit share`, `crit push`, `crit pull`) refuse to guess. Run `crit status` (or `crit status --json`) to list every active session, then target the intended review with `--session <id>`:
```bash
crit comment --session <id> --author <name> <path>:<line> <body>
crit comment --session <id> --json --file comments.json --author <name>
crit comments --session <id>
crit share --session <id> <file>
crit push --session <id>
crit pull --session <id>
```
The JSON status output exposes the candidates in `sessions`.
## Review file format
```json
{
"review_comments": [
{
"id": "r_f1e2d3",
"body": "Overall the architecture looks good",
"scope": "review",
"author": "User Name",
"resolved": false,
"replies": [
{ "id": "rp_b4a5c6", "body": "Thanks, addressed the minor issues", "author": "Windsurf" }
]
}
],
"files": {
"path/to/file.go": {
"comments": [
{
"id": "c_a1b2c3",
"start_line": 5,
"end_line": 10,
"body": "Comment text",
"quote": "the specific words selected",
"anchor": "The sessions table needs a complete rewrite...",
"author": "User Name",
"resolved": false,
"replies": [
{ "id": "rp_c7d8e9", "body": "Fixed by extracting to helper", "author": "Windsurf" }
]
}
]
}
}
}
```
Field rules:
- `resolved`: `false` or **missing** — both mean unresolved. Only `true` means resolved.
- `quote` (optional): the specific text the reviewer selected — narrows scope within the line range. Focus changes on the quoted text rather than the entire range.
- `anchor` (line comments): full text of the commented lines when placed. When edits shift line numbers, locate content by anchor rather than trusting `start_line`/`end_line`.
- `drifted: true`: original content was removed or heavily rewritten — line numbers are approximate at best.
- Unresolved comments may have `replies` — read them before acting.
## Authoring comments
```bash
# Review-level (general feedback)
crit comment --author 'Windsurf' '<body>'
# File-level (whole file, no line numbers)
crit comment --author 'Windsurf' <path> '<body>'
# Line (single line or range)
crit comment --author 'Windsurf' <path>:<line> '<body>'
crit comment --author 'Windsurf' <path>:<start>-<end> '<body>'
# DOM pin (live review or HTML preview). File:line is rejected there.
crit comment --author 'Windsurf' --selector '<css>' '<body>'
crit comment --author 'Windsurf' --selector '<css>' --route <path> '<body>'
# Reply to an existing comment
crit comment --reply-to <id> --author 'Windsurf' '<body>'
```
Hard rules:
- **Always pass `--author 'Windsurf'`** so comments are attributed correctly.
- **Always single-quote the body** — double quotes break on backticks and shell metachars.
- **Line numbers reference the file on disk** (1-indexed), not diff line numbers.
- **Reply bodies support markdown** — use code fences and inline code where helpful.
- **Only pass `--resolve` when the user explicitly asks.** Never resolve proactively. Same rule applies to the `resolve` field in `--json` mode.
- **Live reviews and HTML preview** do not take `<path>:<line>`. Pin with `--selector <css>`. `--route` is the page path (default `/` for live, `/preview-content` for preview). In `--json`, use `"selector"` and `"route"`.From tomasz-tomczyk/crit, MIT.
More from tomasz-tomczyk/crit
- 0.823score
crit-cli
tomasz-tomczyk
Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.823score
crit-story
tomasz-tomczyk
Author a crit story and continue the interactive review loop only when the user explicitly invokes /skill:crit-story or directly asks you to generate a crit…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.823score
crit-story
tomasz-tomczyk
Author a crit story and continue the interactive review loop only when the user explicitly invokes /skill:crit-story or directly asks to generate a crit story.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.823score
crit-story
tomasz-tomczyk
Author a crit story and continue the interactive review loop only when the user explicitly invokes /skill:crit-story, $crit-story, or directly asks to…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.823score
crit-cli
tomasz-tomczyk
Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.686score
crit-cli
tomasz-tomczyk
Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.683score
crit
tomasz-tomczyk
Review code changes, a plan, a live page (running dev server), or a local HTML file with Crit inline comments and structured human feedback.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.683score
crit-story
tomasz-tomczyk
Author a crit story and continue the interactive review loop only when the user explicitly invokes /crit-story or directly asks you to generate a crit story.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.585score
Cursor rules · tomasz-tomczyk/crit
tomasz-tomczyk
5 Cursor rule files from tomasz-tomczyk/crit: frontend-architecture, frontend-css, frontend-js, go, proxy-auth-transport.
TemplateAFreshness: A★ 1.2KCursor
Compare and alternatives
Featured in
Signals
- Stars
- 1,243
- Forks
- 105
- Open issues
- 26
- Last commit (this folder)
- Oct 5, 2026 (22 days ago)
- Last release
- Oct 23, 2026 (4 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/tomasz-tomczyk/crit
- Website
- crit.md
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from tomasz-tomczyk
- 0.823score
crit-cli
tomasz-tomczyk
Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.823score
crit-story
tomasz-tomczyk
Author a crit story and continue the interactive review loop only when the user explicitly invokes /skill:crit-story or directly asks you to generate a crit…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.823score
crit-story
tomasz-tomczyk
Author a crit story and continue the interactive review loop only when the user explicitly invokes /skill:crit-story or directly asks to generate a crit story.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.823score
crit-story
tomasz-tomczyk
Author a crit story and continue the interactive review loop only when the user explicitly invokes /skill:crit-story, $crit-story, or directly asks to…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.823score
crit-cli
tomasz-tomczyk
Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.686score
crit-cli
tomasz-tomczyk
Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared…
SkillAFreshness: A★ 1.2KClaude Code +9
Cite this page
crit-cli skill. Agent Mart. https://agentmart.dev/skills/tomasz-tomczyk-crit-cli-24cff3 (last updated 2026-10-24)