Parent
#28
What to build
Add the ask subcommand to the skill-writer script.
skill-writer ask --scope <id> "<prompt>" must:
- Run
claude --dangerously-skip-permissions --continue --print --output-format stream-json "<prompt>" inside ~/local/tmp/claude/skill-writer/<scope>/worktree/
- Append claude's stdout to
~/local/tmp/claude/skill-writer/<scope>/history.jsonl
- No output on stdout
--continue resumes the most recent claude session in the worktree directory, which is always the session from the last skill-writer test run in that scope.
Acceptance criteria
Blocked by
Parent
#28
What to build
Add the
asksubcommand to theskill-writerscript.skill-writer ask --scope <id> "<prompt>"must:claude --dangerously-skip-permissions --continue --print --output-format stream-json "<prompt>"inside~/local/tmp/claude/skill-writer/<scope>/worktree/~/local/tmp/claude/skill-writer/<scope>/history.jsonl--continueresumes the most recent claude session in the worktree directory, which is always the session from the lastskill-writer testrun in that scope.Acceptance criteria
skill-writer ask --scope foo "why didn't you follow the skill?"runs claude with--continuein the worktreehistory.jsonl(not overwritten)history.jsonlcontains both thetestsession and theasksession in orderBlocked by