一键导入
test-coverage-improver
テストカバレッジを分析し、最もインパクトの大きいテスト追加を提案する。 「テスト改善」「カバレッジ」「test-coverage」で呼び出される。 モジュールごとのカバレッジ分析、未テストのエッジケース検出、 テストスケルトンの自動生成を行う。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
テストカバレッジを分析し、最もインパクトの大きいテスト追加を提案する。 「テスト改善」「カバレッジ」「test-coverage」で呼び出される。 モジュールごとのカバレッジ分析、未テストのエッジケース検出、 テストスケルトンの自動生成を行う。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | test-coverage-improver |
| description | テストカバレッジを分析し、最もインパクトの大きいテスト追加を提案する。 「テスト改善」「カバレッジ」「test-coverage」で呼び出される。 モジュールごとのカバレッジ分析、未テストのエッジケース検出、 テストスケルトンの自動生成を行う。 |
| metadata | {"short-description":"テストカバレッジ改善提案"} |
$ARGUMENTS (optional: specific module or file to analyze)
Analyzes existing tests, identifies coverage gaps, and suggests the most impactful tests to add. Generates test skeletons for quick implementation.
tests/ directory for all test filesRank suggested tests by impact:
| Priority | Criteria |
|---|---|
| HIGH | Security-related hooks (gate, injection-guard) without edge case tests |
| HIGH | Core modules (session, stage) with missing error path tests |
| MEDIUM | Utility modules with partial coverage |
| LOW | Already well-tested modules needing only edge cases |
For each HIGH priority gap, generate a test skeleton:
const { describe, it } = require("node:test");
const assert = require("node:assert/strict");
describe("{module} - {scenario}", () => {
it("should {expected behavior}", () => {
// Arrange
// Act
// Assert
assert.ok(false, "TODO: implement");
});
});
Output:
node:test runner (tobari standard)test_{subject}_{condition}_{expected_result}node --test --test-concurrency=1 tests//tdd帳の自己進化スキル。Claude Code の公式 API 変更を自動追跡し、 tobari のガバナンスフレームワークを最新状態に保つ。 Hook イベント・Permission 構文・出力フィールドの差分を検出し、 安全な変更は自動修正、大きな変更はユーザー承認を経て適用する。 エイリアス: /evolve 「/tobari-evolve」「/evolve」で呼び出される。
帳の免疫システム -- 証跡ログから攻撃・バイパスパターンを検出し、 自己修復パッチ(抗体)を生成する。生物の免疫系のように、 一度検出した攻撃パターンを記憶し、二度と同じ手口を通さない。 「/tobari-immune」で手動実行、または Stop hook から自動呼び出し可能。
帳をおろしてプロジェクトを開始する(STG0 儀式)。 自然言語の意図を構造化された契約に変換し、tobari-session.json を生成する。 エイリアス: /orose, /startproject 「/tobari」「帳をおろす」「/orose」で呼び出される。
セッション引き継ぎを実行し、HANDOFF.md を更新する
このスキルは /tobari に統合されました。/tobari <feature> を使用してください。 claude-code-orchestra 互換のエイリアスとして維持されています。