_legacy/knowledge/incident-logger/SKILL.md
開発中に発生した問題・エラー・失敗を即座に記録し、体系的に管理するシステム。再発防止、ナレッジ蓄積、チーム学習を実現する問題管理の中核Skill。
npx skillsauth add gaku52/claude-code-skills incident-loggerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
このSkillは、問題記録とナレッジ蓄積の全てをカバーします:
このガイドで学べること: インシデント記録方法、分類・タグ付け、検索・分析、再発防止策の策定 公式で確認すべきこと: インシデント管理ツールの最新機能、業界標準のプロセス
ITIL Incident Management - ITサービス管理のベストプラクティス
PagerDuty Incident Response - インシデント対応ガイド
Atlassian Incident Management - インシデント管理フレームワーク
Google SRE Book - Incident Response - Googleのインシデント管理
- 本番環境のクラッシュ
- セキュリティ脆弱性
- データ損失
- サービス停止
詳細: guides/01-critical-incidents.md
- 主要機能の不具合
- パフォーマンス劣化
- ビルド・デプロイ失敗
詳細: guides/02-high-priority-incidents.md
- 副次的機能の問題
- UI/UX問題
- 軽微なバグ
詳細: guides/03-medium-priority-incidents.md
- 改善提案
- リファクタリング候補
- ドキュメント不備
詳細: guides/04-low-priority-incidents.md
- ベストプラクティス発見
- 効率化手法
- ツール活用法
詳細: guides/05-knowledge-capture.md
# [分類] 問題のタイトル
## 📅 発生日時
YYYY-MM-DD HH:MM
## 🎯 重要度
Critical / High / Medium / Low / Knowledge
## 📝 概要
問題の簡潔な説明(1-2文)
## 🔍 症状
- 何が起きたか
- エラーメッセージ
- 再現率
- 影響範囲
## 🔬 原因
根本原因の分析
## ✅ 解決方法
実際に問題を解決した手順
1. ステップ1
2. ステップ2
3. ...
## 🛡️ 予防策
同じ問題を防ぐために
- チェックリストに追加
- 自動化
- ドキュメント更新
## ⏱️ 所要時間
- 発見〜原因特定: X時間
- 解決: Y時間
- 合計: Z時間
## 📚 参考資料
- URL1
- URL2
## 🏷️ タグ
#カテゴリ #技術 #環境
## 📊 影響範囲
- 影響を受けたコンポーネント
- 影響を受けたユーザー
テンプレートファイル: templates/incident-template.md
# [緊急] タイトル
**発生**: YYYY-MM-DD HH:MM
**状況**: 簡潔な説明
**対応**: 実施した対応
**次のアクション**:
※後で詳細を追記
テンプレート: templates/quick-incident.md
build - ビルド関連
test - テスト関連
deploy - デプロイ関連
crash - クラッシュ
memory - メモリ関連
performance - パフォーマンス
network - ネットワーク
ui - UI関連
security - セキュリティ
config - 設定・環境
dependency - 依存関係
human-error - 人的ミス
#swift #swiftui #uikit #combine #coredata
#xcode #github-actions #fastlane
#ios15 #ios16 #ios17
#local #ci #testflight #production
#simulator #device
詳細: guides/06-tagging-system.md
# 新しいインシデント作成
cd ~/.claude/skills/incident-logger/incidents/
mkdir 2024/
touch 2024/001-build-failure-xcode15.md
# テンプレートからコピー
cp ../templates/incident-template.md 2024/001-build-failure-xcode15.md
# 編集
vim 2024/001-build-failure-xcode15.md
調査しながら記録を更新:
## 🔬 原因(更新中)
- 仮説1: Xcodeバージョン問題 → ❌ 違った
- 仮説2: キャッシュ問題 → ❌ 違った
- 仮説3: SPM依存関係 → ✅ これだった!
完全な解決方法、予防策を記録
該当するSkillに追加:
- チェックリストに項目追加
- ガイドに注意事項追加
- incidents/にリンク
# incidents/2024/index.md に追加
| ID | 日付 | タイトル | 重要度 | 所要時間 |
|----|------|---------|--------|---------|
| 001 | 2024-12-24 | Xcode15ビルド失敗 | High | 3h |
詳細: guides/07-workflow.md
# タグで検索
grep -r "#build" incidents/
# カテゴリで検索
grep -r "build" incidents/*/index.md
# キーワード検索
grep -r "Xcode" incidents/
問題発生時、まず過去事例を検索:
「Xcodeビルド失敗」
→ incidents/2024/001-build-failure-xcode15.md
→ 同じ問題!解決方法あり!
→ 5分で解決(調査不要)
# 月別インシデント数
ls incidents/2024/ | wc -l
# カテゴリ別集計
grep -r "^#" incidents/ | cut -d'#' -f2 | sort | uniq -c
# 平均解決時間
grep "所要時間" incidents/**/*.md
詳細: guides/08-searching-analyzing.md
incident-recorder-agent
quickincident-analyzer-agent
thoroughprevention-agent
mediumknowledge-extractor-agent
thoroughincident-analyzer-agent (類似事例検索)
→ 過去の解決方法があれば即適用
→ なければ調査開始
→ incident-recorder-agent (記録支援)
knowledge-extractor-agent (学習抽出) +
prevention-agent (予防策提案)
→ 各Skillへフィードバック
# スクリプト使用(推奨)
./scripts/create-incident.sh "Build failure on Xcode 15"
# 手動作成
INCIDENT_ID=$(printf "%03d" $(($(ls incidents/2024/ | wc -l) + 1)))
cp templates/incident-template.md incidents/2024/${INCIDENT_ID}-title.md
./scripts/update-index.sh
./scripts/incident-stats.sh
記録開始前:
問題解決平均時間: 4時間
記録開始後(3ヶ月):
初回問題: 4時間
類似問題: 30分
全体平均: 1.5時間
効果: 62.5%の時間短縮
lessons-learned - 教訓データベース(インシデントから抽出)quality-assurance - 品質改善このSkill自体の変更履歴は CHANGELOG.md を参照
tools
Fundamentals of modern web development. Framework selection (React, Vue, Next.js), project architecture, state management, routing, build tools, and CSS strategy best practices.
development
# React Development — Complete Guide > A comprehensive guide to building modern React applications with TypeScript. Covers fundamentals through advanced patterns, Hooks mastery, TypeScript integration, performance optimization, and algorithm internals. ## Target Audience - Developers new to React who want a solid foundation - Intermediate React developers looking to deepen their understanding of Hooks and TypeScript patterns - Engineers who want to understand React's internal algorithms (Virt
development
# Node.js Development Skill > A practical guide collection for Node.js development. Covers all aspects of Node.js application development, including Express, NestJS, asynchronous patterns, and performance optimization. ## Overview This skill covers the following topics: - **Express & NestJS**: When to use a lightweight framework vs. an enterprise framework - **Asynchronous Patterns**: Promise, async/await, Event Emitter, Streams, Worker Threads, Cluster - **Performance Optimization**: Memory
development
# Backend Development — Complete Guide > A comprehensive guide to backend engineering. Covers the fundamentals of HTTP, REST API design, databases, authentication, environment configuration, and algorithm proofs — everything needed to build robust server-side systems. ## Target Audience - Developers new to backend engineering - Frontend engineers expanding toward full-stack development - Engineers looking to solidify their understanding of server-side fundamentals ## Prerequisites - Basic p