agentleFS
ww-w-aiww-w-ai/bkit-gemini/skills/qa-phase/SKILL.md

qa-phase

Skill66 starsChanged 8 months agoApache-2.0View on GitHub

Run QA tests at various levels (L1-L5) for features under PDCA management. Integrates with MCP tools to execute structured test plans.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call bkit_qa_run with { feature, level }

    line 66
  2. Distinctive:

    If failures found, suggest specific fixes

    line 68
  3. Distinctive:

    Import/require resolution check

    line 76
  4. Distinctive:

    All of L1, plus:

    line 81
  5. Distinctive:

    Test coverage check (minimum threshold)

    line 83
  6. Distinctive:

    When no existing tests are found:

    line 114
  7. Distinctive:

    Read the Design document for the feature

    line 116
  8. Very specific:

    Write test plan to docs/qa/{feature}-test-plan.md

    line 122
  9. Very specific:

    Run /qa-phase {feature} --level L2 for initial check

    line 156
  10. Very specific:

    Run /qa-phase {feature} --level L3+ for deeper validation

    line 158

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

QA Phase Skill

Structured QA testing with 5 levels from syntax to production-readiness

Commands

CommandDescriptionExample
/qa-phase [feature]Run default (L2) QA/qa-phase user-auth
/qa-phase [feature] --level L1Syntax check only/qa-phase user-auth --level L1
/qa-phase [feature] --level L3Full test suite/qa-phase user-auth --level L3
/qa-phase [feature] --level L5Production readiness/qa-phase user-auth --level L5

MCP Integration

This skill uses the bkit_qa_run MCP tool to execute QA tests.

How to Execute

  1. Parse the feature name and level from arguments
  2. Call bkit_qa_run with { feature, level }
  3. Display results with pass/fail indicators
  4. If failures found, suggest specific fixes

QA Levels

L1: Syntax and Lint

  • File syntax validation (node -c, tsc --noEmit, etc.)
  • Linting rules (ESLint, Prettier)
  • Import/require resolution check
  • No build errors

L2: Unit and Logic (Default)

All of L1, plus:

  • Unit test execution (Jest, Mocha, Vitest)
  • Test coverage check (minimum threshold)
  • Logic validation against Design document
  • Edge case identification

L3: Integration

All of L2, plus:

  • API endpoint testing
  • Database query validation
  • Third-party service mock testing
  • Cross-module interaction tests

L4: End-to-End

All of L3, plus:

  • User flow testing (Playwright, Cypress)
  • Browser compatibility (if web)
  • Performance benchmarks
  • Accessibility checks (a11y)

L5: Production Readiness

All of L4, plus:

  • Security scan (dependency audit, OWASP checks)
  • Load testing results review
  • Rollback verification
  • Documentation completeness
  • Deploy checklist validation

Test Plan Generation

When no existing tests are found:

  1. Read the Design document for the feature
  2. Extract testable requirements
  3. Generate a test plan with:
    • Test case descriptions
    • Expected inputs and outputs
    • Edge cases to cover
  4. Write test plan to docs/qa/{feature}-test-plan.md

Output Format

## QA Report: {feature} (Level {level})

### Summary
- Level: L2 (Unit and Logic)
- Total checks: 24
- Passed: 22
- Failed: 2
- Coverage: 87%

### Results

#### L1: Syntax and Lint
- [PASS] File syntax valid (8/8 files)
- [PASS] ESLint clean (0 errors, 2 warnings)

#### L2: Unit and Logic
- [PASS] Unit tests (18/20 passing)
- [FAIL] Missing test for edge case: empty input
- [FAIL] Coverage below threshold (87% < 90%)

### Recommendations
1. Add test for empty input handling in src/validators/user.js
2. Add tests for error paths in src/api/auth.js to reach 90% coverage

Integration with PDCA

QA Phase maps to the Check phase:

  1. Complete implementation (Do phase)
  2. Run /qa-phase {feature} --level L2 for initial check
  3. Fix issues and re-run until passing
  4. Run /qa-phase {feature} --level L3+ for deeper validation
  5. Results feed into /pdca analyze match rate calculation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.