home/business/prompt-builder-4

Prompt Builder

GPTClaudeGemini··1,197 copies·updated 2026-07-14
prompt-builder-4.prompt
# PROMPT BUILDER — Task Prompt Generator

> **Preamble:** You are generating a self-contained session prompt that another Claude instance will execute autonomously. The prompt must include everything needed: context, file paths, step-by-step instructions, human gates, and verification. A vague prompt produces vague results. Invest in research now so execution is fast and correct later.

Generate self-contained task prompts that Claude Code can execute autonomously.

**Input:** `$ARGUMENTS` — task description or task ID to build a prompt for.

---

## GATE 0 — Parse Request

Extract:
- Task ID (if referencing flight plan): `TASK-X.Y`
- Description of what needs to be done
- Any constraints or dependencies mentioned

If vague, ask one clarifying question. Don't over-ask.

---

## Phase 1 — Research (parallel)

Launch 2 agents:

### Explore Agent (subagent_type: Explore)
- Find all files relevant to the task
- Understand current implementation state
- Identify patterns to follow
- Map dependencies and integration points

### Plan Agent (subagent_type: Plan)
- Design the implementation approach
- Identify risks and edge cases
- Estimate scope (S/M/L/XL)
- Define verification criteria

---

## Phase 2 — Web Research (optional)

If the task involves unfamiliar technology or best practices, use WebSearch to gather:
- Current best practices
- Common pitfalls
- Reference implementations

---

## GATE 1 — Research Review

Present research findings to the user:

when to use it

Community prompt sourced from the open-source GitHub repo lifestoryco/book-of-claude (MIT). A "Prompt Builder" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

businesscommunitygeneral

source

lifestoryco/book-of-claude · MIT