Skip to content
Back to skills

Features Batch Development

ASecurity

Runs `feature-development` unattended across an ordered list of named features — or the whole pending backlog — one feature at a time on a single shared branch, with zero git commits unless asked with --commit. Built for long unattended stretches over several small features, checking in only when a blocker needs a human decision. Writes a dated report to `<reports>/feature-batch/`, updated after each feature completes (not batched at the end), so progress survives a cutoff, crash or power out...

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
ai-agentsgorailstestingcode-reviewgit

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add jpablodrexler/backlog-kit --skill features-batch-development --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Features Batch Development?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Features Batch Development
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jpablodrexler-features-batch-development/badge)](https://www.skillsdirectory.com/skills/jpablodrexler-features-batch-development)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: features-batch-development
description: >-
  Runs `feature-development` unattended across an ordered list of named
  features — or the whole pending backlog — one feature at a time on a single
  shared branch, with zero git commits unless asked with --commit. Built for long unattended stretches
  over several small features, checking in only when a
  blocker needs a human decision. Writes a dated report to
  `<reports>/feature-batch/`, updated after each feature completes (not
  batched at the end), so progress survives a cutoff, crash or power outage.
  TRIGGER when asked to batch-develop or unattended-develop a list of named
  features or the whole backlog (e.g. "develop features 13, 16 and 19 while
  I'm away", "develop the whole planned backlog unattended").
license: MIT
metadata:
  author: Juan Pablo Drexler
---

`<backlog>` is `docs/backlog` unless `.backlog-kit.toml` sets `[paths] backlog_dir`; `<reports>` is the `reports` folder next to the backlog's parent (`docs/reports` by default).

`<integration>` is `develop` and `<production>` is `main` unless `.backlog-kit.toml` sets `[git] integration_branch` / `production_branch`.

**Never run `git commit`, `git push` or open a PR.**

The one exception is `--commit`, passed only when the user asks for a commit
per feature: it is handed to each `feature-development` call, whose Phase 7
asks `gitflow` to make that feature's single local commit. This skill never
commits itself and never pushes.

Run `feature-development` in a loop over a named list of features, all on
one shared branch, never committing, writing progress to a resumable report
as each feature finishes.

**Input**: Optionally `--commit` (one commit per completed feature, made by
`gitflow` through `feature-development` Phase 7). Either (a) an ordered list of feature identifiers (names or `#`
numbers from `<backlog>/features-planned.md`), as given by the user —
e.g. "13, 16, 19" or "task-postpone, expense-dashboard-charts" — or (b) a
request for **the whole planned backlog** (e.g. "develop the whole
backlog", "everything that's pending", "all planned features") when the
user wants every currently-pending row processed without naming each one —
see Step 1 for how (b) resolves into a concrete list. Optionally, a branch
name to use or resume; if omitted, one is proposed and confirmed (see
Step 2). Optionally **tests at the end**, an alternative workflow the user asks for ("test the whole batch at the end", "skip the tests except for the last feature"): the loop passes `--defer-tests` to every `feature-development` call except the last feature still to be processed, and that last call runs the test and end-to-end phases in full over the whole shared branch.
Only the whole-suite and end-to-end runs move: every feature still writes its own tests in Phase 2. Without that request the default stands: the tests run for every feature. The commit cadence and this choice are asked once, before the loop, when the request does not state them (Step 2b).

---

## Why this exists, and the one constraint that shapes everything below

`feature-development` already does the full single-feature lifecycle
end-to-end and already never commits. Its Phase 1, though, always creates a
*fresh* `feature/<change-name>` branch per feature and hard-blocks if the
working tree is dirty when it tries — which is exactly what a second
feature's uncommitted first-feature work would trigger. `feature-development`
now accepts an optional `--skip-branch-setup` flag for exactly this reason
(see its Phase 1 Step 1.5's batch-mode branch) — this skill is the only
intended caller of that flag. Every step below exists to satisfy the two
constraints the user set for this workflow: **one shared branch across every
feature in the run**, and **zero commits, ever, at any point** — not even
between features.

One accepted consequence of the no-commit constraint, worth knowing before
a long run: `feature-development`'s Phase 2R reviews scope themselves to
the uncommitted files (review gate G0), which — once feature #2 starts —
include every earlier feature's still-uncommitted files too, not just the
current one. Later features' reviews re-scan earlier features' already-fixed
code. This is unavoidable without committing between features (which the
user has ruled out), not a bug to fix here. With `--commit`, G0 uses the
files differing from `<integration>` plus the uncommitted ones, so the earlier
features' committed files are re-scanned in the same way.

---

## Steps

### 1. Resolve the feature list

**If the user named specific identifiers** (form (a)): parse the input into
an ordered list of feature identifiers. For each one, resolve it against
`<backlog>/features-planned.md`'s `## Feature List` table — by `#` or by
its backtick-wrapped `Change name` — the same lookup
`features-next`/`feature-plan` already use.

- If an identifier resolves to nothing in either `features-planned.md` or
  `features-implemented.md`, stop and ask the user to correct it rather
  than guessing which feature they meant.
- If an identifier resolves to a row already in `features-implemented.md`
  (an implemented row has no status column any more — holding the row is what makes it implemented), tell the user and ask whether to skip it or genuinely
  re-run it — don't silently skip an item the user explicitly listed.

**If the user asked for the whole backlog** (form (b)): read every row in
`<backlog>/features-planned.md`'s `## Feature List` table — this file by
construction only ever holds pending (not-yet-implemented) rows, so no
implemented-row filtering is needed the way it is for an explicit list.
Order the resulting list as follows:

1. If the file's `## Dependencies` → `### Recommended implementation order`
   subsection has actual content (not `_None yet._`), follow that order
   exactly.
2. Otherwise, respect `### Hard implementation dependencies`: for any pair
   in that section where both features are in the backlog and one is
   recorded as depending on the other, the prerequisite goes first —
   topologically order the list rather than using raw table order where a
   dependency would otherwise be violated.
3. For anything not covered by 1 or 2, fall back to the table's own row
   order.

Each planned row's full brief lives in `<backlog>/features/NNN-<change-name>.md` (its `Brief` cell links it). Batch mode does not read it here: `feature-development` reads that file itself in its Propose phase and hands it to `openspec-propose` for any feature whose SDD artifacts don't exist yet, and a missing or empty brief file stops that feature with `PROPOSE_BLOCKED` (handled as any other Blocked outcome in Step 4).
A feature whose artifacts are already `done` never needs its brief file. When confirming the derived list, it is worth checking that each feature's brief file exists, so a missing one surfaces before a multi-hour run rather than during it.

An empty backlog (no rows) is not an error — tell the user there's nothing
pending and stop here.

Because "the whole backlog" is a derived list rather than one the user
typed out explicitly, **show the resolved, ordered list to the user and
confirm it before proceeding** (a plain confirmation is enough — this
doesn't need the full `AskUserQuestion` treatment reserved for genuine
decisions elsewhere in this skill) — a multi-hour unattended run is worth a
last look before it starts, especially since the backlog may hold rows the
user forgot were still pending.

Either way, build the final ordered list of resolved change-names — this is
the list every later step refers to as "the requested list."

### 2. Determine the shared branch, and detect a resumable run

Check `<reports>/feature-batch/` for a `FEATURE_BATCH_REPORT_*.md` file (any
date) whose recorded "Requested features" list overlaps substantially with
the newly requested list from Step 1.

- **Exact or near-exact match found, and it isn't fully checked off**: this
  is a resume. Read which features it already marks `✅ Completed`; those
  are skipped in Step 4. Use the branch name recorded in that report's
  header — do **not** create or re-propose a branch name. Run
  `git branch --show-current` and, if it doesn't already match, `git
  checkout` that branch (do not create it — it must already exist from the
  interrupted run; if it doesn't, stop and tell the user rather than
  silently creating a same-named-but-different branch).
- **Partial, ambiguous overlap** (e.g. the new list shares some but not all
  identifiers with an existing unfinished report): do not guess — ask the
  user to confirm whether this continues that report or is a genuinely new
  run.
- **No match** (fresh start): check `git status` first — if the working
  tree is dirty, stop and report; never stash or discard, per this repo's
  universal guardrail. Then determine the candidate branch name: one the
  user supplied (normalized to `feature/<name>` the same way `gitflow`
  already normalizes an explicit branch name), or, if none was given, the
  default `feature/batch-<YYYY-MM-DD>`.

  Check whether that candidate already exists, locally or on the remote
  (`git rev-parse --verify --quiet <name>`; `git ls-remote --heads origin
  <name>`) — since this is a non-resume run (Step 2 already ruled that out
  above), an existing branch under that name is unrelated leftover state
  (e.g. a same-day default-name collision from an earlier, different batch
  run), not something to reuse silently.

  - **If it already exists**: warn the user plainly — name the branch and
    that it already exists — and ask (**AskUserQuestion**) whether to
    continue anyway (this run uses that existing branch as-is, via
    `gitflow`'s start-feature action, which resumes an existing branch by
    checking it out and syncing it with `<integration>`) or stop this run here so
    they can supply a different name or clean up the stale branch
    themselves. "Continue anyway" is itself the confirmation — do not ask a
    second time.
  - **If it doesn't exist**: confirm the candidate name with the user via
    **AskUserQuestion** before creating anything.

  Either way, once confirmed, invoke the `gitflow` skill with "start
  feature `<name>`" to create or resume it — this is the **only**
  branch-creation point in this entire skill; nothing in Step 4's loop ever
  touches branches again. If `gitflow` raises its own
  already-on-a-feature-branch question, let it surface normally to the
  user — that's expected, not an error.

Either way, confirm `git branch --show-current` matches the intended branch
before proceeding to Step 3.

### 2b. Ask for the run options the request left open

Two choices shape the whole run, and each takes a few words to state, so no long prompt is needed: ask for them here, once, before the loop starts, instead of assuming.

- **Commits.** The request may already say it ("commit as you go", "one commit per feature", "no commits"): take that answer and do not ask. Otherwise ask: **No commits** (nothing is committed; the user reviews the working tree), **One commit per feature** (`--commit`, made by `gitflow` through `feature-development`), or **Commit as the work goes** (a `gitflow` commit after each phase that changed files; each `feature-development` call is told "commit as the work goes").
- **Tests.** The request may already say it ("test the whole batch at the end", "run the tests for every feature"): take that answer and do not ask. Otherwise ask: **Tests for every feature** (the default) or **Tests once, at the end of the batch** (`--defer-tests` on every feature but the last; the review gate, the build and the commits still run for each feature).

Ask whatever is open in one `AskUserQuestion` call (two questions), and make no call when the request settled both. An explicit request is the confirmation: never ask the user to confirm what they already said. Record the two answers in the report header (Step 3). The run is built for long unattended stretches, so this is the last question before the loop, apart from the decision points `feature-development` itself raises.

### 3. Initialize or resume the report file

**Fresh run**: write the report file now (path and format below), listing
every identifier from the requested list with `⬜ Not started`, plus a
header recording the branch name, the full requested list, the run options chosen in Step 2b (commits, tests), and a start timestamp — so the file exists and shows the whole plan even if the run is
interrupted before the very first feature finishes.

**Resume**: reopen the existing report file found in Step 2. Do not
overwrite it or its already-`✅ Completed` entries — only append/update
from where it left off.

### 4. The loop

For each identifier in the requested list that is not already `✅ Completed`
(per Step 2/3), in order, the entry moves through three possible outcomes —
**In Progress**, then exactly one of **Completed**/**Blocked**:

- **In Progress** — update the entry to `🔄 In progress` **immediately,
  before** invoking `feature-development` at all (i.e. this write happens
  first, ahead of the step below, not alongside or after it). No summary
  text accompanies this status — there's nothing to summarize yet; it exists
  purely so a crash or session cutoff mid-feature leaves a trace of what was
  being worked on, not just silence. Then invoke the `feature-development`
  skill via the **Skill** tool, passing `<change-name> --skip-branch-setup` (plus `--commit` for one commit per feature, or the words `commit as the work goes` for a commit after each phase, as chosen in Step 2b, and `--defer-tests` when the run uses tests at the end and at least one more feature is still to be processed after this one; a feature completed with its tests deferred is written `✅ Completed (tests deferred) — <summary>`).
  This is a direct Skill invocation, not a backgrounded Agent call — it
  executes inline in this same turn, so any `AskUserQuestion`
  `feature-development` itself raises (its Phase 0 feature confirmation, a
  a project phase's `PROD_CODE_FIXED` choice, etc.) reaches the user normally rather
  than being lost to a background run — this must never be worked around by
  invoking `feature-development` through a backgrounded Agent call instead,
  even under an "Auto Mode" or similar autonomous-operation instruction; see
  `feature-development`'s own guardrails on why that confirmation is never
  optional. Wait for it to finish, then resolve to one of:
  - **Completed** — `feature-development` displayed its "Feature
    Development Complete" summary ending in the change archived and the
    feature marked implemented. Write a fresh ≤2-sentence summary (see
    below) and update the report entry to `✅ Completed — <summary>`
    immediately, before moving on.
  - **Blocked** — `feature-development` stopped early and surfaced a
    `*_BLOCKED` reason per its own guardrails. Show the reason to the user
    and ask (**AskUserQuestion**) how to proceed:
    - **Retry now** — re-invoke the same `feature-development <change-name>
      --skip-branch-setup` call, after the user has resolved whatever
      blocked it. The entry stays `🔄 In progress` (no need to re-write it —
      it's already there) until this retry itself resolves to Completed or
      Blocked.
    - **Skip and continue** — mark the entry `⚠ Blocked — <reason>` in the
      report and move to the next identifier in the list.
    - **Stop the run here** — mark the entry `⚠ Blocked — <reason>`, then
      go straight to Step 5 without processing any remaining identifiers.

Continue to the next identifier, unless the user chose to stop.

### 5. Writing the ≤2-sentence summary

After a feature completes, read its now-archived `proposal.md` (under
`openspec/changes/archive/<date>-<change-name>/`) or the brief
file the row's `Details` cell links (`<backlog>/features/NNN-<change-name>.md`;
the row `features-archive` just wrote to `<backlog>/features-implemented.md`
holds only the links, not the text), and write a **fresh** summary —
condensed, not a verbatim copy of the (intentionally much longer) brief. State what the feature
does and, if genuinely notable, one implementation detail. Two sentences,
never more.

### 6. Ending the run

Whether the loop finished the whole list or stopped early by user choice,
append a footer to the report: counts (requested / completed / blocked or
skipped / not reached) and an end timestamp.

Tests at the end (only when the user asked for it). If the run used the alternative workflow of testing the whole batch at the end, say so plainly in chat and in the report: which features had their tests deferred, and whether the last feature's run covered them.
If the run ended before a last feature ran the test and end-to-end phases (it was blocked, skipped, left open or the user stopped the run), the deferred tests have **not** run: list the features concerned and ask (**AskUserQuestion**) whether to run them now. If yes, run `feature-development`'s test phase and end-to-end phase yourself, as the orchestrator, over the whole shared branch (read its own test-phase, end-to-end-phase and long-runs reference files), and record the result in the report. Never end the run as finished while deferred tests have not run.

Tell the user plainly, in the chat response as well as the report, what was
committed. Without `--commit`: **nothing was committed at any point.** The branch now holds every completed (and any
partially-attempted) feature's work, entirely uncommitted. Point them at
`git status`/`git diff` to review it, and at `gitflow`'s finish action once they're ready to commit and open a PR — this skill does not do
either.

---

## The report

**Path**: `<reports>/feature-batch/FEATURE_BATCH_REPORT_{YYYY-MM-DD}.md` — this
directory holds local working artifacts, like the review
reports next to it — not committed history. On a genuinely new (non-resume)
run started the same day a report already exists for, append `-2`, `-3`,
etc. rather than overwriting — same collision rule `code-reviewer` uses.
This does not apply when resuming an existing report (Step 2) — that case
continues the same file, it never creates a new one.

**Format**:

```markdown
# Feature Batch Development Report — {YYYY-MM-DD}

**Branch:** feature/batch-2026-08-11
**Requested features:** task-postpone, finance-modules-test-coverage, expense-dashboard-charts
**Started:** {timestamp}

## Progress

- [x] **task-postpone** — Completed {HH:MM}. <one or two sentence summary of what shipped.>
- [ ] finance-modules-test-coverage — 🔄 In progress
- [ ] expense-dashboard-charts — ⬜ Not started

## Run Summary
<!-- appended once the run ends (Step 6) -->
**Ended:** {timestamp}
**Completed:** 1/3  **Blocked/Skipped:** 0  **Not reached:** 2
```

Every status change (`⬜` → `🔄` → `✅`/`⚠`) is a **separate, immediate**
write to this file, not something accumulated in memory and flushed once —
that immediacy is the entire point of this report existing.

---

## Guardrails

- **Never commit, ever, in this skill's own logic** (with `--commit` each `feature-development` call's Phase 7 commits through `gitflow`; without it nothing is committed). No `git commit`, `git push`, or any other git
  write command at any point in this skill's own logic. The sole exception
  is Step 2's one-time branch creation/checkout via `gitflow`'s start-feature
  action on a fresh run — nothing else, including every `feature-development`
  call in Step 4's loop (always invoked with `--skip-branch-setup`
  specifically so it can't create a commit-adjacent branch operation of its
  own either), touches git state.
- **Never create more than one branch in a run.** The shared branch is
  established exactly once, in Step 2, before the loop starts. Every
  `feature-development` invocation in Step 4 passes `--skip-branch-setup`
  precisely to guarantee it never creates, switches, or syncs a branch on
  its own.
- **Always invoke `feature-development` via the Skill tool directly, never
  wrapped in a backgrounded Agent call.** A background agent can't reliably
  surface an interactive `AskUserQuestion` back to the user — and
  `feature-development` itself raises several (feature confirmation,
  blocker guidance, the `PROD_CODE_FIXED` choice). This skill's entire
  "leave it running, answer occasional questions" model depends on those
  reaching the user in real time.
- **Run `feature-development` for every feature, with all its phases.**
  Developing the features by hand "to move faster", or skipping its review,
  test, build, viewport and docs phases, defeats the run. If the user's
  request conflicts with a rule here (for example, wanting commits), use
  the supported option (`--commit`) or ask; never drop the skill's machinery.
- **Write the report (Steps 3–6) even when you do the work inline.** It is
  not optional; an unattended run without it cannot be resumed.
- **Write the report incrementally, never batched.** The full requested
  list is written up front with every entry `⬜ Not started` (Step 3), and
  each entry's status changes the moment its outcome is known (Step 4) —
  never accumulated in memory and written once at the end. This is the
  entire resilience mechanism a session-limit cutoff, crash, or power
  outage depends on.
- **Process features strictly one at a time, in order.** Never invoke
  `feature-development` for two identifiers in parallel — they would stack
  conflicting uncommitted changes onto the same working tree.
- **Never guess at a resume.** If an existing today's report's requested
  list only partially, ambiguously overlaps the newly requested list, ask
  the user to confirm which run this continues rather than assuming.
- **If the working tree is dirty at the start of a genuinely fresh (not
  resumed) run, stop and report — never stash or discard**, matching every
  other skill in this repo.
- **Always state plainly, at the end of a run, what was committed**
  (nothing, or one commit per completed feature with `--commit`) and where the accumulated work lives — this skill hands off
  to the user for review and commit; it does not do either itself.
- **Never let an "Auto Mode" or similar autonomous-operation instruction
  suppress any confirmation this skill or `feature-development` raises** —
  the whole backlog confirmation in Step 1, the branch-name confirmation in
  Step 2, `feature-development`'s own per-feature selection confirmation
  (its Phase 0), and every blocker-guidance prompt in Step 4. This skill's
  entire premise is a long unattended run that still checks in with the
  user at genuine decision points — an autonomous-operation bias toward
  "proceed without asking" would silently defeat that premise, not just
  bend it.

- **Tests at the end is the user's choice, and it defers, never waives.**
  `--defer-tests` is passed to `feature-development` only when the user chose the tests at the end, in the request or by answering Step 2b, only for features that are not the last one still to be processed, and it moves only that skill's whole-suite test phase and end-to-end phase, never the writing of tests (a feature's new tests are still created in Phase 2): the review gate, the build, the spec compliance check, the docs sync, the archive and every commit still run for each feature.
  Without that request the default stands and the tests run for every feature. The run is never reported as finished while deferred tests have not run (Step 6).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.