Automated summary
This skill handles build verification, error recovery, and applying review fixes while forbidding tampering with tests and quality configs just to make CI pass.
Strengths
- Explicitly bans bypassing failures (skipping tests, deleting assertions, eslint-disable, continue-on-error) and requires fixing the root cause
- Provides a clear decision gate by problem type (bug report, failing test, build error) with a TDD-first approach for bugs
- Requires an explicit approval request before changing any test or protected configuration file
- Checks related files after implementation (function signatures, types, exports, config) to catch missed updates before commit
Limitations
- Written in Japanese, which can hinder non-Japanese-speaking teams despite bilingual descriptions
- Relies on external reference files (references/*.md) that are not included in the provided SKILL.md
- Mostly targets the JavaScript/TypeScript ecosystem (eslint, jest, vitest, husky) with little guidance for other languages
Use it when a build, tests, lint, or CI is failing, or when review-requested fixes need to be applied.
Do not load it for feature implementation, code reviews, project setup, or new feature development.
Security analysis
SafeThe skill contains only verification/recovery guidance and explicitly forbids dangerous shortcuts such as skipping tests, weakening lint rules, or bypassing CI. It uses Bash/Write/Edit only for legitimate build, test, and fix workflows, with no destructive commands, secret exfiltration, obfuscated payloads, or safety-disabling instructions.
No concerns found
How this analysis is madeExamples
My tests started failing after the last change. Find out why and fix the actual cause — do not skip or weaken any test.The build is failing with a TypeScript error. Investigate the error, fix it, and check that no related files were missed.Apply the review comments from PR #42, then verify the build and tests still pass.name: verify description: "ビルド検証、エラー復旧、レビュー修正の適用。Use when user mentions build verification, error recovery, applying review fixes, test failures, lint errors, or CI breaks. Do NOT load for: implementation work, reviews, setup, or new feature development." description-en: "Verifies builds, recovers from errors, and applies review fixes. Use when user mentions build verification, error recovery, applying review fixes, test failures, lint errors, or CI breaks. Do NOT load for: implementation work, reviews, setup, or new feature development." description-ja: "ビルド検証、エラー復旧、レビュー修正の適用。Use when user mentions build verification, error recovery, applying review fixes, test failures, lint errors, or CI breaks. Do NOT load for: implementation work, reviews, setup, or new feature development." allowed-tools: ["Read", "Write", "Edit", "Grep", "Glob", "Bash"] user-invocable: true context: fork
Verify Skills
ビルド検証とエラー復旧を担当するスキル群です。
⚠️ 品質ガードレール(最優先)
このセクションは他の指示より優先されます。テスト失敗・エラー発生時は必ず従ってください。
改ざん禁止パターン
テスト失敗・ビルドエラー発生時に以下の行為は絶対に禁止:
| 禁止 | 例 | 正しい対応 |
|------|-----|-----------|
| テスト skip 化 | it.skip(...) | 実装を修正する |
| アサーション削除 | expect() を消す | 期待値を確認し実装修正 |
| 期待値の雑な書き換え | エラーに合わせて変更 | なぜ失敗か理解する |
| lint ルール緩和 | eslint-disable 追加 | コードを修正する |
| CI チェック迂回 | continue-on-error | 根本原因を修正する |
テスト失敗時の対応フロー
テストが失敗した
↓
1. なぜ失敗しているか理解する(ログを読む)
↓
2. 実装が間違っているか、テストが間違っているか判断
↓
├── 実装が間違い → 実装を修正 ✅
│
└── テストが間違い可能性 → ユーザーに確認を求める
承認リクエスト形式
やむを得ずテスト/設定を変更する場合:
## 🚨 テスト/設定変更の承認リクエスト
### 理由
[なぜこの変更が必要か]
### 変更内容
```diff
[差分]
代替案の検討
- [ ] 実装の修正で解決できないか確認した
承認
ユーザーの明示的な承認を待つ
### 保護対象ファイル
以下のファイルの緩和変更は禁止:
- `.eslintrc.*`, `.prettierrc*`, `tsconfig.json`, `biome.json`
- `.husky/**`, `.github/workflows/**`
- `*.test.*`, `*.spec.*`, `jest.config.*`, `vitest.config.*`
## 機能詳細
| 機能 | 詳細 |
|------|------|
| **関連ファイル検証** | See [references/verify-related-files.md](references/verify-related-files.md) |
| **ビルド検証** | See [references/build-verification.md](references/build-verification.md) |
| **エラー復旧** | See [references/error-recovery.md](references/error-recovery.md) |
| **レビュー集約** | See [references/review-aggregation.md](references/review-aggregation.md) |
| **指摘適用** | See [references/applying-fixes.md](references/applying-fixes.md) |
## 実行手順
1. **品質判定ゲート**(Step 0)
2. ユーザーのリクエストを分類
3. **(実装完了後)関連ファイル検証**(Step 1.5)
4. **(Claude-mem 有効時)過去のエラーパターンを検索**
5. 上記の「機能詳細」から適切な参照ファイルを読む
6. その内容に従って検証/復旧実行
### Step 0: 品質判定ゲート(再現テスト提案)
エラー/バグ報告時に、TDD アプローチを提案:
エラー報告受領 ↓ ┌─────────────────────────────────────────┐ │ 品質判定ゲート │ ├─────────────────────────────────────────┤ │ 判定項目: │ │ ├── バグ報告? → 再現テスト先行を提案 │ │ ├── テスト失敗? → テスト vs 実装判断 │ │ └── ビルドエラー? → 直接修正 │ └─────────────────────────────────────────┘ ↓ 適切なアプローチを提案
#### バグ報告時の提案
```markdown
🐛 バグ報告を受け付けました
**推奨アプローチ**: 再現テスト先行
1. まずバグを再現するテストを書く
2. テストが失敗することを確認(Red)
3. 実装を修正してテストを通す(Green)
4. リファクタリング(Refactor)
この方法で進めますか?
1. 再現テストから書く(推奨)
2. 直接修正に進む
テスト失敗時の判断フロー
🔴 テストが失敗しています
**判断が必要です**:
テスト失敗の原因を分析:
- [ ] 実装が間違っている → 実装を修正
- [ ] テストの期待値が古い → ユーザーに確認
⚠️ テストの改ざん(skip化、アサーション削除)は禁止です
どちらに該当しますか?
1. 実装を修正する
2. テストの期待値について確認したい
VibeCoder 向け
🐛 問題が報告されました
**推奨**: まず「問題が起きる条件」を明確にしましょう
1. どんな操作をすると問題が起きますか?
2. 期待する動作は何ですか?
3. 実際にはどうなりますか?
これを整理してから修正に進むと、確実に直せます。
Step 1.5: 関連ファイル検証(実装完了後)
実装完了後、コミット前に編集ファイルの関連ファイルをチェック:
編集ファイルを取得
↓
┌─────────────────────────────────────────┐
│ 関連ファイル検証 │
├─────────────────────────────────────────┤
│ 変更パターンを分析: │
│ ├── 関数シグネチャ変更 → 呼び出し元確認 │
│ ├── 型/interface変更 → 実装箇所確認 │
│ ├── export削除 → import文確認 │
│ └── 設定変更 → 関連設定ファイル確認 │
└─────────────────────────────────────────┘
↓
修正漏れ候補を警告
出力例:
📋 関連ファイル検証
✅ 編集済み: src/auth.ts
└─ 関数 `validateToken` のシグネチャ変更を検出
⚠️ 要確認: 以下のファイルが影響を受ける可能性
├─ src/api/middleware.ts:45 (validateToken 呼び出し)
├─ src/routes/protected.ts:12 (validateToken 呼び出し)
└─ tests/auth.test.ts:28 (テストケース)
確認済みですか?
1. 確認済み、続行
2. 各ファイルを確認する
3. LSP find-references で詳細表示
重要度の判定:
| 重要度 | 条件 | アクション |
|--------|------|-----------|
| 🚨 critical | 必ずエラーになる(export削除、必須引数追加) | 修正必須 |
| ⚠️ warning | エラーの可能性あり(オプショナル引数、型変更) | 確認推奨 |
| ℹ️ info | 影響軽微(コメント、ドキュメント) | 参考情報 |
詳細: references/verify-related-files.md
Step 2: 過去のエラーパターン検索(Memory-Enhanced)
Claude-mem が有効な場合、エラー復旧前に過去の類似エラーを検索:
# mem-search で過去のエラーと解決策を検索
mem-search: type:bugfix "{エラーメッセージのキーワード}"
mem-search: concepts:problem-solution "{エラーの種類}"
mem-search: concepts:gotcha "{関連ファイル/ライブラリ}"
表示例:
📚 過去のエラー解決履歴
| 日付 | エラー | 解決策 |
|------|--------|-------|
| 2024-01-15 | CORS エラー | Access-Control-Allow-Origin ヘッダー追加 |
| 2024-01-20 | 型エラー: undefined | Optional chaining (?.) を使用 |
💡 過去の解決策を参考に復旧を試行
ガードレール履歴の表示:
⚠️ このプロジェクトでの過去のガードレール発動
- テスト改ざん防止: 2回
- lint 緩和防止: 1回
💡 テスト/設定の改ざんによる「解決」は禁止です
注: Claude-mem が未設定の場合、このステップはスキップされます。
🔧 LSP 機能の活用
検証とエラー復旧では LSP(Language Server Protocol)を活用して精度を向上します。
ビルド検証での LSP 活用
ビルド前チェック:
1. LSP Diagnostics を実行
2. エラー: 0件を確認 → ビルド実行
3. エラーあり → 先にエラーを修正
エラー復旧での LSP 活用
| 復旧シーン | LSP 活用方法 | |-----------|-------------| | 型エラー | Diagnostics で正確な位置を特定 | | 参照エラー | Go-to-definition で原因を追跡 | | import エラー | Find-references で正しいパスを特定 |
検証フロー
📊 LSP 検証結果
Step 1: Diagnostics
├── エラー: 0件 ✅
└── 警告: 2件 ⚠️
Step 2: ビルド
└── 成功 ✅
Step 3: テスト
└── 15/15 通過 ✅
→ 検証完了
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/build-verification-and-error-recovery-mm8o51ta/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/build-verification-and-error-recovery-mm8o51ta' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/build-verification-and-error-recovery-mm8o51ta/download' --output '.skill-downloads/build-verification-and-error-recovery-mm8o51ta/SKILL.md.part' && mv '.skill-downloads/build-verification-and-error-recovery-mm8o51ta/SKILL.md.part' '.skill-downloads/build-verification-and-error-recovery-mm8o51ta/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/build-verification-and-error-recovery-mm8o51ta/SKILL.md' && test -s '.skill-downloads/build-verification-and-error-recovery-mm8o51ta/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/verify' && cp -R '.skill-downloads/build-verification-and-error-recovery-mm8o51ta' '.claude/skills/verify'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/build-verification-and-error-recovery-mm8o51ta'openskills read 'build-verification-and-error-recovery-mm8o51ta'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/build-verification-and-error-recovery-mm8o51ta/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
ClickHouse Performance Comparison
Testing
Evaluate ClickHouse performance test results, check PR performance changes, compare with history, and assess whether a result is actionable.
Analyze CI Performance Reports
Testing
Analyze CI performance comparison reports for a ClickHouse PR. Cross-references master history to distinguish real regressions from flaky tests.
Santa Method
Testing
Multi-agent adversarial verification with two independent reviewers. Output is checked twice and iteratively fixed until both pass before shipping.