auto-optimize-prompt
Auto-Optimize Prompt
User request: $ARGUMENTS
Iteratively optimize a prompt until no issues remain.
Goal
Loop until prompt-reviewer finds no issues: review → resolve NEEDS_USER_INPUT with user → fix via prompt-engineering → repeat.
- No path provided: Ask which file to optimize
- Working copy: Use
/tmp/auto-optimize-*.mdduring iterations; apply to original only when converged
Constraints
| Constraint | Why |
|---|---|
| Converge, don't cap | No iteration limits—run until no issues |
| Atomic output | Original unchanged until fully converged |
| DRY | Delegate review to prompt-reviewer, fixes to prompt-engineering |
| User-in-the-loop | NEEDS_USER_INPUT issues require user resolution (with context, options); skip if user declines |
Output
Report: file path, iterations, issues fixed (auto vs user-resolved), issues skipped, summary of changes.
More from doodledood/manifest-dev
define
Manifest builder. Plan work, scope tasks, spec out requirements, break down complex tasks before implementation. Converts needs into Deliverables + Invariants with verification criteria. Use when planning features, debugging complex issues, scoping refactors, or whenever a task needs structured thinking before coding.
15do
Manifest executor. Iterates through Deliverables satisfying Acceptance Criteria, then verifies all ACs and Global Invariants pass. Optional --mode efficient|balanced|thorough controls verification intensity (default: thorough). Only pass --mode when the user explicitly requests a different mode. Use when executing a manifest, running a plan, implementing a defined task.
15review-prompt
Review and analyze LLM prompts against prompt-engineering principles. Provides detailed assessment without modifying files.
1prompt-engineering
Craft, update, or review LLM prompts from first principles. Use when creating new prompts, updating existing ones, reviewing prompt structure, or diagnosing a failing prompt. Ensures prompts define WHAT and WHY, not HOW. Triggers: write a prompt, edit a prompt, review a prompt, improve a prompt, diagnose prompt failure, fix failing prompt, system prompt, skill, agent.
1