← スキル一覧に戻る

debug-logging-assistant
by dmitriiweb
debug-logging-assistantは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。
⭐ 106🍴 38📅 2026年1月2日
SKILL.md
name: debug-logging-assistant description: Add purposeful debug logging to improve observability without changing behavior.
Debug Logging Assistant
Quick start
- Read the target code and recent failures to understand where visibility is missing.
- Add debug logs only where they help explain flow, inputs, branching, or error context.
- Keep logs small and descriptive: what is happening, key identifiers, and outcomes.
- Do not change control flow or data; only add logs. Avoid logging every step.
- See
references/logging_rules.mdfor placement and messaging guidelines.
Workflow
-
Inspect
- Identify high-signal spots: entry points, external calls, branching paths, retries, and error handling.
- Note important identifiers (IDs, counts, feature flags) that disambiguate paths.
-
Place logs
- Log before/after risky operations and around decisions that affect downstream behavior.
- Prefer one concise log per logical block over multiple low-value messages.
- Keep sensitive data out; include only safe identifiers or summaries.
-
Write messages
- Use consistent prefixes and log levels (debug/trace) already used in the codebase.
- Capture intent: action, inputs of interest, and outcomes (success/failure, counts).
- Avoid narrating trivial steps or restating obvious code.
-
Validate
- Ensure no functional changes: no refactors, no reordered logic, no added branching.
- Confirm log volume is reasonable and won’t spam hot paths.
- Re-run applicable tests if available; otherwise double-check for typos.
Reference
references/logging_rules.md: detailed rules for meaningful debug logging.
スコア
総合スコア
75/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
✓人気
GitHub Stars 100以上
+5
✓最近の活動
3ヶ月以内に更新
+5
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
