← スキル一覧に戻る

trace
by tkersey
public dot files
⭐ 37🍴 0📅 2026年1月23日
SKILL.md
name: trace description: TRACE (Type/Readability/Atomic/Cognitive/Essential) lens for explaining code and proposing improvements (no edits applied).
Trace
Intent
Explain code by tracing what it does and scoring friction through TRACE.
Deliver actionable suggestions (file/line targets + minimal patch sketches) but do not modify files.
When to use
- “trace it” / “what is this doing?”
- Explain confusing control flow or hidden side effects.
- Readability/cognitive-load feedback when you want analysis-only.
- Refactor planning (“what would you change?”) without implementation.
Workflow
- Choose the slice: entrypoint, inputs, outputs, and state.
- Build a cognitive heat map (hotspots + surprises).
- Trace behavior: happy path + key failure paths; call out mutations/IO.
- Apply the TRACE checklist (below) to each hotspot.
- Propose suggested edits:
- 1–3 smallest improvements per hotspot.
- Include file:line targets.
- Use short pseudo-diffs or code sketches.
- Stop before editing; if changes are desired, escalate to
$fix.
Guardrails
- No file edits, no commits.
- No running commands unless explicitly requested.
- If expected behavior is unclear/product-sensitive, stop and ask.
- If you suspect crash/corruption risk, recommend
$fix.
TRACE checklist
- Type: make invalid states unrepresentable; eliminate “maybe” states where possible.
- Readability: understandable in 30 seconds; names match behavior.
- Atomic: one responsibility per unit; explicit side effects.
- Cognitive: minimize branching, hidden dependencies, and cross-file hops.
- Essential: keep only domain-required complexity; delete incidental ceremony.
Activation cues
- "trace" / "walk me through" / "explain"
- "what is this doing" / "why is this complex"
- "readability" / "cognitive load" (analysis-only)
- "suggest improvements" / "refactor plan"
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です