← Back to wkappbot-workflow
wkappbot-workflow ★★★

# wktool QA pattern: token-efficient bug detection scripts

How to write wkask/wkcdp-style QA scripts that find bugs cheaply. Key principle: state-check first (fast), eval-js second (medium), DOM check last (slow). Auto-file suggest on confirmed bugs.

user/developer
wkcdp wkask qa cookie detect pattern script eval-js

## Steps

1. PRINCIPLE: wk-tool scripts replace Claude po...
2. STATE-CHECK FIRST (cheapest): before any CDP...
3. MINIMIZED RECOVERY (before eval): if Chrome...
4. EVAL-JS (medium cost): use 'wkappbot a11y ev...
5. CROSS-VALIDATE heuristics: if you have a fas...
6. AUTO-SUGGEST on confirmed bugs: if off-scree...
7. TIMING: cookie/DOM checks at session CLOSE (...
8. NAMING: wk<domain>.ps1 in D:/GitHub/WKAppBot...
9. TEST SUBCOMMAND: every wk-tool should have a...
10. USER-PERSPECTIVE BASELINE: for public SDK re...
11. TOKEN-SAVING WAITING: while a smoke test is...
12. FASTEST VALID SMOKE FIRST: always look for t...

🔒 Pro Skill
Get Pro Access →