log-design
ログ設計の妥当性チェック。一般的なログ基準と日本国内法的要件(電子帳簿保存法・個人情報保護法等)に基づき、ログ設計・実装を検証する。
Original · translation did not pass checksTarget: Design & content creation. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original Japanese text
Topics in the source
- Log Design Check - ログ設計チェック
- 実行フロー
- Step 1: 現状分析
- Step 2: 一般的ログ基準チェック
- ログレベル基準
- 構造化ログ実装パターン
- 機密情報マスキングパターン
- ログインジェクション防止
導入先の補足ファイル documents/development/project/log-design.md があれば、その段で読む。補足ファイルは製品への当てはめ(コマンド・パス・ポート等)だけを持ち、本スキルの規則を緩めない。食い違えば本スキルが優先する。 プロジェクトのログ設計が一般的な基準と法的要件を満たしているか体系的にチェックし、不足があれば実装パターンを提示する。 参照: セキュリティ関連のログルールは documents/development/coding-rules/common-rules.md Section 4 も併せて確認すること。 -- 以下を確認する: ログライブラリ・設定ファイル(logback-spring.xml、pino設定等) 既存のログ出力箇所 取り扱うデータの種類(取引データ、個人情報、メール送信等) -- | レベル | 用途 | 例 | |--------|------|-----| | ERROR | システム異常、復旧不可能なエラー | DB接続失敗、外部API障害、未処理例外 | | WARN | 想定内だが注意が必要な事象 | リトライ発生、閾値超過、非推奨API使用 | | INFO | ビジネス上重要なイベント | ユーザーログイン/ログアウト、決済完了、重要な状態遷移 | | DEBUG | 開発・調査用の詳細情報 | リクエスト/レスポンス詳細、SQL実行詳細(本番では無効化) | Spring Boot + Logback (JSON形式): Next.js (API Routes / Server Actions): ログに出力してはいけない情報: パスワード、トークン、APIキー クレジットカード番号(PCI DSS) マイナンバー(個人番号) マスキング実装例 (Java): ユーザー入力をログ出力する際、改行コード(CR/LF)を含む文字列がそのまま出力されると、偽のログ行が挿入される(ログインジェクション/ログフォージング)。監査ログの信頼性を損なうため、必ずサニタイズする。 フロントエンド (Server-side only): | カテゴリ | ログ対象 | レベル | |---------|---------|--------| | 認証 | ログイン成功/失敗、ログアウト、トークンリフレッシュ | INFO | | 認可 | 権限不足によるアクセス拒否 | WARN | | データ変更 | 重要データのCRUD操作(誰が・いつ・何を) | INFO | | 決済 | 決済開始・完了・失敗 | INFO/ERROR | | 外部連携 | 外部API呼び出し(リクエスト/レスポンス概要) | INFO | | エラー | 未処理例外、システム障害 | ERROR | -- 該当
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- Crearize/ai-dev-helm
- Source file
- skills/project/log-design/SKILL.md
- Fixed revision
- f4e77f04f367c8be90d35911210dd1abf217c04c
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: Crearize/ai-dev-helm · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T17:00:23.414Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.