Synced package doc
Docs/prompts-gpt Package/prompts-gpt generate-sweep

prompts-gpt generate-sweep

Scaffold a new sweep file locally so you can start multi-iteration sweeps without writing Markdown from scratch.

Usage

prompts-gpt generate-sweep [--title <text>] [--goal <text>] [--description <text>] [--overwrite]

Options

FlagDescription
--title <text>Sweep title (used as filename)
--goal <text>What the sweep should accomplish
--description <text>Short description (defaults to title)
--overwriteReplace existing sweep file
--cwd <path>Project directory

Interactive Mode

Run without flags for a guided experience:

prompts-gpt generate-sweep

Non-Interactive

prompts-gpt generate-sweep \
  --title "SDK Hardening" \
  --goal "Fix all test failures and add missing error handling"

Output

Creates .prompts-gpt/sweeps/<slug>.md with a template structure including YAML frontmatter and checklist sections.

See Also