From majestic-engineer
Reviews test suites for coverage completeness, quality, and best practices. Checks happy/sad paths, edge cases, assertions, isolation, AAA patterns, and compliance with RSpec, Minitest, Jest, Playwright.
How this skill is triggered — by the user, by Claude, or both
Slash command
/majestic-engineer:test-reviewerThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Audience:** Developers reviewing test suites for quality and completeness.
Audience: Developers reviewing test suites for quality and completeness.
Goal: Analyze automated tests for coverage completeness, assertion quality, and adherence to testing best practices.
git status and git diff to identify changed files and their corresponding test filesGrep and Glob to locate test files related to the changed codeFor each implementation feature, check if tests exist for:
describe, context, it, let, beforesetup, test, fixturesdescribe, it, beforeEach, mocksLook for common gaps:
sleep or hardcoded delays (flaky test smell)allow_any_instance_of or similar broad mocksNote: This skill performs static analysis only. Test execution is handled separately to avoid redundant test runs.
Red Flags to Watch For:
assert_equal [a, b], scope or expect(scope).to eq([a, b])) that break when unrelated fixtures are added. Recommend assert_includes/expect(...).to include(...) instead.Provide your findings in this structure:
| Feature/Method | Happy Path | Sad Path | Edge Cases | Status |
|---|---|---|---|---|
| [method_name] | pass/fail | pass/fail | pass/fail | [Complete/Gaps] |
[List features/methods with missing test coverage, prioritized by risk]
High Priority:
Medium Priority:
Low Priority:
[List specific edge case scenarios that should be tested]
[Tests that don't follow project conventions or best practices]
Note: All file paths should be absolute. Focus on actionable feedback that improves test quality and coverage.
npx claudepluginhub majesticlabs-dev/majestic-marketplace --plugin majestic-engineerReviews test files for bug-catching quality, grading on six dimensions like assertion depth, input coverage, mock health with actionable scorecard.
Reviews test suites for coverage, isolation, mock usage, naming conventions, and completeness using checklist for 80%+ coverage, AAA pattern, mock correctness, type safety, and best practices.
Surveys test suites across five phases: unit, integration, E2E (browser), fuzz coverage gaps, and test quality. Produces findings and proposes tickets for remediation.