skills/local/stelow-product-testing-execution/SKILL.md
Run post-implementation testing protocol. Triggers when: user says 'test this', 'run tests', 'QA', 'dogfood', 'check quality', user finishes implementing a feature, or when a PR is ready for review. Also triggers on mentions of: test coverage, accessibility audit, WCAG, design review, code review, subagent review, UX quality audit. Covers: parallel review via subagents, UX/UI quality audit (via stelow-product-ux-critique), accessibility check, and browser testing. Part of stelow but usable standalone by stating what needs testing.
npx skillsauth add renatocaliari/agent-sync-public-skills stelow-product-testing-executionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
After implementing any feature, run this protocol before marking complete.
This protocol exists because of real patterns observed across projects:
This protocol is the gate between "I finished coding" and "this is ready to ship."
Answer these questions to determine which phases to run.
⚠️ E2E-first: Models prioritize unit tests because they seem "easier", but user experience is only guaranteed by E2E tests. This order is intentional: E2E first, unit later.
Feature implemented?
│
├── Has interactive UI (forms, clicks, inputs)?
│ ├── YES → Phase 1 (E2E browser testing)
│ └── NO → Phase 1 (skip — no UI to test)
│
├── Has visual interface?
│ ├── YES → Phase 2 (UI quality audit)
│ └── NO → Phase 2 (skip)
│
├── Has existing unit tests?
│ ├── YES → Phase 3 (run existing suite)
│ └── NO → Phase 3 (skip — create only for critical path)
│
├── Touched 3+ files or critical path?
│ ├── YES → Phase 4 (subagent review)
│ └── NO → Phase 4 (skip, manual review)
│
└── Phase 5 (always — final checklist)
| Scenario | P1 (E2E) | P2 (UI) | P3 (Unit) | P4 (Review) | P5 (Check) | |----------|:--------:|:-------:|:---------:|:-----------:|:----------:| | Backend fix (1 file) | ❌ | ❌ | ✅ | ❌ | ✅ | | Backend feature (3+ files) | ❌ | ❌ | ✅ | ✅ | ✅ | | UI feature (forms, inputs) | ✅ | ✅ | ✅* | ✅ | ✅ | | API endpoint (no UI) | ❌ | ❌ | ✅ | ✅ | ✅ | | Config/docs only | ❌ | ❌ | ❌ | ❌ | ✅ | | Critical path (auth, payments) | ✅* | ✅* | ✅ | ✅ | ✅ |
*If applicable
| Phase | What | When to skip | |-------|------|--------------| | Phase 1: E2E Browser Testing | Interactive QA via browser | Non-interactive features | | Phase 2: UI Quality | Accessibility + design audit | Non-visual features | | Phase 3: Unit Tests | Run existing suite, add tests for critical logic | No existing tests + non-critical path | | Phase 4: Code Review | Parallel subagent review | <3 files changed + non-critical | | Phase 5: Final Checklist | Pre-completion verification | Never |
Why: User experience is not guaranteed by unit tests alone. E2E tests capture problems no other phase detects: loading states, error recovery, double-submit, empty states, responsiveness, and complete flows.
Real scenario: A signup form passes all unit tests, but the real user sees an unhandled error flash when the network drops mid-submit. The submit button shows no loading state. The user clicks twice and creates duplicates. Only E2E/browser testing catches this.
Load agent-browser and dogfood skills for interactive testing:
/dogfood
Steps:
Block until E2E tests pass for the critical path. Do not proceed if the main user flow is broken.
Why: 15% of the world population has some form of disability. Accessibility isn't optional — it's a legal requirement in many countries and ethical obligation everywhere.
Real scenario: Beautiful dashboard with perfect colors... but contrast ratio is 3.5:1 (WCAG requires 4.5:1). Screen reader can't navigate the chart. Keyboard users can't reach the filter panel. None of this shows in visual inspection.
Only if the scope involves a visual interface.
Use stelow-product-ux-critique for a focused UX/UI quality audit.
Input routing:
stelow-product-ux-critique in Live Site mode (full browser audit)stelow-product-ux-critique in Codebase mode (static analysis, ~80% coverage)stelow-product-ux-critique in Screenshot mode (quick visual check)What it covers:
Output: Classified gap report (🚨/🤔/🔎) with actionable recommendations per issue, saved to .stelow-ux-critique/.
Why: Unit tests verify your code does what you think it does. They complement E2E — while E2E guarantees user experience, unit tests ensure internal logic is correct.
Real scenario: A payment handler passes E2E but fails under race condition when two requests hit simultaneously. Unit tests covering concurrency logic catch this.
Run the project's test suite:
# Go
go test ./...
# Node
npm test
# Python
pytest
If no tests exist: Create unit tests only for critical business logic (auth, payment, data validation). Skip for CRUD/standard paths.
Block until tests pass. Do not proceed with failing tests.
Why: Fresh eyes catch what the original author can't see. Two reviewers with different focus areas (correctness vs simplicity) catch complementary issues.
Real scenario: Developer implements auth flow. Subagent reviewer finds: (1) missing rate limiting on login endpoint, (2) JWT token not invalidated on password change, (3) error messages leak user existence. None of these showed in unit tests.
When to use subagents:
When to skip:
Use the subagents tool (see references/cli-tools/subagents.md) in parallel for context gathering:
2 parallel scouts (fresh context):
1. Map current code state → context/current-state.md
2. Map technical risks → context/risks.md
Error handling: If a scout fails, retry per the retry pattern in references/cli-tools/subagents.md.
Before marking feature complete:
Implement feature
↓
E2E/browser testing (if interactive UI) → FAIL? Fix first
↓
UI audit + critique (if visual)
↓
Unit tests (run existing, add for critical logic)
↓
Parallel subagent review (if 3+ files or critical path)
↓
Final checklist → All green? Mark complete
Input: "Fixed the rate limiter bug in auth_handler.go"
Decision tree:
Steps:
go test ./...Output: "E2E skipped (no UI). Tests pass. Checklist complete. Rate limiter fix verified."
Input: "Just finished the payment system — touches 6 files"
Decision tree:
Steps:
go test ./...Output: "E2E skipped (no UI). Tests pass. Subagent review found 1 issue (missing error handling in payment_handler.go). Fixed."
Input: "Finished the dashboard redesign — new charts, filters, and export button"
Decision tree:
Steps:
/dogfood (E2E browser testing) → all interactive elements work. Found: network error flash on slow connection, double-submit creates duplicate.stelow-product-ux-critique (URL mode) → found contrast issue on chart labels, high cognitive load on filtersnpm testOutput: "E2E found 2 issues (network error flash, double-submit). UI critique found 1 contrast issue (P1). Unit tests pass. Review clean."
Why: If the user experience is broken, unit testing or code review is pointless. E2E is the main gate.
Why: WCAG violations are legal risks in many jurisdictions. Even if not legally required, they exclude users with disabilities.
Why: Proceeding with failing tests wastes review time.
Why: Critical issues (security, data loss, race conditions) must be fixed before merge. Re-review confirms the fix doesn't introduce new issues.
Why: Subagent review has overhead (context loading, prompt engineering). For small changes, manual review is faster and equally effective.
Why: Critical paths have highest blast radius. A bug in auth affects all users. A bug in payments costs money. Extra review is cheap insurance.
When called standalone (e.g., "test this", "QA my changes"):
Input:
├── User said "test this" or "run QA"?
│ └→ Run the full Testing Protocol decision tree
├── User provided a specific scope/feature?
│ └→ Focus testing on that scope
└── User asked about readiness?
└→ Run review phases without E2E
Stelow awareness: when inside stelow, reads spec-tech*.md and scopes/ from .stelow/*/*/plans/ for context (scope list, appetite, review mode). When standalone, files are auto-discovered in the current directory. The decision tree and phases work identically in both modes.
references/cli-tools/subagents.md — Subagent task structure patternstools
Extrai métricas estruturadas, cálculos e estimativas de transcripts de entrevistas com clientes do Sommelier de IA. Produz um JSON com dores, frequências, tempo gasto, pessoas envolvidas, economia potencial, ROI e recomendações financeiras. Projetado para alimentar o cali-degustia-diagnostico ou integrar com dashboards/planilhas.
tools
Guia a coleta de depoimentos de clientes do Sommelier de IA no momento certo do processo, usando a abordagem de Hormozi: pedir depois da primeira evidência de resultado, nunca na entrega. Gera depoimentos mais autênticos e reduz a sensação de que o cliente está sendo "solicitado".
development
[stelow] Full UX critique for visual interfaces. Accepts a live URL, source code directory, or screenshot image. Evaluates accessibility (WCAG AA), Nielsen's 10 heuristics, visual hierarchy, cognitive load, consistency, mobile responsiveness, AI slop, emotional journey, and design personas — then generates a classified gap report. Standalone or integrated into stelow and stelow-product-testing-execution.
development
Building trust through perception and guarantee mechanisms. Covers ten pillars to materialize trust, guarantee types from unconditional to anti-guarantees, and strategic approaches for different contexts.