craft-prompt

Solid

Interactive prompt builder. Guides you through assembling a self-contained spawned-session prompt following Foreman's template — asks which optional sections to include, gathers required info via AskUserQuestion, assembles the XML, then runs it here as one or several tracked tasks, hands it to a background Agent, or copies it to the clipboard.

AI & Automation 25 stars 4 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
47
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# foreman:craft-prompt — interactive prompt builder Assemble a self-contained prompt for a spawned session following Foreman's template. The spawned session has zero memory of this conversation — every field must be filled so it can act cold. If args were provided, treat them as the task description seed and skip asking for it in Call 1. --- ## Call 1 — task type and optional sections Ask these two questions together: **Q1** — "What task should the spawned session perform?" Options: `Implement a feature`, `Fix a bug`, `Investigate / research`, `Refactor code`, `Write documentation`, `Security audit` **Q2** — "Which optional sections do you want in the prompt?" (multiSelect: true) Options: - `Tone` — override the default (minimal/professional, silent-by-default — see the template; projects opt out entirely via `omitSections: ["tone"]`) - `Example` — a before/after or input→output snippet (good for fixes and transformations) - `Constraints` — hard limits on files or interfaces the agent must NOT touch - `Background context` — architectural decisions, patterns, or environment details - `Custom output format` — wrap the deliverable in a specific XML tag for a downstream parser (skip this unless something actually parses the output — the default is a plain human-readable summary, no tags) - `Workflow stage` — prompt plus a JSON Schema the tool layer enforces, for a Workflow `agent(prompt, {schema})` stage (mechanically omits `Tone` and replaces the default output format wit...

Details

Author
V-Songbird
Repository
V-Songbird/foreman
Created
3 weeks ago
Last Updated
4 days ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category