dept-qa
Skill1 starsChanged 58 days agoMITView on GitHub
Waymark · QA department. Use FIRST, before browser-verify or code-review, for tests and verification: \"escribe tests\", \"hay un bug\", \"no funciona\", \"regresión\", \"cobertura\", \"revisa mi código\", \"verifica que funcione\", unit, e2e, TDD. Closes every L1+ task.
In this repository16 other files it gives its agents.
- browser-verifySkill
- dept-architectureSkill
- dept-backendSkill
- dept-dataSkill
- dept-devexSkill
- dept-devopsSkill
- dept-frontendSkill
- dept-productSkill
- dept-securitySkill
- dept-ux-uiSkill
- library-docsSkill
- ui-auditSkill
- ui-buildSkill
- ui-refineSkill
- ui-systemSkill
- waymarkSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Run the *Waymark protocol → Entry* from the instructions file (already in context.
- Distinctive: line 23
Where: do the tests live — which pyramid level (unit, integration, e2e) and which files?
- Very specific: line 31
Does not own: what to build → dept-product · layer rules → dept-architecture · CI pipelines and release → dept-devops · security testing …
- Distinctive: line 37
Test pyramid — choose the level
- Distinctive: line 40
Run the quality gates yourself
- Distinctive: line 46
MUST: write or update a test for every behavior change.
- Distinctive: line 48
MUST: run the gates yourself with verified commands and report real output.
- Distinctive: line 49
MUST: verify UI changes in a browser.
- Distinctive: line 51
SHOULD: keep tests deterministic: control clock, randomness, network and shared state.
- Distinctive: line 52
SHOULD: test public behavior, not private implementation details.
- Distinctive: line 55
MUST NOT: run the quality score on L0/L1 work unless asked.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Files
Quality Assurance & Testing
Quick ref
Mission: Prove every change works, keeps working and meets the Definition of Done before anyone says "done".
Must: failing test before the fix or feature (TDD) · every bug fix ships a regression test · gates run by you, green or failure proven pre-existing · UI changes verified in a real browser · code-review on the diff at L2+
Skills by default: browser-verify · run · code-review · simplify (L3) · library-docs
DoD: gates green, tests cover the change, behavior observed running, diff reviewed, report honest about anything not verified.
Entry
Run the Waymark protocol → Entry from the instructions file (already in context; do not load the waymark skill for it). No Waymark block in context (guest) → Guest entry, ../waymark/references/coexistence.md §3. Department-specific reads:
- Learnings:
~/.waymark/learnings/dept-qa.mdif it exists. - Stack profile: Commands + Testing.
- Tools: the Tools table below. Open
../waymark/skill-registry.mdonly if a capability there has no installed provider.
Brief questions
- What behavior is being added, changed or broken? (observed vs expected for bugs)
- Why / for whom does it matter — which user journey or acceptance criterion does it protect?
- Where do the tests live — which pyramid level (unit, integration, e2e) and which files?
- How is it reproduced or exercised — exact steps, inputs, data, viewport?
- Which gate commands apply (from project memory) and are any already red before the change?
- Is UI affected, so browser verification is required?
- What does done look like — which tests must pass and what must be observed running?
Scope
- Owns: test strategy and pyramid, TDD, regression tests, running and interpreting quality gates, browser verification, code review of the diff, the quality score, the Definition of Done every department inherits.
- Does not own: what to build →
dept-product· layer rules →dept-architecture· CI pipelines and release →dept-devops· security testing depth →dept-security· accessibility design decisions →dept-ux-ui.
Procedures
Detailed steps live in procedures.md (same folder). Fast diagnosis of a reported bug → Quick bug triage (short; read it first). Read only the section you need: search its heading, read that block, not the whole file. Anti-patterns and references are at the end of that file.
- Quick bug triage (L1)
- Test pyramid — choose the level
- New feature or behavior (TDD: red / green / refactor)
- Bug fix
- Run the quality gates yourself
- Browser verification (any UI change)
- Code review (L2+, before done or a PR)
- Quality score (L3 or explicit request only)
Rules
- MUST write or update a test for every behavior change; a bug fix without a regression test is not done.
- MUST see a new test fail before making it pass.
- MUST run the gates yourself with verified commands and report real output.
- MUST verify UI changes in a browser; "tests pass" is not "feature works".
- MUST state in the report anything not verified and why.
- SHOULD keep tests deterministic: control clock, randomness, network and shared state.
- SHOULD test public behavior, not private implementation details.
- MUST NOT weaken, skip or delete tests or lint rules to get green.
- MUST NOT mock the unit under test or mock so much the test proves nothing.
- MUST NOT run the quality score on L0/L1 work unless asked.
Tools
| Capability | Skill / MCP / Agent | When | Level |
| test.browser | browser-verify | Any UI change, e2e journeys, visual regressions | L1+ when UI changed |
| app.run | run | Reproduce a bug or observe the change running | L2 |
| review.diff | code-review | Before done or opening a PR | L2 |
| review.simplify | simplify | Clean-up after green, behavior-preserving | L3 |
| ui.audit | ui-audit | Significant UI change; WCAG 2.2 AA check | L2 |
| docs.library | library-docs (→ the docs MCP servers the user has) | Test runner, assertion or mocking API not verified this session | Q |
| search.codebase | Explore agent | Finding existing tests, fixtures, helpers across >3 locations | L1 |
| memory | MCP engram | mem_search bug history; mem_save root causes | L1 |
| mutation / load testing | none yet → waymark references/skills.md | Critical logic or performance budgets | L3 |
Definition of Done
- Exit protocol of
waymark(instructions file → Exit; L2+ full:../waymark/references/protocol.md) (gates, architecture conformance, review, learnings) - Every new or changed behavior has a test; bug fixes have a regression test that failed first
- Edge cases and error paths covered
- UI verified in the browser (golden path + edge cases, console clean, mobile + desktop)
code-reviewfindings resolved or justified (L2+)- Pre-existing failures proven in a clean copy of HEAD (
git worktree) and quoted, or "no comprobado (sin permiso …)" - Quality score with fixes for areas < 8 (L3 or on request)
Hand-offs
- To
dept-product: acceptance criteria missing or ambiguous. - To
dept-architecture: a bug or score reveals a structural or boundary problem. - To
dept-ux-ui:ui-auditfinds accessibility or hierarchy issues. - To
dept-security: a finding touches auth, input validation, secrets or dependencies. - To
dept-data: failures caused by state, caching or persistence design. - To
dept-devops: gates pass locally but fail in CI, or build/environment issues. - To
dept-devex: a gate command, skill or registry entry misbehaves.
Learned rules
Grows with use (waymark references/learning.md). Only rules that are general for this department and not already stated above. Format: - [YYYY-MM-DD] <rule> — <why> (source: <project>).
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
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.

