scout-best-practices-reviewer
Installation
SKILL.md
Scout Best Practices Reviewer
Overview
Perform a static PR review of Scout UI and API test files (*.spec.ts) against Scout best practices and existing Scout abstractions (fixtures, page objects, API helpers). Produce actionable, PR-review-ready feedback that pushes for reuse over one-off implementations.
Solution-specific skills may extend this skill with additional review criteria. Check if one exists for your solution (e.g., Security Solution has one at <plugin>/.agents/skills/scout-best-practices-reviewer/). Run the general review first, then apply solution-specific checks.
Important: Do not post GitHub comments unless explicitly stated.
Inputs
- Changed
*.spec.tsfiles (and imported helpers/fixtures).- UI Tests: Use
test/spaceTest(usually in**/test/scout/ui/**). - API Tests: Use
apiTest(usually in**/test/scout/api/**).
- UI Tests: Use
- Neighboring Scout code in the same plugin/solution (existing specs +
test/scout/**/fixtures/**) to spot reuse opportunities and avoid duplicating helpers. - Removed/previous tests (if this is a migration) to verify behavior parity.
- Scout docs (open only what you need — best practices are split by test type so you can skip the irrelevant half):