MCP HubMCP Hub
SKILL·16054E

crit

tomasz-tomczyk
Обновлено 5 days ago
1,203
97
1,203
Посмотреть на GitHub
Разработкаgeneral

О программе

Навык Crit предоставляет структурированные ревью кода с встроенными комментариями для изменений, планов или работающих страниц, но активируется только при явном вызове через `/crit` или прямой запрос. Он автоматически определяет цели для ревью, такие как файлы, каталоги, URL-адреса или PR, без необходимости выбора режима. Разработчики используют его для интерактивных циклов ревью на основе браузера, которые обеспечивают обратную связь по коду, подобную человеческой.

Быстрая установка

Claude Code

Рекомендуется
Основной
npx skills add tomasz-tomczyk/crit -a claude-code
Команда плагинаАльтернативный
/plugin add https://github.com/tomasz-tomczyk/crit
Git клонированиеАльтернативный
git clone https://github.com/tomasz-tomczyk/crit.git ~/.claude/skills/crit

Скопируйте и вставьте эту команду в Claude Code для установки этого навыка

Документация

Review with Crit

Run this interactive browser review cycle only when the user invokes /skill:crit or $crit, or directly asks to use Crit. A generic request to review code, a plan, a diff, a PR, or a page does not count.

1. Choose the target

Pass the user's arguments through. Crit auto-detects files, directories, live URLs, and local HTML previews; do not ask which mode to use.

crit <arguments>
crit --pr <number-or-url>
crit --mr <number-or-url>
crit --range <base>..<head>
crit

Without arguments, review the plan file written earlier in this conversation, if there is one; otherwise run bare crit for the branch diff.

2. Start the review and await completion

Crit opens the browser and stays running until the human clicks Finish Review. Use OMO's monitor from a short eval cell to launch the command and subscribe to its output and exit. Substitute the command chosen in Step 1:

display(await tool.monitor({
  description: "Crit review feedback",
  command: "crit",
  filter: "https?://|approved:",
  persistent: true
}));

Call monitor directly if eval is unavailable. Keep the returned bash_id. persistent: true lets the human review without the default five-minute monitor deadline. The command's exit delivers a completion notification.

Relay the printed review URL verbatim: "Crit is open at <URL>. Leave inline comments, then click Finish Review."

End the turn while waiting if no independent work remains. Do not hold an eval cell open, poll bash_output, read comments early, launch a second Crit command, or ask the user to type a reply to signal completion. An existing daemon is reused automatically.

3. Read feedback

After the command exits, read its stdout and follow the finish prompt. Check stderr for approved: true or approved: false. Use bash_output with the saved bash_id to retrieve output not included in the notification. If approved, stop the review loop.

For mid-round re-entry or headless workflows, use crit comments --json (or crit comments --plan <slug> for plan reviews).

Review-level comments matter as well as file comments. Read existing replies. Treat missing resolved as unresolved. Use quote to narrow the requested change, anchor to locate content after edits, and drifted: true as a sign that line numbers are approximate.

4. Address comments

Revise the referenced plan or source files and apply suggestion blocks when present. Reply with what changed:

crit comment --reply-to <id> --author 'OMO' '<what changed>'
crit comment --plan <slug> --reply-to <id> --author 'OMO' '<what changed>'

Do not pass --resolve unless the user explicitly asks; resolution belongs to the reviewer. For multiple replies, write JSON with the file-edit tool:

crit comment --json --file /tmp/crit-replies.json --author 'OMO'

Each entry has reply_to and body. Use the crit-cli skill for the full schema and session disambiguation. Plan edits reload live in the browser.

5. Start the next round

Run the next-round command printed by Crit using the same monitor pattern. It signals round-complete and then waits for the next Finish Review.

Tell the user only: "Replied in Crit. Review the changes in your browser and click Finish Review when ready." Do not repeat your replies or list the comments in chat. The reviewer reads them in Crit. Await command completion, then return to Step 3. Continue until the reviewer approves.

Sharing

Only share or unpublish when the user asks:

crit share <file> [file...]
crit unpublish [file...]

Relay the full printed URL. Use --qr only in real monospace terminals. For another device, keep Crit on loopback and use an SSH tunnel or reverse proxy. --public-url requires --allow-unauthenticated-network and changes the printed URL, not the listener.

GitHub репозиторий

tomasz-tomczyk/crit
Путь: integrations/omo/skills/crit
0
agentic-codingai-agentsai-toolsclicode-reviewdeveloper-tools
FAQ

Часто задаваемые вопросы

Что такое Skill crit?

crit — это Claude Skill от tomasz-tomczyk. Skills объединяют инструкции и ресурсы, которые Claude загружает по мере необходимости, чтобы выполнять задачи, связанные с crit, без дополнительных запросов.

Как установить crit?

Используйте команды установки на этой странице: добавьте crit в Claude Code как плагин или клонируйте репозиторий в каталог skills, затем перезапустите Claude, чтобы загрузить Skill.

К какой категории относится crit?

crit относится к категории Разработка.

Можно ли использовать crit бесплатно?

Да. crit размещён на AIMCP и доступен для бесплатной установки.

Похожие навыки

qmd
Разработка

qmd — это локальный инструмент командной строки для поиска и индексирования, который позволяет разработчикам индексировать и осуществлять поиск по локальным файлам с использованием гибридного поиска, сочетающего BM25, векторные эмбеддинги и реранкинг. Он поддерживает как использование через командную строку, так и режим MCP (Model Context Protocol) для интеграции с Claude. Инструмент использует Ollama для создания эмбеддингов и хранит индексы локально, что делает его идеальным для поиска по документации или кодовой базе прямо из терминала.

Просмотреть навык
subagent-driven-development
Разработка

Этот навык выполняет планы реализации, создавая нового суб-агента для каждой независимой задачи, проводя проверку кода между задачами. Он позволяет быстро итерировать, сохраняя контроль качества через этот процесс ревью. Используйте его при работе в основном с независимыми задачами в рамках одной сессии, чтобы обеспечить непрерывный прогресс со встроенными проверками качества.

Просмотреть навык
mcporter
Разработка

Навык mcporter позволяет разработчикам управлять и вызывать серверы Model Context Protocol (MCP) напрямую из Claude. Он предоставляет команды для вывода списка доступных серверов, вызова их инструментов с аргументами, а также для обработки аутентификации и управления жизненным циклом демона. Используйте этот навык для интеграции и тестирования функциональности серверов MCP в вашем рабочем процессе разработки.

Просмотреть навык
adk-deployment-specialist
Разработка

Этот навык развертывает и оркестрирует агентов Vertex AI ADK с использованием протокола A2A, управляя обнаружением AgentCard, отправкой задач и поддерживая инструменты, такие как песочница для выполнения кода и Memory Bank. Он позволяет создавать мультиагентные системы с последовательными, параллельными или циклическими схемами оркестрации на Python, Java или Go. Используйте его, когда требуется развернуть агентов ADK или оркестрировать рабочие процессы агентов в Google Cloud.

Просмотреть навык