← ClaudeAtlas

defer-issueslisted

Use when a problem is being deferred rather than fixed — a bug, refactor, or cleanup the user sets aside, or one you notice outside your current task's scope — and record it against the affected code so it resurfaces the next time someone works there. Do that unprompted, including for work dropped at the end of a task. Also use at the other end, when a deferred item resurfaces — including a "TODO [issue-…]" marker or a "Pending:" rule showing up in code you are reading — and you are deciding whether to act on it now (the resolution protocol lives here), when several have piled up on one module, and to list, audit, or prune what is still open. Not for the current task's own to-do list, for problems being fixed right now, or for committing (use git-commit).
ingoclaro/claude-skills · ★ 0 · AI & Automation · score 73
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