Loading...
Loading...
Compare original and translation side by side
🔍 何が起きましたか?簡単に教えてください:
- 「画面が真っ白」
- 「ボタンが動かない」
- 「データが保存されない」
🔍 What happened?Please tell us briefly:
- "The screen is completely white"
- "The button won't work"
- "Data isn't saving"
undefinedundefinedundefinedundefined| カテゴリ | 症状 | 自動対応 |
|---|---|---|
| 依存関係 | | |
| 型エラー | | error-recovery agent |
| ビルドエラー | | error-recovery agent |
| ランタイム | 画面が表示されない | ログ分析 |
| 環境設定 | 接続エラー | 環境変数確認 |
| CI/CD | CI が落ちた、パイプライン失敗 | ci スキルに dispatch |
CI/CD 問題: CI 障害・テスト失敗・パイプライン問題を検出した場合、スキル(ci)に処理を委譲します。ci スキルはskills/ci/エージェントを使用して自動診断・修正を行います。ci-cd-fixer
| Category | Symptoms | Automatic Response |
|---|---|---|
| Dependencies | | |
| Type Errors | | error-recovery agent |
| Build Errors | | error-recovery agent |
| Runtime | Screen not displaying | Log analysis |
| Environment Settings | Connection errors | Environment variable check |
| CI/CD | CI failed, pipeline failure | Dispatch to ci skill |
CI/CD Issues: When CI failures, test failures, or pipeline issues are detected, the process is delegated to theskill located atci. The ci skill uses theskills/ci/agent to perform automatic diagnosis and correction.ci-cd-fixer
npm install -g agent-browser# ページを開いてスナップショット取得
agent-browser open https://example.com/target-page
agent-browser snapshot -i -c
# 要素参照でクリック・入力
agent-browser click @e1
agent-browser fill @e2 "test"docs/OPTIONAL_PLUGINS.mdnpm install -g agent-browser# ページを開いてスナップショット取得
agent-browser open https://example.com/target-page
agent-browser snapshot -i -c
# 要素参照でクリック・入力
agent-browser click @e1
agent-browser fill @e2 "test"docs/OPTIONAL_PLUGINS.md🔍 診断中...
考えられる原因:
1. ビルドエラー
2. JavaScript エラー
3. ルーティング問題
🔧 自動チェック:
- ビルドログを確認... ✅ エラーなし
- コンソールエラーを確認... ❌ エラー発見
💡 解決策:
「直して」と言ってください。自動修正を試みます。🔍 診断中...
考えられる原因:
1. ビルドエラー
2. JavaScript エラー
3. ルーティング問題
🔧 自動チェック:
- ビルドログを確認... ✅ エラーなし
- コンソールエラーを確認... ❌ エラー発見
💡 解決策:
「直して」と言ってください。自動修正を試みます。🔍 Diagnosing...
Possible causes:
1. Build error
2. JavaScript error
3. Routing issue
🔧 Automatic checks:
- Checking build logs... ✅ No errors
- Checking console errors... ❌ Error found
💡 Solution:
Say "Fix it" to attempt automatic correction.🔍 診断中...
エラー: `ERESOLVE unable to resolve dependency tree`
🔧 解決策:
1. キャッシュをクリア
2. node_modules を再インストール
実行してもいいですか?(はい/いいえ)🔍 Diagnosing...
Error: `ERESOLVE unable to resolve dependency tree`
🔧 Solutions:
1. Clear cache
2. Reinstall node_modules
Can I execute these steps? (Yes/No)🔍 診断中...
検出: マージコンフリクト発生
🔧 解決策:
1. コンフリクト箇所を表示
2. 解決方法を提案
「解決して」と言えば自動マージを試みます。🔍 Diagnosing...
Detected: Merge conflict occurred
🔧 Solutions:
1. Show conflict locations
2. Propose resolution methods
Say "Resolve it" to attempt automatic merging.⚠️ 問題を検出しました
**問題**: モジュールが見つかりません
**原因**: 依存関係の未インストール
🔧 **自動修正します**
→ `npm install` を実行中...
✅ 修正完了!もう一度試してください。⚠️ Issue detected
**Problem**: Module not found
**Cause**: Dependencies not installed
🔧 **Automatic fix in progress**
→ Executing `npm install`...
✅ Fix completed! Please try again.⚠️ 問題を検出しました
**問題**: 設定ファイルの変更が必要
**影響**: 動作に影響する可能性
🤔 **確認させてください**:
設定を変更しても大丈夫ですか?
→ 「変更して」で実行
→ 「説明して」で詳細を確認⚠️ Issue detected
**Problem**: Configuration file needs to be changed
**Impact**: May affect functionality
🤔 **Please confirm**:
Is it okay to modify the configuration?
→ Say "Change it" to execute
→ Say "Explain it" to check details⚠️ 複雑な問題を検出しました
**問題**: {{問題の概要}}
**試した修正**: 3回失敗
🆘 **Cursor (PM) への相談をおすすめします**
以下を Cursor に共有してください:
- エラー内容: {{要約}}
- 試した対応: {{リスト}}
- 推定原因: {{分析}}
「報告書を作って」で共有用レポートを生成します。⚠️ Complex issue detected
**Problem**: {{Issue summary}}
**Fix attempts made**: 3 failures
🆘 **Recommended to consult Cursor (PM)**
Please share the following with Cursor:
- Error details: {{Summary}}
- Attempted fixes: {{List}}
- Estimated cause: {{Analysis}}
Say "Create a report" to generate a sharing report.| 質問 | 自動応答 |
|---|---|
| 「なぜエラーになった?」 | エラーログを分析して原因を説明 |
| 「どうすれば直る?」 | 具体的な解決手順を提示 |
| 「前は動いてたのに」 | git log で最近の変更を確認 |
| 「同じエラーが何度も」 | パターンを分析して根本対策を提案 |
| Question | Automatic Response |
|---|---|
| "Why did I get an error?" | Analyze error logs and explain the cause |
| "How do I fix it?" | Present specific resolution steps |
| "It worked before, why not now?" | Check recent changes using git log |
| "I keep getting the same error" | Analyze patterns and propose root cause solutions |
「診断して」
→ 全般的な健全性チェック
→ 問題があれば報告
→ なければ「問題なし」"Diagnose"
→ General health check
→ Report issues if any
→ Reply "No issues found" if none「詳しく診断して」
→ 依存関係チェック
→ ビルドテスト
→ テスト実行
→ 環境変数確認
→ 詳細レポート出力"Diagnose in detail"
→ Dependency check
→ Build test
→ Test execution
→ Environment variable check
→ Output detailed report/debug| 症状 | 推奨 |
|---|---|
| 「セッションがおかしい」 | |
| 「MCPが動かない」 | |
| 「何度試してもダメ」 | |
| 「コンテキストが変」 | |
| 「認証エラー」 | |
/debug| Symptom | Recommendation |
|---|---|
| "Session is behaving strangely" | Use |
| "MCP isn't working" | Use |
| "It still doesn't work after multiple attempts" | Use |
| "Context is odd" | Use |
| "Authentication error" | Check authentication status with |
claude authclaude auth status # 認証状態の確認
claude auth login # 再ログイン
claude auth logout # ログアウトclaude authclaude auth status # 認証状態の確認
claude auth login # 再ログイン
claude auth logout # ログアウト🔍 より詳しい診断が必要な場合
「もっと詳しく診断して」と言われたら:
→ `/debug` コマンドの使用を推奨
/debug コマンドは以下を診断します:
- セッション状態
- MCP サーバー接続
- プラグイン設定
- メモリ使用状況
- エラーログの詳細
💡 使い方:
チャット欄で `/debug` と入力してください🔍 When more detailed diagnosis is needed
If told "Diagnose in more detail":
→ Recommend using the `/debug` command
/debug command diagnoses the following:
- Session status
- MCP server connection
- Plugin settings
- Memory usage
- Detailed error logs
💡 How to use:
Enter `/debug` in the chat boxtroubleshoot スキルでの診断
↓
一般的な問題を自動チェック
↓
┌─────────────────────────────────────────┐
│ 解決できた? │
├─────────────────────────────────────────┤
│ YES → 修正完了 │
│ NO → 複雑な問題の可能性 │
└─────────────────────────────────────────┘
↓
/debug コマンドを推奨
↓
セッション・MCP・設定の詳細診断
↓
診断結果をもとに解決策提示troubleshoot skill diagnosis
↓
Automatic check for common issues
↓
┌─────────────────────────────────────────┐
│ Issue resolved? │
├─────────────────────────────────────────┤
│ YES → Fix completed │
│ NO → Possible complex issue │
└─────────────────────────────────────────┘
↓
Recommend `/debug` command
↓
Detailed diagnosis of session, MCP, and settings
↓
Propose solutions based on diagnosis results/debug/debug| ケース | 理由 |
|---|---|
| 3回修正しても解決しない | 環境設定の問題の可能性 |
| MCP ツールが応答しない | MCP サーバー接続の診断が必要 |
| セッション再開後の動作不良 | セッション状態の確認が必要 |
| 他のプロジェクトでは動く | プロジェクト固有設定の問題 |
| Case | Reason |
|---|---|
| Issue not resolved after 3 fix attempts | Possible environment configuration issue |
| MCP tools not responding | Need to diagnose MCP server connection |
| Malfunction after resuming session | Need to check session status |
| Works in other projects | Possible project-specific configuration issue |
npm run buildnpm run build🔍 LSP 診断実行中...
📊 診断結果:
| ファイル | 行 | メッセージ |
|---------|-----|-----------|
| src/api/user.ts | 23 | 'userId' は undefined の可能性があります |
| src/components/Form.tsx | 45 | 型 'string' を型 'number' に割り当てることはできません |
→ 2件の問題を検出
→ 上記が「動かない」原因の可能性が高い🔍 Running LSP diagnostics...
📊 Diagnosis results:
| File | Line | Message |
|---------|-----|-----------|
| src/api/user.ts | 23 | 'userId' may be undefined |
| src/components/Form.tsx | 45 | Type 'string' cannot be assigned to type 'number' |
→ 2 issues detected
→ The above are highly likely to be the cause of "it doesn't work"🔍 原因追跡
エラー: Cannot read property 'name' of undefined
追跡:
1. src/pages/user.tsx:34 - user.name を参照
2. src/hooks/useUser.ts:12 - user を返す ← Go-to-definition
3. src/api/user.ts:8 - API レスポンスが null の可能性
→ API エラー時のハンドリング不足が原因🔍 Tracking cause
Error: Cannot read property 'name' of undefined
Tracking:
1. src/pages/user.tsx:34 - Referencing user.name
2. src/hooks/useUser.ts:12 - Returns user ← Go-to-definition
3. src/api/user.ts:8 - API response may be null
→ Cause is insufficient handling of API errors| 症状 | LSP 活用 |
|---|---|
| 「動かない」 | Diagnostics でエラー箇所を特定 |
| 「どこがおかしい?」 | Go-to-definition で原因を追跡 |
| 「いつから壊れた?」 | Find-references で変更影響を確認 |
| Symptom | LSP Utilization |
|---|---|
| "It doesn't work" | Identify error locations with Diagnostics |
| "What's wrong?" | Track causes with Go-to-definition |
| "When did it break?" | Check change impacts with Find-references |