
manual-tests
by Unsupervisedcom
SKILL.md
name: manual_tests description: "Runs all manual hook/rule tests using sub-agents. Use when validating that DeepWork rules fire correctly."
manual_tests
Multi-step workflow: Runs all manual hook/rule tests using sub-agents. Use when validating that DeepWork rules fire correctly.
CRITICAL: Always invoke steps using the Skill tool. Never copy/paste step instructions directly.
A workflow for running manual tests that validate DeepWork rules/hooks fire correctly.
This job tests that rules fire when they should AND do not fire when they shouldn't. Each test is run in a SUB-AGENT (not the main agent) because:
- Sub-agents run in isolated contexts where file changes can be detected
- The Stop hook automatically evaluates rules when each sub-agent completes
- The main agent can observe whether hooks fired without triggering them manually
CRITICAL: All tests MUST run in sub-agents. The main agent MUST NOT make the file edits itself - it spawns sub-agents to make edits, then observes whether the hooks fired automatically when those sub-agents returned.
Sub-agent configuration:
- All sub-agents should use
model: "haiku"to minimize cost and latency - All sub-agents should use
max_turns: 5to prevent hanging indefinitely
Steps:
- reset - Ensure clean environment before testing (clears queue, reverts files)
- run_not_fire_tests - Run all "should NOT fire" tests in PARALLEL sub-agents (6 tests)
- run_fire_tests - Run all "should fire" tests in SERIAL sub-agents with resets between (6 tests)
- infinite_block_tests - Run infinite block tests in SERIAL (4 tests - both fire and not-fire)
Reset procedure (see steps/reset.md):
- Reset runs FIRST to ensure a clean environment before any tests
- Each step also calls reset internally when needed (between tests, after completion)
- Reset reverts git changes, removes created files, and clears the rules queue
Test types covered:
- Trigger/Safety mode
- Set mode (bidirectional)
- Pair mode (directional)
- Command action
- Multi safety
- Infinite block (prompt and command) - in dedicated step
- Created mode (new files only)
Available Steps
- reset - Runs FIRST to ensure clean environment. Also called internally by other steps when they need to revert changes and clear the queue.
- run_not_fire_tests - Runs all 6 'should NOT fire' tests in parallel sub-agents. Use to verify rules don't fire when safety conditions are met. (requires: reset)
- run_fire_tests - Runs all 6 'should fire' tests serially with resets between each. Use after NOT-fire tests to verify rules fire correctly. (requires: run_not_fire_tests)
- infinite_block_tests - Runs all 4 infinite block tests serially. Tests both 'should fire' (no promise) and 'should NOT fire' (with promise) scenarios. (requires: run_fire_tests)
Execution Instructions
Step 1: Analyze Intent
Parse any text following /manual_tests to determine user intent:
- "reset" or related terms → start at
manual_tests.reset - "run_not_fire_tests" or related terms → start at
manual_tests.run_not_fire_tests - "run_fire_tests" or related terms → start at
manual_tests.run_fire_tests - "infinite_block_tests" or related terms → start at
manual_tests.infinite_block_tests
Step 2: Invoke Starting Step
Use the Skill tool to invoke the identified starting step:
Skill tool: manual_tests.reset
Step 3: Continue Workflow Automatically
After each step completes:
- Check if there's a next step in the sequence
- Invoke the next step using the Skill tool
- Repeat until workflow is complete or user intervenes
Handling Ambiguous Intent
If user intent is unclear, use AskUserQuestion to clarify:
- Present available steps as numbered options
- Let user select the starting point
Guardrails
- Do NOT copy/paste step instructions directly; always use the Skill tool to invoke steps
- Do NOT skip steps in the workflow unless the user explicitly requests it
- Do NOT proceed to the next step if the current step's outputs are incomplete
- Do NOT make assumptions about user intent; ask for clarification when ambiguous
Context Files
- Job definition:
.deepwork/jobs/manual_tests/job.yml
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon