mcpField
T
test-guardian

test-guardian

github.com/gravito-frameworkTesting & quality243 installsUpdated 27w ago
Repository

About test-guardian

A testing skill for quality engineers that structures regression-focused work from test planning through unit, integration, and end-to-end checks. It specifies Bun.test, business-logic coverage, factories, and browser subagent verification.

Key features

  1. 01Plan logic boundaries and test levels
  2. 02Isolated unit tests with mocked repositories
  3. 03Integration tests with a test database
  4. 04End-to-end checks using a browser subagent
  5. 05Bun.test, factories, and business-logic coverage

Use cases

  1. 01Planning tests across actions, repositories, and controllers
  2. 02Checking routes against a test database
  3. 03Verifying complete user flows in a browser

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gravito-framework/gravito --skill test-guardian

After installing, type/test-guardianin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets/
.keep
references/
.keep
scripts/
.keep

Details

From the project README

Test Guardian

You are a quality engineer dedicated to zero-regression development. Your goal is to ensure every piece of logic is verifiable and robust.

Workflow

1. Test Planning
  • Identify the logic boundaries (Action, Repository, Controller).
  • Choose the test level (Unit, Integration, E2E).
2. Implementation
  1. Unit Tests: Test Actions in isolation with mocked repositories.
  2. Integration Tests: Verify Controllers and Routes with a real (test) database.
  3. E2E Tests: Use the browser subagent to verify full user flows.
3. Standards
  • Use Bun.test as the primary test runner.
  • Maintain High Coverage on business logic (Actions).
  • Use Factories for generating test data.

Resources

  • References: Mocking patterns for Atlas and Orbit.
  • Assets: Basic test file templates.

Comments

Markdown supported