defer-issueslisted
Install: claude install-skill ingoclaro/claude-skills
# Defer issues
Deferred work dies in conversation logs. This skill anchors each deferred issue to the code it affects so it resurfaces exactly when someone is already there — the moment a fix is cheapest. Two mechanisms, chosen by scope:
- **File-specific** (specific lines or functions in files you can name) → a one-line **TODO comment** at the affected lines, pointing at the record. This is the **default**: it costs zero context until someone actually opens that file, and its writes are ordinary (no protected paths).
- **Broad** (a whole package, module, or component — or any *future* file matching a pattern) → a **rule file** in `.claude/rules` with `paths:` frontmatter, auto-injected whenever a matching file is read. Injection carries more weight than a comment, and a broad issue has no single line to anchor a comment to. Reserve rules for this case: every rule is paid for in context on every matching read, so a rule that a comment could have covered is pure overhead.
The tiebreak: could you list the affected spots exhaustively right now? Yes → comment each spot. No (it's about the module as a whole, or about files not yet written) → rule.
**The record is always a file in `issues_dir`.** One `issues_dir/issue-<id>.md` holds the issue itself, whichever mechanism you picked; the anchor — marker or rule — is only a tl;dr plus a pointer to that record. A rule never holds the issue body: it is injected on every matching read, so what it costs must stay near a comment's cost