UIコンポーネントのprops・state・イベント・条件分岐を静的解析し、最低限必要なテスト数を計算してカバレッジギャップをレポートするプラグイン
npx claudepluginhub utakatakyosui/c2lab --plugin ui-test-coverageThis skill should be used when the user asks to "UIのテストカバレッジを分析して", "テスト数が足りているか確認して", "最低限必要なテスト数を計算して", "UIコンポーネントのテスト不足を調べて", "analyze UI test coverage", "check if tests are enough", "calculate minimum tests". Runs a Python static analysis script against the project, calculates the Cartesian product of UI component features, and reports the gap between required and actual test counts as JSON.
This skill should be used when the user asks "テストの最低数はどう計算するの?", "なぜこの計算式なの?", "組み合わせテストの根拠を教えて", "how is the minimum test count calculated?", "explain the test coverage formula", "what is the Cartesian product for testing?", "UIテストの掛け合わせを説明して". Explains the mathematical basis for calculating the minimum number of frontend unit and E2E tests based on UI component feature counts and their Cartesian product.
Claude Code(C2)の実験場(Lab)です。 Hook, Slash Command, SubAgent, Skill をプロジェクトごとに用意するのは面倒なので、再利用可能なプラグインリポジトリとしてまとめています。
Claude Code 内で以下のコマンドを実行します:
/plugin marketplace add UtakataKyosui/C2Lab
または、.claude/settings.json に直接記述することもできます:
{
"extraKnownMarketplaces": {
"utakata-plugins": {
"source": {
"source": "github",
"repo": "UtakataKyosui/C2Lab"
}
}
}
}
マーケットプレイス追加後、/plugin で UI を開いて使いたいプラグインを選択するか、CLI でインストールします:
# 例: jj-vcs-workflow をインストール
claude plugin install jj-vcs-workflow@utakata-plugins
# プロジェクトスコープ(チーム共有)でインストール
claude plugin install jj-vcs-workflow@utakata-plugins --scope project
| スコープ | 保存先 | 用途 |
|---|---|---|
user(デフォルト) | ~/.claude/settings.json | 個人の全プロジェクトで使用 |
project | .claude/settings.json | チームで共有 |
local | .claude/settings.local.json | 個人用・gitignore 済み |
| プラグイン | 説明 |
|---|---|
| jj-vcs-workflow | Jujutsu (jj) の総合ガイド。基本コマンド・Git 移行・並列開発・履歴操作・安全な push ワークフロー |
| review-workflow | PR レビュー対応の自動化。コメント取得→修正→検証→コミット→Push を Python で制御 |
| session-saver | セッション ID を自動保存し、過去セッションへの復帰を容易にする |
| dev-cost-tracker | トークン使用量・費用を機能単位で記録。コスト管理に活用 |
| プラグイン | 説明 |
|---|---|
| rust | Rust 開発支援。コードレビュー・デバッグ・最適化エージェントとフック |
| code-review | 汎用コードレビュー。レビュー原則とチェックリストコマンド |
| tdd-enforce | TDD を強制。テストなしの実装をブロックする多言語対応フック |
| wasm-optimizer | JS/TS の重い処理を検出し、WebAssembly ライブラリへの置き換えを提案 |
| scaffdog-colocation | scaffdog を使ったコロケーションパターンによるファイル分割支援 |
| poml-assist | Microsoft POML によるプロンプト設計支援。バリデーション・レンダリング付き |
| プラグイン | 説明 |
|---|---|
| protobuf | Protocol Buffers のスタイルガイド・ツール使用例 |
| moonrepo | Moonrepo (Task Runner) + proto (Toolchain Manager) のガイド |
| activitypub | ActivityPub C2S インタラクションの実装支援 |
| プラグイン | 説明 |
|---|---|
| zenn-review | Zenn 記事・書籍のレビュー。誤字脱字・構文・フロントマター・章間整合性チェック |
C2Lab/
├── .claude-plugin/ # マーケットプレイスメタデータ (marketplace.json)
├── plugins/ # 各種プラグイン
│ ├── activitypub/
│ ├── code-review/
│ ├── dev-cost-tracker/
│ ├── jj-vcs-workflow/
│ ├── moonrepo/
│ ├── poml-assist/
│ ├── protobuf/
│ ├── review-workflow/
│ ├── rust/
│ ├── scaffdog-colocation/
│ ├── session-saver/
│ ├── tdd-enforce/
│ ├── wasm-optimizer/
│ └── zenn-review/
├── jj-config/ # Jujutsu (jj) 設定ファイル
└── scripts/ # リント・チェック用スクリプト
各プラグインは以下のコンポーネントを任意に含みます:
skills/ — コンテキストとして読み込まれるナレッジベースcommands/ — /command-name で呼び出せるスラッシュコマンドagents/ — 特定タスクに特化したサブエージェントhooks/ — ツール実行前後に自動実行されるフックComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Efficient skill management system with progressive discovery — 410+ production-ready skills across 33+ domains
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Install autonomous TDD workflows (Ralph loops) into any project. Supports fresh-context and same-session modes with guardrails for preventing repeated failures.
Unity Development Toolkit - Expert agents for scripting/refactoring/optimization, script templates, and Agent Skills for Unity C# development
Complete developer workflow toolkit. Includes 34 reference skills, 34 specialized agents, and 21 slash commands covering TDD, debugging, code review, architecture, documentation, refactoring, security, testing, git workflows, API design, performance, UI/UX design, plugin development, and incident response. Full SDLC coverage with MCP integrations.