SDD-Pro: Command for Claude Code

.claude/commands/sdd-reverse-questions.md

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

Riadený proces otázok a odpovedí pri spätnom rozbore staršieho projektu. Zhromaždí nejasnosti do jedného súboru a odpovede technického vedúceho zapíše späť do funkčných požiadaviek.

In plain words
What is it for?
Na vytvorenie súboru questions.md, manuálne zodpovedanie otvorených otázok a spätné vloženie odpovedí do požiadaviek. Podporuje aj interaktívny priebeh a JSON súhrn.
Why use it?
Nahrádza roztrúsené upozornenia jednotným zoznamom otázok s podkladmi. Pomáha človeku potvrdiť alebo doplniť závery, ktoré nemožno spoľahlivo odvodiť zo zdrojového kódu.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

This is zekiriabd/SDD-Pro's own configuration. It tells Claude Code how to work on SDD-Pro itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SDD-Pro configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zekiriabd/SDD-Pro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zekiriabd/SDD-Pro/main/.claude/commands/sdd-reverse-questions.md
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-questions

README.md
[![agentmods](https://agentmods.dev/badge/commands/zekiriabd/sdd-pro/sdd-reverse-questions.svg)](https://agentmods.dev/commands/zekiriabd/sdd-pro/sdd-reverse-questions)
Your own site
<a href="https://agentmods.dev/commands/zekiriabd/sdd-pro/sdd-reverse-questions"><img src="https://agentmods.dev/badge/commands/zekiriabd/sdd-pro/sdd-reverse-questions.svg" alt="Measured on agentmods" height="20"></a>
Per session 127 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,413 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00127 $0.01413
Opus 5 $0.00063 $0.00707
Sonnet 5 $0.00025 $0.00283
Haiku 4.5 $0.00013 $0.00141

Measured 8d ago against content hash 24943204b09d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

sdd-reverse-questions 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 8d 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-questions.md · 93 lines

How it starts

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

/sdd-reverse-questions {LegacyProject} [--ingest] [--interactive] [--json]

Rôle

Fermer la boucle Tech Lead ↔ reverse : les gaps détectés par les reviewers (aujourd'hui informationnels et dispersés dans .sys/modules/*/) deviennent des questions structurées (Q-N, impact, evidence) dans un fichier unique ; les réponses humaines sont ré-injectées dans les FEATs avec traçabilité (<!-- human-validated: Q-N -->) — c'est la voie officielle pour faire monter un item medium/low en high (unique exception au cap D1, tracée).

Args

Arg Type Description
{LegacyProject} requis Sous-dossier workspace/old/
--ingest flag Ré-injecte les blocs Réponse: remplis au lieu de générer
--interactive flag Clôture la boucle en un run (C3) : génère questions.md, pose les questions ouvertes dans la session, écrit les réponses, puis --ingest — sans double invocation manuelle. Dégrade en generate si la session n'est pas interactive.
--json flag Émet le résumé en JSON

Pré-conditions

  • generate : inventory.json + ≥ 1 FEAT reverse existent. Sinon → ERROR [REVERSE_NO_SOURCE] / [REVERSE_UNIT_NOT_FOUND].
  • --ingest : workspace/old/{P}/.sys/questions.md existe avec ≥ 1 Réponse: non vide. Sinon → [REVERSE_QUESTIONS_PENDING] (informational, STOP propre).

Actions

  1. Spawn unique Agent(reverse-clarifier) avec args = {P} [+ --ingest].
  2. generate : collecte déterministe (completeness-reviews, ladder-traceability re-run, items medium/low, parity-map ## Non dérivables, curation HUMAN-DECISION) → questions.md (IDs Q-N stables, blocs répondus préservés).
  3. --ingest : édition chirurgicale des items FEAT concernés, puis resynchronisation ordre strict — confidence FEAT + REVERSE-GATE ensemble, validate_reverse_feat.py, hash US en dernier (resolve_us_hash_sentinel.py --feat-number {n}, §10).

Read the full file on GitHub · 93 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. 8d ago First seen · 93 lines · 127 tokens per session scan A 24943204b09d

Subscribe to this mod's changes

sdd-reverse-questions is a command published in the GitHub repository zekiriabd/SDD-Pro (191 stars, last pushed 4d ago), licensed Apache-2.0. It adds 127 tokens to every session and 1,413 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.