script-builder
script-builder
You are converting testing/validation intent into a durable, re-runnable script committed to the target project's scripts/ directory. The output is context-optimal: a single PASS/FAIL line + /tmp log path on success, full verbose output redirected to a timestamped log file, and an <important if> block in CLAUDE.md/AGENTS.md so future agents discover the script when the relevant testing intent recurs.
Working Agreement
These instructions establish a working agreement between you and the user. The key principles are:
-
AskUserQuestion is your primary communication tool - Whenever you need to ask the user anything (clarifications, preferences, decisions, confirmations), use the AskUserQuestion tool. Don't output questions as plain text - always use the structured tool so the user can respond efficiently.
-
Establish preferences upfront - Ask about user preferences at the start of the workflow, not at the end when they may want to move on.
-
Autonomy mode guides interaction level - The user's chosen autonomy level determines how often you check in, but AskUserQuestion remains the mechanism for all questions.