mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-08 02:03:34 +08:00
feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)
ECC community plugin pruning: removed 530+ non-essential files (.cursor/, .opencode/, docs/ja-JP, docs/zh-CN, docs/zh-TW, language-specific skills/agents/rules). Retained 4 agents, 3 commands, 5 skills. Promoted 13 rule files (8 common + 5 typescript) to .claude/rules/ for CC native loading. Extracted reusable patterns to EXTRACTED-PATTERNS.md.
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
# テストカバレッジ
|
||||
|
||||
テストカバレッジを分析し、不足しているテストを生成します。
|
||||
|
||||
1. カバレッジ付きでテストを実行: npm test --coverage または pnpm test --coverage
|
||||
|
||||
2. カバレッジレポートを分析 (coverage/coverage-summary.json)
|
||||
|
||||
3. カバレッジが80%の閾値を下回るファイルを特定
|
||||
|
||||
4. カバレッジ不足の各ファイルに対して:
|
||||
- テストされていないコードパスを分析
|
||||
- 関数の単体テストを生成
|
||||
- APIの統合テストを生成
|
||||
- 重要なフローのE2Eテストを生成
|
||||
|
||||
5. 新しいテストが合格することを検証
|
||||
|
||||
6. カバレッジメトリクスの前後比較を表示
|
||||
|
||||
7. プロジェクト全体で80%以上のカバレッジを確保
|
||||
|
||||
重点項目:
|
||||
- ハッピーパスシナリオ
|
||||
- エラーハンドリング
|
||||
- エッジケース(null、undefined、空)
|
||||
- 境界条件
|
||||
Reference in New Issue
Block a user