main
md 24 lines 724 Bytes
Rendered Raw
1 ---
2 name: verify
3 description: Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
4 ---
5
6 # Verification
7
8 Run all verification steps.
9
10 Arguments:
11 - $ARGUMENTS: Test pattern for the test step
12
13 ## Instructions
14
15 Run these first in sequence:
16 1. Run `yarn prettier` - format code (stop if fails)
17 2. Run `yarn linc` - lint changed files (stop if fails)
18
19 Then run these with subagents in parallel:
20 1. Use `/flow` to type check (stop if fails)
21 2. Use `/test` to test changes in source (stop if fails)
22 3. Use `/test www` to test changes in www (stop if fails)
23
24 If all pass, show success summary. On failure, stop immediately and report the issue with suggested fixes.