← Back to list

debug
by perfux
⭐ 0🍴 0📅 Jan 2, 2026
SKILL.md
name: debug description: Add traceable debug logs that can be auto-removed with a single command. Use when debugging issues - logs follow a strict format for clean removal.
Debug Logging
Add debug logs in this exact format so they can be auto-removed:
Format
// [DEBUG:PERFUX] <description>
console.log("[DEBUG:PERFUX]", <values>);
Examples
JavaScript/TypeScript:
// [DEBUG:PERFUX] Check user state
console.log("[DEBUG:PERFUX]", { user, isLoggedIn });
Python:
# [DEBUG:PERFUX] Check user state
print("[DEBUG:PERFUX]", user, is_logged_in)
Process
- Identify the issue area
- Add debug logs at key points (entry, exit, state changes)
- Run the code and analyze output
- Iterate: add more logs if needed
- When done, run the removal script
Removal
Run from project root:
.opencode/skill/debug/scripts/remove-debug-logs.ts
Or with bun:
bun .opencode/skill/debug/scripts/remove-debug-logs.ts
All lines containing [DEBUG:PERFUX] are removed automatically.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon