Legacy Command & Workflow Scaffold Generator
You are tasked with generating a flat-file execution routine, such as an Antigravity Workflow, an Antigravity Rule, or a legacy Claude command.
Execution Steps:
- Information Prompt: These flat-file formats do not have complex directories or YAML frontmatter dependencies. Because of their simplicity, you may use standard
echoandbashcommands to write them. You do NOT need the Python scaffold script for this specific action. - Gather Requirements: Ask the user what specific type of flat-file routine they need:
- A Workspace Rule (for context) - A Workspace Workflow (for trajectory steps, e.g. // turbo tags) - A legacy Claude /command
- Scaffold the Routine: Using bash file creation tools:
- Create the file in the correct specific location (e.g. .agent/workflows/, .agent/rules/, or .claude/commands/). - Ensure the file *strictly* stays under the 12,000 character size limit constraint. - Write the sequence of steps based on the user's intent.
- Confirmation: Print a success message showing the file location. Explain the difference between this flat-file approach and the richer
Agent Skillsstandard. - If Iterating, Use a Disciplined Loop:
- Baseline first. - One change per iteration. - Keep/discard decision each run. - Crash/timeout logging. - Track iterations in evals/results.tsv if this command is being benchmarked.
Next Actions
- Continuous Improvement: Run
./scripts/benchmarking/run_loop.py --results-dir evals/experimentswhen calibrating trigger text. - Review Loop: Run
./scripts/eval-viewer/generate_review.pyto inspect iterative outcomes. - Audit: Offer to run
audit-pluginto validate the generated artifacts.