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.
npx claudepluginhub majesticlabs-dev/majestic-marketplace --plugin majestic-engineerThis skill is limited to using the following tools:
**Audience:** Developers reviewing test suites for quality and completeness.
Reviews 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.
Conducts five-phase test suite review: fills unit coverage gaps, surveys integration and E2E (webapps) coverage, identifies fuzz opportunities, audits test quality.
Share bugs, ideas, or general feedback.
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.