log-build
Installation
SKILL.md
Log-build
Add minimal, systematic, high-value logs that help humans and agents locate failures quickly.
Goal: maximize debugging value per log line, not log count.
Core policy
- Detect first — check if the touched path actually needs logs.
- Reuse existing infrastructure — logger, format, directory, level conventions.
- If no logger exists and the flow is non-trivial — introduce the smallest shared setup (file-backed, timestamped, consistent format) instead of scattering ad hoc prints.
- Add few but decisive logs at key nodes only.
- If the task is trivial with no meaningful log point — add nothing.