sdd-reverse-feat

sdd-reverse-feat is a command for Claude Code from zekiriabd/SDD-Pro. It costs 115 tokens per session (1,124 once invoked), scanned A, original, Apache-2.0.

Fáza, ktorá skladá jednu čistú funkčnú požiadavku zo skupiny používateľských príbehov získaných zo starého systému. Oddeľuje obchodné správanie od technických detailov pôvodného kódu.

In plain words
What is it for?
Na vytvorenie súboru FEAT z používateľských príbehov a vyriešených dôkazov zo spätného rozboru. Výsledná požiadavka slúži ako most k bežnému vývojovému procesu.
Why use it?
Pomáha premeniť nájdené čiastkové zistenia na požiadavku použiteľnú pri novom vývoji. Zároveň využíva podklady z predchádzajúcich fáz, aby sa nestratil pôvodný význam.

Command for Claude Code

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/zekiriabd/sdd-pro/sdd-reverse-feat
Clone the repo
git clone --depth 1 https://github.com/zekiriabd/SDD-Pro

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 sdd-reverse-feat

README.md
[![agentmods](https://agentmods.dev/badge/commands/zekiriabd/sdd-pro/sdd-reverse-feat.svg)](https://agentmods.dev/commands/zekiriabd/sdd-pro/sdd-reverse-feat)
Your own site
<a href="https://agentmods.dev/commands/zekiriabd/sdd-pro/sdd-reverse-feat"><img src="https://agentmods.dev/badge/commands/zekiriabd/sdd-pro/sdd-reverse-feat.svg" alt="Measured on agentmods" height="20"></a>
Per session 115 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,124 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.00115 $0.01124
Opus 5 $0.00057 $0.00562
Sonnet 5 $0.00023 $0.00225
Haiku 4.5 $0.00012 $0.00112

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

Security

Grade A, and why

sdd-reverse-feat 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 5d 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.

.claude/commands/sdd-reverse-feat.md · 72 lines

How it starts

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

/sdd-reverse-feat {U-N} [--json]

Rôle

Lancer la Phase 3c (barreau du haut) : composer la FEAT métier propre à partir des User Stories 3b, plomberie démotée, evidence résolue transitivement. C'est le pont vers /sdd-full (Intent A→B).

us/{n}-{m}-{Name}.md  --[3c /sdd-reverse-feat]-->  feats/{n}-{FeatName}.md

Remplace l'ex-/sdd-reverse mono-saut (extracteur décommissionné, ADR reverse-spec-ladder).

Args

Arg Type Description
{U-N} string requis Identifiant U-N stable (ex. U-3)
--json flag Émet le rapport en JSON

Pré-conditions

  1. (n, FeatName) résolu via inventory.json._featAllocations[{U-N}] (3a a tourné). Absent → ERROR [REVERSE_UNIT_NOT_FOUND].
  2. ≥ 1 US workspace/us/{n}-{m}-{Name}.md (3b a tourné). Aucune → ERROR [REVERSE_UNIT_NOT_FOUND] + suggérer /sdd-reverse-stories {U-N}.
  3. workspace/plans/{n}-{FeatName}.analysis.md (3a — résolution evidence). Absente → ERROR [REVERSE_UNIT_NOT_FOUND].
  4. .sdd/python/sdd_reverse/feat.reverse.template.md présent (ADV-9). Sinon → ERROR [REVERSE_TEMPLATE_MISSING].

Actions

  1. Résoudre le projet legacy via inventory.json._featAllocations. Le nom retenu est {P}toutes les étapes suivantes l'utilisent, jamais un re-glob.
  2. Routage de tier (déterministe, ADR governance-reverse-complexity-ladder) — sur le projet {P} résolu en 1 :
    python .sdd/python/sdd_reverse/code_unit_complexity.py \
        --project workspace/old/{P} --unit {U-N} --rung 3c
    
    balanced si simple, deep si complex (même classifieur que 3a → la classe est stable sur tout l'escalier ; rubrique docs/rubrics/reverse-complexity-routing.md). Fail-safe câblé : toute erreur imprime deep sur stdout + la raison sur stderr, exit 0 — jamais de traceback à la place d'un tier.
  3. Spawn unique Agent(reverse-feat-composer) avec args = {U-N} ET model_tier = le tier routé en 2 (override au spawn, borné par tier_floor/tier_ceiling de l'agent — agent inchangé, no-spawn préservé).
  4. L'agent suit STEP 0 à 6 de .sdd/agents/reverse-feat-composer.md (composition + validate_reverse_feat max 3 + check_feat_completeness).
  5. Émission ligne chat finale [REVERSE] {U-N} → FEAT {n}-{FeatName} ({modèle}, ...). (PROGRESS%).

Read the full file on GitHub · 72 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. 5d ago First seen · 72 lines · 115 tokens per session scan A 116dfaf6a84e

Subscribe to this mod's changes

sdd-reverse-feat is a command published in the GitHub repository zekiriabd/SDD-Pro (191 stars, last pushed 2d ago), licensed Apache-2.0. It adds 115 tokens to every session and 1,124 once invoked, about $0.0006 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.