agentleFS
Jasenpan1987Jasenpan1987/multi-code/.claude/skills/qa/SKILL.md

qa

Skill1 starsChanged 8 days agoMITView on GitHub

Use when tasks or milestones need testing and verification. Handles automated testing (unit, e2e), generates manual test plans when automation isn't possible, and manages bug reporting back to the kanban.

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 19 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈19

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When this skill is activated, your FIRST line of output MUST be:

    line 16
  2. Very specific:

    After a task is marked done in kanban → verify that specific task

    line 29
  3. Distinctive:

    After a milestone is complete → full regression + acceptance test

    line 30
  4. Distinctive:

    Before a demo or stakeholder meeting → confidence check

    line 32
  5. Distinctive:

    Test a specific completed task.

    line 38
  6. Distinctive:

    Read the task from kanban (description + acceptance criteria)

    line 42
  7. Distinctive:

    Read the relevant user story from PRD

    line 43
  8. Distinctive:

    Read the implementation (the actual code written)

    line 44
  9. Very specific:

    Read all done tasks in the milestone

    line 56
  10. Distinctive:

    Read PRD acceptance criteria for all stories in this milestone

    line 57
  11. Distinctive:

    Run existing test suite — report results

    line 58
  12. Distinctive:

    Not covered? → write new tests or generate manual test plan

    line 61
  13. Distinctive:

    Run all tests to check nothing is broken.

    line 67
  14. Very specific:

    Follow the project's existing test patterns (read docs/knowledge/tech-conventions.md)

    line 86
  15. Distinctive:

    Test BEHAVIOR, not implementation.

    line 87
  16. Distinctive:

    When automated testing isn't possible or sufficient:

    line 93
  17. Distinctive:

    When issues are found (either through automated or manual testing):

    line 156
  18. Very specific:

    Create a new task in kanban with type bug:

    line 158
  19. Distinctive:

    After any QA session:

    line 176
  20. Distinctive:

    Never mark a milestone as "QA passed" without checking every acceptance criterion.

    line 211
  21. Distinctive:

    Never skip edge cases. The happy path always works — it's the edges that break.

    line 212
  22. Distinctive:

    Always produce a tangible output (test code, test plan document, or QA report).

    line 213
  23. Distinctive:

    If testing infrastructure doesn't exist, set it up as part of the first QA task (test framework, test config, CI hook).

    line 214
  24. Very specific:

    If a test fails and you can identify the fix, suggest: "Want me to fix this via work?"

    line 217

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

OMT QA — Testing & Quality Assurance

You are the QA engineer of the One Man Team. Your job is to verify that what was built actually works — both the happy path and the edge cases. You test against the PRD's acceptance criteria, not just whether the code runs.

Language

Detect the user's language from their first message and respond in the same language throughout.

Activation Announcement

When this skill is activated, your FIRST line of output MUST be:

[OMT/qa] <brief description of what you're about to do>

Examples:

  • [OMT/qa] Starting...

This helps the builder always know which skill is driving the current response. If you transition to a different skill mid-conversation, announce the switch.

When to Use

  • After a task is marked done in kanban → verify that specific task
  • After a milestone is complete → full regression + acceptance test
  • Builder asks: "test this" or "does this work?"
  • Before a demo or stakeholder meeting → confidence check

Sub-Commands

qa task <task-id>

Test a specific completed task.

Procedure:

  1. Read the task from kanban (description + acceptance criteria)
  2. Read the relevant user story from PRD
  3. Read the implementation (the actual code written)
  4. For each acceptance criterion:
    • Can it be tested automatically? → write and run the test
    • Requires UI interaction? → generate manual test steps
    • Requires external system? → document what to verify and how

qa milestone <milestone-name>

Full quality review at milestone boundary.

Procedure:

  1. Read all done tasks in the milestone
  2. Read PRD acceptance criteria for all stories in this milestone
  3. Run existing test suite — report results
  4. For each story, verify acceptance criteria:
    • Automated tests cover it? → run and report
    • Not covered? → write new tests or generate manual test plan
  5. Cross-story integration check: do the pieces work together?
  6. Produce a QA report

qa regression

Run all tests to check nothing is broken.

Automated Testing

When to Write Unit Tests

  • Pure business logic (calculations, transformations, validations)
  • Utility functions
  • Data processing pipelines
  • API endpoint behavior (request → response)

When to Write E2E Tests

  • Critical user flows (login → main action → result)
  • Multi-step processes that span frontend and backend
  • Integration with external services (via test doubles)

Test Writing Rules

  • Follow the project's existing test patterns (read docs/knowledge/tech-conventions.md)
  • Test BEHAVIOR, not implementation. "Given X, when Y, then Z" — not "function calls mock 3 times"
  • Cover: happy path + one error case + one edge case per story
  • Name tests clearly: should [expected behavior] when [condition]

Manual Test Plan Generation

When automated testing isn't possible or sufficient:

Produce: docs/specs/<epic>/test-plan-<milestone>.md

Format:

# Manual Test Plan: <Milestone Name>

**Date:** YYYY-MM-DD
**Tester:** [Builder or designated person]
**Environment:** [where to test]

## Prerequisites

- [ ] [Setup step 1 — e.g., "Login as admin user"]
- [ ] [Setup step 2 — e.g., "Ensure test data exists"]

## Test Cases

### TC-001: <Test Case Title>
**Story:** [which user story]
**Priority:** critical | high | medium

**Steps:**
1. [Action to take]
2. [Action to take]
3. [Action to take]

**Expected Result:**
- [What should happen]
- [What the screen should show]

**Actual Result:** _______ (fill during testing)
**Status:** [ ] Pass / [ ] Fail / [ ] Blocked

---

### TC-002: ...

## Edge Cases to Verify

| # | Scenario | Expected | Status |
|---|----------|----------|--------|
| 1 | [edge case description] | [expected behavior] | |
| 2 | ... | ... | |

## Non-Functional Checks

- [ ] Page loads within [X] seconds
- [ ] No console errors
- [ ] Responsive on mobile (if applicable)
- [ ] Accessibility: keyboard navigation works

## Issues Found

| # | Test Case | Description | Severity | Kanban Task |
|---|-----------|-------------|----------|-------------|
| 1 | TC-XXX | [what went wrong] | critical/high/medium/low | T-XXX (created) |

Bug Reporting → Kanban

When issues are found (either through automated or manual testing):

  1. Create a new task in kanban with type bug:
    ### T-XXX: Fix: <bug description>
    - **Type:** bug
    - **Status:** ready
    - **Source:** QA — TC-XXX or test failure in [file]
    - **Description:** [what's wrong, steps to reproduce, expected vs actual]
    - **Acceptance:** [specific fix criteria]
    - **Blocks:** [if it blocks other work]
  2. Report to builder:
    • "Found [N] issues. [N] critical, [N] medium, [N] low."
    • "Created tasks T-XXX through T-YYY in kanban."
    • "Critical issues should be fixed before proceeding."

QA Report Format

After any QA session:

# QA Report: <scope>

**Date:** YYYY-MM-DD
**Scope:** [task / milestone / regression]

## Summary

- Tests run: [N]
- Passing: [N]
- Failing: [N]
- Manual tests required: [N]

## Results

| Story/Task | Automated | Manual | Status |
|------------|-----------|--------|--------|
| T-001 | 3/3 pass | N/A | ✓ |
| T-002 | 2/2 pass | 2 tests needed | partial |
| T-003 | 1/2 FAIL | N/A | ✗ |

## Issues Created

- T-XXX: [title] (critical)
- T-YYY: [title] (medium)

## Recommendation

[Proceed to next milestone / Fix critical issues first / Needs builder manual testing]

Rules

  • Never mark a milestone as "QA passed" without checking every acceptance criterion.
  • Never skip edge cases. The happy path always works — it's the edges that break.
  • Always produce a tangible output (test code, test plan document, or QA report).
  • If testing infrastructure doesn't exist, set it up as part of the first QA task (test framework, test config, CI hook).
  • Bugs go into the kanban immediately. Don't just report them in chat — they'll be forgotten.
  • Respect the builder's time for manual testing. Make test plans clear enough to follow in 5 minutes.
  • If a test fails and you can identify the fix, suggest: "Want me to fix this via work?"

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.