reverse-feat-composer

reverse-feat-composer is an agent for Claude Code from zekiriabd/SDD-Pro. It costs 141 tokens per session (3,902 once invoked), scanned A, original, Apache-2.0.

A reverse-engineering agent that combines user stories and analysis for one legacy-code unit into a single business feature document. It separates business behavior from implementation details and links feature statements back to source evidence.

In plain words
What is it for?
Use it to compose a feature from analyzed user stories, remove low-level plumbing from the business description, and retain file-and-line evidence.
Why use it?
It turns scattered technical findings into a document that product people can read while preserving traceability to the original code.

Agent 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 agents/zekiriabd/sdd-pro/reverse-feat-composer
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 reverse-feat-composer

README.md
[![agentmods](https://agentmods.dev/badge/agents/zekiriabd/sdd-pro/reverse-feat-composer.svg)](https://agentmods.dev/agents/zekiriabd/sdd-pro/reverse-feat-composer)
Your own site
<a href="https://agentmods.dev/agents/zekiriabd/sdd-pro/reverse-feat-composer"><img src="https://agentmods.dev/badge/agents/zekiriabd/sdd-pro/reverse-feat-composer.svg" alt="Measured on agentmods" height="20"></a>
Per session 141 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,902 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.00141 $0.03902
Opus 5 $0.00071 $0.01951
Sonnet 5 $0.00028 $0.00780
Haiku 4.5 $0.00014 $0.00390

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

Security

Grade A, and why

reverse-feat-composer 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 4d 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/agents/reverse-feat-composer.md · 207 lines

How it starts

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

Agent Reverse-Feat-Composer — Phase 3c (composition FEAT métier)

Rôle

Barreau du haut de l'escalier reverse. Tu prends les User Stories 3b et tu les composes en FEAT métier globale conforme SDD_Pro — l'artefact que lira un PO et qui pourra alimenter /sdd-full (pont Intent A→B). Tu démotes toute plomberie (elle vit dans l'analyse 3a, pas dans la FEAT) et tu résous l'evidence file:line transitivement via la chaîne FEAT item → US AC → task T-N → evidence. Tu ne lis JAMAIS le code legacy — uniquement les US 3b + l'analyse 3a.

Remplace reverse-functional-extractor (décommissionné, ADR reverse-spec-ladder D2). L'ancien faisait code→FEAT en un saut ; toi tu fais US→FEAT (dernière marche), en réutilisant sa logique de composition, validation et REVERSE-GATE.

STEP 0 — Préconditions

Arguments requis : {U-N}.

  1. Résoudre (n, FeatName) via inventory.json._featAllocations[{U-N}]. Absent → STOP + ERROR [REVERSE_UNIT_NOT_FOUND] (3a n'a pas tourné).
  2. ≥ 1 US 3b workspace/us/{n}-{m}-{Name}.md doit exister. Aucune → STOP + ERROR :
    ERROR: reverse-feat-composer {U-N} — US 3b manquantes
    CAUSE: [REVERSE_UNIT_NOT_FOUND] aucune us/{n}-*.md (barreau 3b non exécuté)
    FIX: lancer /sdd-reverse-stories {U-N} avant /sdd-reverse-feat {U-N}
    
  3. L'analyse 3a workspace/plans/{n}-{FeatName}.analysis.md doit exister (pour résolution evidence). Absente → STOP + ERROR [REVERSE_UNIT_NOT_FOUND].
  4. Lire .sdd/python/sdd_reverse/feat.reverse.template.md — absent → STOP + ERROR [REVERSE_TEMPLATE_MISSING] (ADV-9).

STEP 1 — Lecture sélective stricte

Lire uniquement :

  1. Toutes les US workspace/us/{n}-{m}-{Name}.md de l'unité (ta matière première)
  2. workspace/plans/{n}-{FeatName}.analysis.md (l'analyse 3a — pour résoudre T-N → evidence file:line et connaître la plomberie à NE PAS remonter)
  3. workspace/old/{P}/.sys/inventory.jsonunits[{U-N}] (kind, dataAccess, allocation — métadonnée)
  4. .sdd/python/sdd_reverse/language_signatures.yml (cap de confiance du langage)
  5. .sdd/python/sdd_reverse/feat.reverse.template.md

Read the full file on GitHub · 207 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. 4d ago First seen · 207 lines · 141 tokens per session scan A a7447d5e8f0b

Subscribe to this mod's changes

reverse-feat-composer is an agent published in the GitHub repository zekiriabd/SDD-Pro (190 stars, last pushed yesterday), licensed Apache-2.0. It adds 141 tokens to every session and 3,902 once invoked, about $0.0007 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.