Localsetup Decision Tree Workflow
Agent Buildinglocalsetup-decision-tree-workflowLocalsetup Decision Tree Workflow is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Decision tree / reverse prompt workflow - AI prompts user one question at a time with 4 options (A-D), preferred choice + rationale; build context for maximum impact. Use when user says 'decision tree', 'run the decision tree', 'reverse prompt', or 'reverse prompt workflow'; or when editing .agent/queue/**, PRD.md, *.prd.md.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/workflow/localsetup-decision-tree-workflow/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/localsetup-decision-tree-workflow, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Decision tree workflow (reverse prompt)
When the user says decision tree, decision tree questions, decision tree workflow, run the decision tree, reverse prompt, reverse prompt workflow, or any synonymous phrase, read this rule and then run the process in _localsetup/docs/DECISION_TREE_WORKFLOW.md. This is a reverse prompt: the AI prompts the user to gather context and decisions before implementing.
Summary (full procedure in framework-docs)
- One question per turn. Four options (A, B, C, D); state preferred option and rationale. Questions relevant to the topic; most important first. Default 7-9 questions per topic; user may override. Accept A/B/C/D, different choice, or free-form; use all feedback as context.
- When to use: User explicitly invokes "decision tree" / "reverse prompt" (or "reverse prompt workflow") or when clarifying a draft PRD/spec with structured Q&A.
- Do not run unless user has clearly requested the workflow (e.g. "run the decision tree", "reverse prompt workflow", "use the decision tree process").
See _localsetup/docs/DECISION_TREE_WORKFLOW.md for full format, flow, and checklist.