MCP HubMCP Hub
SKILL·5E716D

crit-story

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

О программе

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

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

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-story

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

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

Author a Crit story

Author the story in-session, then continue the interactive Crit review loop. Do not run bare crit story unless the user asks for the agent_cmd path.

1. Read the guide and diff

crit story --guide
crit story --prep /tmp/crit-story-prep.txt

The guide prints the user's resolved authoring instructions followed by --- and the JSON schema. Follow it rather than assuming this skill contains the current guide. Read the prep file for the full diff and its (file_path, old_start) hunk identifiers.

2. Author and ingest

Use the write tool to write /tmp/crit-story.json. Cluster hunks by theme, not by file, following the guide. Emit only prologue, chapters, and support; Crit fills in metadata and coverage.

crit story --story-file /tmp/crit-story.json

Inspect the JSON coverage report on every attempt. Exit 1 means rejection: fix duplicate or missing hunk assignments and re-ingest. A drift error means the diff changed; fetch fresh prep and re-author. Exit 0 with auto_repaired: true means omissions were back-filled into support.

3. Reconnect and await Finish Review

Ingest opens the browser and exits; it does not wait for the human. Run bare crit through omp's bash tool as an asynchronous job:

{"command":"crit","async":true,"timeout":0}

Save the returned job ID. timeout: 0 disables the default five-minute command deadline; async: true alone does not. If asynchronous jobs are unavailable, use foreground bash with timeout: 0. Do not use a named service for this finite review-round command.

Relay the review URL verbatim; if omitted from startup output, read proc://<job-id> once. Use wait when no independent work remains. Completion also auto-delivers. A running snapshot or unrelated message is not completion: keep waiting until this job exits. Do not poll process output or the review file, hold an eval cell open, read feedback early, or ask the user to type a reply to signal Finish Review.

4. Address feedback and repeat

Read the command output and follow the finish prompt; check for approved: true or approved: false. omp merges stdout and stderr. Retrieve omitted output through proc://<job-id> or its artifact:// link. A command failure is not approval; report the error rather than proceeding. If approved, stop. Otherwise read every unresolved comment and its replies, including review-level comments. Use quote and anchor rather than stale line numbers when edits have moved the content.

Address comments against the actual source files. Do not regenerate or edit the saved story JSON unless the user explicitly asks.

crit comment --reply-to <id> --author 'omp' '<what changed>'
crit comment --json --file /tmp/crit-story-replies.json --author 'omp'

Write bulk reply JSON with the write tool; each entry has reply_to and body. Do not use --resolve unless explicitly requested. For mid-round re-entry, use crit comments --json.

Run the next-round command printed on stdout with the same asynchronous bash pattern and timeout: 0. Tell the user only that you replied in Crit and the changes are ready for review. Do not repeat your replies or list the comments in chat. Await command completion, and repeat this step until approved. Do not call crit push or crit share unless the user asks.

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

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

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

Что такое Skill crit-story?

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

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

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

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

crit-story относится к категории Мета.

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

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

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

content-collections
Мета

Этот навык предоставляет проверенную в продакшене настройку для Content Collections — TypeScript-ориентированного инструмента, который преобразует файлы Markdown/MDX в типобезопасные коллекции данных с валидацией Zod. Используйте его при создании блогов, сайтов документации или контентных приложений на Vite + React для обеспечения типобезопасности и автоматической проверки содержимого. Он охватывает всё: от настройки плагина Vite и компиляции MDX до оптимизации развертывания и валидации схем.

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

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

Просмотреть навык
creating-opencode-plugins
Мета

Этот навык помогает разработчикам создавать плагины OpenCode, которые подключаются к более чем 25 типам событий, таким как команды, файлы и операции LSP. Он предоставляет структуру плагина, спецификации API событий и шаблоны реализации для модулей на JavaScript/TypeScript. Используйте его, когда вам нужно перехватывать, отслеживать или расширять жизненный цикл ассистента OpenCode AI с помощью пользовательской событийно-ориентированной логики.

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

SGLang — это высокопроизводительный фреймворк для обслуживания больших языковых моделей (LLM), специализирующийся на быстрой структурированной генерации JSON, regex и рабочих процессов агентов с использованием кэширования префиксов RadixAttention. Он обеспечивает значительно более высокую скорость вывода, особенно для задач с повторяющимися префиксами, что делает его идеальным для сложных структурированных результатов и многократных диалогов. Выбирайте SGLang вместо альтернатив, таких как vLLM, когда вам требуется ограниченное декодирование или вы создаете приложения с интенсивным совместным использованием префиксов.

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