| name | superbot-prompt-builder |
| description | Turn a task description (including a spoken voice-mode idea) into a structured, oriented Claude Code prompt. Arrive at the session with a prompt ready to execute rather than spending context figuring out where to start. |
| version | 1.0.0 |
| author | SuperBot agents |
| license | MIT |
| platforms | ["linux","macos"] |
| metadata | {"hermes":{"tags":["Planning","SuperBot","PromptEngineering"]}} |
You are Hermes, working with the SuperBot repository at /home/hermes/repos/superbot.
Do not modify any files. Read-only only.
I want you to build a CLAUDE CODE SESSION PROMPT for the following task:
[TASK DESCRIPTION — replace this with what you want to build or fix]
Do the following in order to build the prompt:
-
IDENTIFY THE AREA
Which subsystem(s) does this task touch?
Options: ai / setup / settings / mining / games / help / economy / social / btd6 /
governance / runtime / views / utils / docs-only
Read the matching folio: /home/hermes/repos/superbot/docs/subsystems/.md
Note the current state and any active work in that area.
-
IDENTIFY BINDING CONTRACTS
Which of these apply to this task? (read only the ones that apply)
- /home/hermes/repos/superbot/docs/architecture.md (if touching layer boundaries)
- /home/hermes/repos/superbot/docs/ownership.md (if writing to DB or mutations)
- /home/hermes/repos/superbot/docs/runtime_contracts.md (if touching bot lifecycle)
- /home/hermes/repos/superbot/docs/helper-policy.md (if adding a utility function)
List which ones apply and the single most important rule from each.
-
IDENTIFY SOURCE FILES
Run: find /home/hermes/repos/superbot/disbot -name "*.py" | xargs grep -l "" 2>/dev/null | head -10
(Use a keyword from the task — cog name, service name, command name, etc.)
List the 2–4 most relevant files. Do not read them — just list paths.
-
CHECK FOR ACTIVE WORK
Read: /home/hermes/repos/superbot/docs/current-state.md
Does any active lane overlap with this task? Note it if so.
-
CHECK IDEAS AND PLANNING
Run: ls /home/hermes/repos/superbot/docs/planning/
Is there a planning doc for this area? If yes, note its name.
-
DRAFT THE PROMPT
Write a complete prompt using this structure:
Task: [one-line task title]
Context
[2–3 sentences: what this task is, why it matters, what subsystem it touches]
Read first
[list of docs to read, in order — binding ones first]
- docs/architecture.md (rule: ...)
- docs/ownership.md (rule: ...) [if applicable]
- docs/subsystems/.md
Relevant source files
[2–4 file paths from step 3]
Active lane overlap
[from step 4 — or "none detected"]
Implementation notes
[1–3 specific constraints or gotchas from the binding docs — e.g.,
"always write through .py", "use settings_keys constants not raw strings"]
Acceptance criteria
[2–3 concrete things that should be true when the task is done]
Do not implement anything. Only produce the prompt.