flurdy/agent-skills/plan-to-backlog

Claude Code and agent skill by flurdy/agent-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Materialize an approved cited plan into proportionate Beads tracking when the user asks for durable ownership. Recommends no item, one item, or a bounded epic; checks owners and duplicates; previews every write; applies only after exact confirmation.

Install

npx vskill@latest install flurdy/agent-skills/plan-to-backlog

SKILL.md

The same SKILL.md was published earlier as flurdy/agent-skills/plan-to-backlog.

Plan to Backlog

Proposal-first. May recommend no backlog change. Never writes without confirmation.

Turn an approved architecture or implementation plan into the smallest justified durable Beads structure. Inspect the cited plan and existing work, decide whether no item, one focused item, or a bounded epic is warranted, preview the exact write set, then apply only that confirmed proposal.

The canonical behavior and thresholds are defined in the plan-to-backlog contract.

When to use

Select this skill dynamically, or through /plan-to-backlog, only when:

  • an /architect or implementation plan has been explicitly approved;
  • the plan has a stable source or exact capturable session text;
  • the user explicitly asks to create or reconcile durable Beads ownership rather than

continue planning; and

  • no-item versus single-item versus epic is still a meaningful decision.

The existence or approval of a plan alone is not a trigger. Do not use this skill for raw ideas or Jira intake (/triage), plan refinement (/architect), retrospective backlog quality (/backlog-groom), or cross-system reconciliation (/tracking-sweep or /trello-beads).

Usage

text
/plan-to-backlog <plan-source>

Accepted sources:

  • repository or workspace Markdown path;
  • Bead ID whose description, design, notes, or linked specification contains the plan;
  • Jira or Confluence key/URL when the runtime can retrieve the complete plan; or
  • the exact current-session /architect result.

There is no invocation that bypasses preview. An initial request to "apply" still follows the full source, proposal, and confirmation procedure.

Ownership boundary

  • /architect owns technical planning and remains read-only.
  • /triage owns unstructured prompt/Jira intake and explicit --human-review tracking of

pending human decisions; it hands approved implementation plans here without creating children.

  • /plan-to-backlog alone owns approved implementation-plan disposition, proposal, confirmation,

apply, and recovery. It does not establish ownership of an unapproved human decision.

  • /backlog-groom remains retrospective and read-only by default.

Do not call /triage to classify or apply the plan. Similar low-level Beads lookups do not change this skill's ownership of the plan-specific policy.

Safety invariants

  • Stay read-only until the exact proposal has been rendered and confirmed.
  • Never create one bead per plan step.
  • Never infer plan approval from a filename, heading, ticket status, or tracking

recommendation.

  • Never choose silently between plausible existing owners or duplicates.
  • Never add a dependency merely to represent preferred execution order.
  • Never close, delete, supersede, or automatically roll back a bead.
  • Never use bd promote to turn a durable task into an epic; it promotes wisps only.
  • Never use a broad graph write in v1; apply individual commands so every result is

attributable in the ledger.

  • A changed source, tracker graph, or proposal invalidates confirmation.

1. Resolve and approve the source

Parse <plan-source> and load only the complete plan needed for materialization.

Resolve the installed stdin-only hashing helper at ~/.agents/skills/plan-to-backlog/scripts/sha256-stdin.sh. Never place plan text in shell arguments. File sources use raw bytes. Bead, Jira, Confluence, and session text use --canonical-text, which normalizes UTF-8 text to LF line endings and exactly one trailing newline (utf8-lf-final-newline-v1). Record the selected normalization with the source.

File source
  1. Resolve the path without editing it.
  2. Read the complete plan.
  3. Stream the exact file bytes to the hashing helper through standard input.
Bead source
  1. Resolve the owning store first with ~/.agents/skills/next/scripts/next-select resolve <id>;

never infer it from the ID or the current directory. On ambiguous or unavailable, ask or report and stop. Then run bd -C <directory> show <id> --json --include-comments.

  1. Identify the exact description, design, notes, comments, or specification text being

consumed.

  1. Stream that exact logical text to the hashing helper's --canonical-text mode through

standard input.

Jira or Confluence source
  1. Fetch the cited issue/page with the available connector.
  2. Identify the exact plan body and linked material being consumed.
  3. Stream only the sanitized exact plan text to the hashing helper's --canonical-text

mode through standard input.

Session source
  1. Identify the exact finalized plan in the current session.
  2. If it cannot be distinguished from drafts or captured exactly, ask the user to save or

cite it and stop.

  1. Stream the exact finalized text to the hashing helper's --canonical-text mode through

standard input.

When a shell heredoc is the only stdin mechanism, use a quoted delimiter that does not occur in the text so no content is expanded or truncated. Canonical-text mode makes the heredoc's terminal newline deterministic. Never include credentials, .env contents, keys, tokens, or irrelevant personal data.

Record:

text
source.kind
source.locator
source.title
source.fingerprint
source.normalization
source.approvalEvidence

Approval must be explicit in the current run or cited from a specific approval statement. If approval is absent or ambiguous, continue only as a read-only preview and set readiness to needs-clarification; apply is unavailable.

2. Gather Beads context read-only

Choose the owning store before any read. New items have no ID yet, so ownership follows outcome (see the beads skill): cross-project work belongs in the validated workspace root store; work wholly owned by one repository belongs in that repository's store. List the candidates read-only:

text
~/.agents/skills/next/scripts/next-select stores

In local mode (workspace: false) the single local entry owns the work. At a workspace root pick the store whose outcome matches and record its directory; a store listed with usable: false blocks apply for items it would own — report the error, do not fall back to the workspace store. Every later bd read and every helper call uses that directory.

Run:

text
bd -C <directory> status
bd -C <directory> list --status=open

If no active Beads database is available, render a tracker-neutral breakdown when useful, mark apply unavailable, and stop before confirmation.

Search in this order, using only supported read forms:

  1. `bd list --metadata-field plan_source_sha256=<source-fingerprint> --status

open,in_progress,blocked,deferred,closed --json. Some Beads versions require a query for bd search even with metadata filters; use the query-free bd list` form.

  1. source locator through metadata, external references, specification IDs, descriptions,

and notes;

  1. high-signal outcome keywords across open and closed work;
  2. likely owners' parents, children, and dependencies with bd show and bd children.

Inspect high-signal matches rather than auditing the whole backlog. Classify each as:

  • owner — already owns the complete durable outcome;
  • duplicate — competing representation of the same outcome;
  • related — relevant but materially different; or
  • not-relevant — inspected and excluded.

An exact existing owner is reused. Closed work is evidence, not automatically an active owner. If two plausible owners remain, list both with evidence, set readiness to needs-clarification, and ask the user to resolve ownership.

3. Select readiness and disposition

Use this schema:

text
readiness: ready | needs-clarification
disposition: no-item | single-item | epic

Omit disposition when readiness is needs-clarification and the missing decision could change the shape.

No item

Choose no-item when an existing bead/tree already owns the complete outcome, or the plan contains only execution mechanics under one existing owner. Cite the owner and evidence. The write set is empty and no confirmation is needed.

Single item

Choose single-item when one independently valuable durable outcome remains. Keep coding, tests, review, documentation of the same change, rollout, commits, retries, agents, and handoffs in the item's design or execution checklist.

Epic

Thresholds and the child test below are the shared sizing criteria; this skill applies them to plan disposition.

The normal threshold is three to six direct children. Allow two only when they cross a genuine ownership, repository, release, or independently shippable boundary and the aggregate outcome itself needs tracking. More than six requires clustering or clarification.

Every child must have:

  1. an observable outcome;
  2. its own acceptance evidence;
  3. value if a sibling changes, is delayed, or is omitted;
  4. an independent close/reprioritize/assign lifecycle; and
  5. outcome language rather than work-phase language.

If fewer children pass, collapse to single-item.

A dependency is genuine only when the dependent cannot satisfy its acceptance criteria until the prerequisite outcome exists. Planning order, coding before tests, review after implementation, and shared context do not qualify.

4. Build the proposal

Set proposalVersion to 1 and obtain generatedAt from the no-argument ~/.agents/skills/plan-to-backlog/scripts/utc-now.sh helper. Exclude generatedAt from fingerprint input so time alone cannot invalidate an unchanged proposal.

Use stable local references such as owner, child-1, and child-2. Each proposed item contains:

text
ref
action: reuse | create | update-type
existingId
type
priority
title
scope
acceptance
sourceCitation

Default priority is P2 unless source evidence justifies another value. Priority never justifies a separate child by itself.

Relationships contain:

text
kind: parent | blocking
from
to
rationale

Build an ordered logical write set containing stable proposal refs, call templates, and the expected result for every mutation. A template that needs a newly created ID uses an explicit placeholder such as ${owner.actualId}; it never guesses the future Beads ID. Use only these write classes:

  • bd create for a new owner or child;
  • bd update <id> --type epic for an explicitly confirmed durable owner conversion;
  • bd update <id> --parent <owner-id> for an explicitly confirmed reused-child parent;
  • bd dep add <dependent-id> <prerequisite-id> for a justified blocker.

Do not include unrelated field edits. New items include a human-readable source citation and metadata keys for plan_source, plan_source_sha256, and plan_proposal_ref. Preserve existing external references.

Create a canonical text representation containing proposalVersion, the source fingerprint and normalization, readiness, disposition, items, relationships, and logical write set with stable-ref placeholders. Exclude generatedAt, runtime-resolved actual IDs, and the later execution-guard arguments. Stream the canonical text to the stdin-only hashing helper to obtain the proposal fingerprint. After hashing, render guarded call templates using that fingerprint for both proposal and confirmation arguments; the guard envelope and later ledger-based placeholder substitution are not part of the logical write set.

Render the proposal

Render this header before any mutation:

text
Plan-to-Backlog Proposal — READ-ONLY
Proposal-first. May recommend no backlog change. Nothing has been changed.

Then show:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
9
7-day trend score
12

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/flurdy/agent-skills/plan-to-backlog/badge)](https://verified-skill.com/skills/flurdy/agent-skills/plan-to-backlog)

Something wrong with this skill or its page? Tell us.