feature-to-tasks

feature-to-tasks is a command for Claude Code from nicelight/DevRails-26. It costs 22 tokens per session (4,507 once invoked), scanned A, original, MIT.

A command for turning one product feature into an implementation plan and complete task cards linked to the project’s specifications and dependencies. It plans the work but does not execute it.

In plain words
What is it for?
Use it with one feature ID to create or reconcile its implementation plan and JSON task cards. It also checks the project foundation, specifications, contracts, and required planning documents.
Why use it?
It helps ensure a feature has the required requirements, design coverage, module boundaries, dependency links, and implementation steps before coding starts.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions AGENTS.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/nicelight/devrails-26/feature-to-tasks
Clone the repo
git clone --depth 1 https://github.com/nicelight/DevRails-26

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for feature-to-tasks

README.md
[![agentmods](https://agentmods.dev/badge/commands/nicelight/devrails-26/feature-to-tasks.svg)](https://agentmods.dev/commands/nicelight/devrails-26/feature-to-tasks)
Your own site
<a href="https://agentmods.dev/commands/nicelight/devrails-26/feature-to-tasks"><img src="https://agentmods.dev/badge/commands/nicelight/devrails-26/feature-to-tasks.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,507 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.04507
Opus 5 $0.00011 $0.02253
Sonnet 5 $0.00004 $0.00901
Haiku 4.5 $0.00002 $0.00451

Measured 6d ago against content hash a6fe7c93c8af, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

feature-to-tasks scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/_shared/references/commands/feature-to-tasks.md · 402 lines

How it starts

The opening of the file, as written. The whole thing — 402 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/feature-to-tasks - Feature design -> implementation plan -> JSON tasks

This command plans; it never executes tasks.

<input_contract> Accept exactly one product FT-<NNN>. Without arguments, ask the operator to select one feature in interactive mode; unattended callers must supply it explicitly. Reject FT-000 and every non-single-feature target; Foundation tasking belongs to /foundation-to-tasks.

Before any durable plan or task write, require:

  • target feature, linked epic, governing REQ/RTM, clarified PRD, and applicable Constitution rules;
  • .memory-bank/spec-backbone.md Global Backbone Status complete, or valid minimal with explicit global/shared not-applicable rationales, and positive integer Planning Revision;
  • .memory-bank/spec-index.md plus existing feature links and plausible subject-based canonical specs;
  • .memory-bank/contracts/boundary-map.md as the canonical accepted module/change-unit inventory and dependency topology;
  • a valid Foundation decision. When Foundation is required, the concrete indexed FT-000 final gate must be done and its ID retained as a direct or transitive dependency of every product task;
  • .memory-bank/tasks/index.json, every existing indexed task for the target, and existing plan/protocol/behavior evidence used for reconciliation;
  • .memory-bank/workflows/execute-loop.md#fresh-feature-tasking-boundary, #execution-cohesive-task-boundary, and .memory-bank/workflows/tier-policy.md#task-claim-and-dependency-ownership before slicing;
  • available .memory-bank/schemas/task.schema.json and remaining applicable tier-policy sections; parse them after boundary acceptance and before drafting task records.

Block task drafting when clarification is explicitly pending|blocked, feature design is blocked, a decomposition-relevant unresolved marker remains, global backbone/foundation readiness is invalid, or schema/tier policy is unavailable or incompatible. PLANNING_RECONCILIATION_REQUIRED is an instruction to reconcile, not a blocker. Missing clarification metadata alone is allowed. </input_contract>

<hard_invariants>

  • JSON task records and .memory-bank/tasks/index.json are the only task model. Do not add a schema, registry, planning mode field, nested context model, or lifecycle value.
  • Concrete IDs use TASK-NNN-TN-FT-NNN-WN; ID tier/feature/wave segments match record fields. Product tasks use dependency-driven W1+; W0 belongs only to FT-000.
  • Lifecycle/status ownership is defined by .memory-bank/workflows/tier-policy.md#closure-authority. Planning writes planned, or ready only when dependencies and blockers are already satisfied; it does not claim scheduler closure/promotion ownership.
  • Existing queue reconciliation is the default. Preserve ID, feature, wave, tier, dependencies, lifecycle status, verification evidence, protocol links, and the semantic basis of in_progress|done|done_for_prod|failed records. Full re-slicing requires an explicit operator request.
  • If repair needs identity, tier, wave, dependency, AC, or material-scope changes, report rebuild_required; do not hide a new task behind repair.
  • Every task boundary satisfies .memory-bank/workflows/execute-loop.md#execution-cohesive-task-boundary.
  • Product feature, architecture slice/module, and task are distinct. A feature may cross slices and a slice may support several features. A task normally has one primary owning slice/module. A task may cross slices only after the execution-cohesion rule leaves one indivisible outcome; an orchestration owner and explicit crossed boundaries establish ownership, not merge evidence.
  • boundary-map.md alone owns module identity and topology; plans and tasks link relevant graph/contract blocks without copying the subgraph.
  • touched_files is advisory and non-exhaustive. A non-empty runtime_context.write_boundary is a deliberate hard boundary and not a copy of touched_files; forbidden_scope and stop conditions remain hard.
  • Features compose product behavior and canonical links; they do not own default FT-* multi-concern design hubs.
  • New specs use subject-based canonical paths.
  • spec-index.md remains the pure Type | Path | Status | Scope | Change route registry.
  • Never resolve competing canonical paths by creating a third spec.
  • Behavior specs are optional JSON given/when/then examples linked only through feature ## Behavior specs and task source_artifacts. They are not a registry, schema, task field, readiness gate, verification target, or done criterion. </hard_invariants>

Read the full file on GitHub · 402 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 402 lines · 22 tokens per session scan A a6fe7c93c8af

Subscribe to this mod's changes

feature-to-tasks is a command published in the GitHub repository nicelight/DevRails-26 (22 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 4,507 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.