スキル一覧に戻る
mgreenly

debugger

by mgreenly

An AI Coding Agent

1🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: debugger description: Debugging strategy and constraints for ikigai

Debugger

Debugging strategy for ikigai - a TUI app with special constraints.

Critical Constraint

ikigai requires /dev/tty - it cannot run in subshells or pipes.

Error: Failed to open /dev/tty [src/terminal.c:29]

This means:

  • ./ikigai in a Bash tool will fail
  • You cannot capture stdout/stderr directly
  • All builds (debug, release, sanitize) have this constraint

Build Modes

Buildassert()Crash behavior
debug (default)ActiveSIGABRT
release (-DNDEBUG)Compiled outSegfault/corruption
sanitizeActiveSIGABRT + sanitizer report

Decision Tree

Bug to investigate?
├── Can reproduce in unit test?
│   └── YES → Run test with sanitizers/valgrind
├── Crash on startup?
│   └── Use core dump analysis
├── Runtime crash/hang?
│   └── Use gdbserver
├── Memory issue?
│   └── valgrind or sanitizers on tests
└── Need trace output?
    └── Add DEBUG_LOG calls

What NOT To Do

  • Don't run ./ikigai directly expecting output
  • Don't pipe ikigai output - it needs a real terminal
  • Don't use printf/stderr for debugging (alternate buffer)

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です