agentleFS
RikepilBRikepilB/claude-skills/skills/handoff-to-issues/SKILL.md

handoff-to-issues

Skill1 starsChanged 5 months agoMITView on GitHub

Use while working on a project that has a docs/handoff/ tree, when you want its pending work turned into trackable GitHub issues — harvest Next-steps / deferred / blocked tasks from the father HANDOFF.md and the current session folder into issues with todo/subtask checklists. Triggers — "make issues from the handoff", "turn next-steps into tickets", "sync the backlog to GitHub", "create issues/subtasks for what's left", "open tickets for the remaining work". Proposes a deduped batch and creates after ONE confirm. To stand up a NEW project's board/labels/milestones use project-scaffold; to RECORD the handoff itself use handoff-context.

The file

Files
SKILL.md

Handoff → Issues — mirror the tree's pending work into GitHub

The docs/handoff/ tree already lists what's left (Next steps, deferred, blocked). This skill mirrors those into GitHub issues without duplicating and without touching the tree (read-only on handoff). It proposes a deduped batch and creates only after one confirm.

Skill family: handoff-context WRITES the tree · catch-up/deep-catch-up READ it to orient · project-scaffold stands up a NEW project's board/labels/milestones · this mirrors an EXISTING tree's pending work into issues.

Step 0 — read the source (inline, no subagent)

  • Father docs/handoff/HANDOFF.md → ## Current state (blocked / in-flight) + ## Session index.
  • Current session folder's ## Next steps — folder name is in docs/handoff/.current-session.
  • docs/handoff/_meta/LATER-TASKS.md — deferred / system follow-ups.
  • gh auth status (need repo scope) and gh repo view --json nameWithOwner. No tree → say so, stop (this skill needs a handoff tree; offer project-scaffold to create one).

Step 1 — harvest & classify

Turn each actionable line into a candidate issue:

  • Title ≤70 chars, imperative.
  • Body = the why + an acceptance checklist of - [ ] subtasks (the sub-steps from the handoff line). One issue with subtasks beats many tiny issues — group multi-part items.
  • Label — map intent: security, p0, bug, chore, documentation, user-action (console/manual, not code), enhancement, tech-debt. Create a missing label only if needed.
  • Milestone — attach if an existing one fits; don't invent milestones here (that's project-scaffold).

Skip pure status notes ("206 tests pass"); harvest only work that remains.

Step 2 — dedup (do not skip)

  • gh issue list --state open --json number,title,labels — drop/merge candidates whose title or intent already exists.
  • Embed a hidden marker in each created body so reruns are idempotent: <!-- handoff-src: <session-folder>/<short-hash-of-title> -->. On rerun, skip any candidate whose marker is already present in an open issue.

Step 3 — propose, then ONE confirm

Print a scannable table — Title · Label · Milestone · #subtasks · new/dup — and the count of new issues. Single confirm gates all creation. On yes, create via the Bash tool, one or two at a time, body via --body-file (avoid huge inline --body; avoid /*-glob substrings in args — a path-protection hook can block the call):

gh issue create -R <owner/repo> --title "…" --body-file <file> --label "…" [--milestone "…"]

Step 4 — report

Print created issue numbers + URLs, grouped by milestone/label. Do not edit the handoff tree — the Stop hook owns its freshness and handoff-context owns its writes. Optionally tell the user their next-steps now have issue numbers (they can note them at the next handoff write).

Red flags

ThoughtReality
"I'll tick off the handoff next-steps as I file them"Read-only on the tree. Never edit it here.
"Just create them, dedup later"Always run Step 2 first — reruns must not duplicate.
"One issue per sub-bullet"Group into one issue with a - [ ] checklist when they're one unit.
"I'll spin up milestones/labels/a board too"That's project-scaffold. This skill only files issues.
"Create without showing the user"Step 3 batch + one confirm is mandatory (outward-facing writes).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.