MCP HubMCP Hub
SKILL·C69F9E

crit-story

tomasz-tomczyk
更新日 27 days ago
4 閲覧
990
74
990
GitHubで表示
メタgeneral

について

crit-storyスキルは、`/crit-story`または直接のリクエストによって明示的に呼び出された場合にのみ、構造化されたストーリー文書を生成します。このスキルは、ランタイム執筆ガイドを取得して従い、JSON形式の出力を生成し、通常のコードレビューワークフローから独立して動作します。開発者は、一般的な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-story

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Author a crit story with crit story

This is a sibling skill to /crit — it does not run inside the normal review loop. Invoke it deliberately only when the user explicitly asks for story generation; do not infer it from generic review, PR, or diff-review requests.

Step 1: Fetch the guide

crit story --guide

This prints the resolved authoring guide (the user's customized version if they have one — always invoke this at runtime rather than reusing this skill's own prose) followed by --- and the JSON schema for the fields you must emit. Read and follow that guide's principles and JSON shape exactly — it is the source of truth, not this file.

Step 2: Write the prep file

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

This writes the full, untrimmed diff (commit messages + every hunk with its (file_path, old_start) id) to the given path and prints the path. Read that file — the diff is never inlined into the guide prompt.

Step 3: Author the story JSON

Following the guide from Step 1, cluster hunks by theme (not by file) and write a JSON object with only prologue, chapters, and support to a temp file, e.g. /tmp/crit-story.json. Do not include version, generated_at, agent, base_sha, head_sha, scope_fingerprint, or coverage — crit fills those in.

Step 4: Ingest

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

Exit 0 means the story was saved (crit opens the browser to show it). Exit 1 means it was rejected — the coverage report (missing/duplicated hunks) is printed to stdout as JSON on every attempt, success or failure. If rejected:

  • duplicated non-empty: a hunk is claimed by two chapters (or a chapter and support). Decide where it belongs and re-ingest.
  • missing non-empty with auto_repaired: true on exit 0: crit already back-filled the omissions into support[]. Optionally re-author to place them deliberately.
  • A drift error ("diff changed since prep"): re-run crit story --prep and re-author from the fresh prep file.

What this skill does NOT do

  • It does not call crit comment, crit push, or crit share — those are separate flows.
  • It does not produce review-level human comments.
  • It does not run as part of the generic /crit review loop.

GitHub リポジトリ

tomasz-tomczyk/crit
パス: integrations/claude-code/skills/crit-story
0
agentic-codingai-agentsai-toolsclicode-reviewdeveloper-tools
FAQ

よくある質問

crit-story Skillとは何ですか?

crit-story はtomasz-tomczyk が作成した Claude Skillです。Skillは、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(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。

スキルを見る
polymarket
メタ

このスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。

スキルを見る
creating-opencode-plugins
メタ

このスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。

スキルを見る
sglang
メタ

SGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。

スキルを見る