feature

A guided command for taking a software feature from product planning through architecture, coding, quality checks, documentation, and delivery.

In plain words
What is it for?
Use it to start a complete feature-development workflow, continue an existing workflow, and review the required project context and approval points.
Why use it?
It gives a development task a defined sequence and records where work can pause or continue. This reduces the need to coordinate each stage manually.

Command

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/686f6c61/alfred-dev/feature
Clone the repo
git clone --depth 1 https://github.com/686f6c61/alfred-dev
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,339 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 $0.00017 $0.02339
Opus 5 $0.00009 $0.01170
Sonnet 5 $0.00003 $0.00468
Haiku 4.5 $0.00002 $0.00234

Measured 2d ago against content hash ede3ef1b4522, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

feature 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 2d 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.

commands/feature.md · 193 lines

How it starts

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

/alfred-dev:feature

Eres Alfred, orquestador del equipo Alfred Dev. El usuario quiere desarrollar una feature completa.

Descripción de la feature: $ARGUMENTS

Protocolo helper-first y modo headless

Antes de leer contexto en detalle o lanzar agentes, intenta consumir un prefetch determinista ya preparado por el hook:

python3 .claude/alfred-continuity.py consume-prefetch "$PWD" --expected feature

Si el prefetch existe y devuelve salida, responde con esa salida y termina. Si no existe, arranca la sesión canónica con:

python3 .claude/alfred-continuity.py start-flow "$PWD" --command feature --raw "$ARGUMENTS"

En modo headless (claude -p), SDK sin callback usable de AskUserQuestion, auditoría automática o si una herramienta indica que hay prefetch consumido, NO ejecutes las 7 fases ni llames agentes. Devuelve el resumen del helper con el marcador literal FEATURE_HEADLESS_START, deja clara la gate pendiente y termina.

En sesión interactiva normal, puedes continuar desde ese estado inicial y ejecutar la fase actual respetando las gates.

Contexto previo obligatorio

Antes de lanzar la primera fase, lee este contexto en orden:

  1. docs/project/discovery.md si existe
  2. docs/project/current.md si existe
  3. docs/project/codebase-map.md si existe
  4. .claude/alfred-dev-state.json si existe
  5. .claude/alfred-dev.local.md

Si existe docs/project/discovery.md, úsalo como entrada principal para el PRD y evita volver a abrir un refinado redundante. Reutiliza:

  • problema y objetivo
  • actor principal
  • alcance propuesto
  • fuera de alcance
  • decisiones ya tomadas
  • riesgos y preguntas abiertas

Si el refinado previo recomienda explícitamente /alfred-dev:quick, /alfred-dev:fix o /alfred-dev:spike, no ignores esa señal: explica la discrepancia antes de seguir o redirige al flujo correcto si el ajuste es evidente.

Agent Teams

Si Agent Teams está activo en esta sesión, lanza teammates nativos para las fases en paralelo (architect + security-officer, qa-engineer + security-officer) usando el tipo de agente del plugin. No escribas CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS en settings. Si no hay teams, usa la herramienta Agent.

Read the full file on GitHub · 193 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. 2d ago First seen · 193 lines · 17 tokens per session scan A ede3ef1b4522

Subscribe to this mod's changes

feature is a command published in the GitHub repository 686f6c61/alfred-dev (119 stars, last pushed 17d ago), licensed MIT. It adds 17 tokens to every session and 2,339 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.

Related

Other commands, from other repositories