Eight use-case flows, four reusable templates, and the /ticket-context skill — the QA team's system for giving Claude the right context at the start of every session.
Why Context Management Matters for QA
QA sessions fail when context is vague
A QA session that starts with "test the login flow" produces shallow, happy-path coverage. One that starts with the right context — ticket details, acceptance criteria, known edge cases, affected modules — produces systematic test coverage that catches real bugs.
The context manager system gives Claude a structured briefing at session start. Instead of inferring what to test from a vague description, Claude receives: the ticket, the acceptance criteria, the risk areas, and the test strategy.
The system has three components: the /ticket-context skill (quick briefing), 4 reusable templates (structured input), and 8 use-case flows (for different QA scenarios).
/ticket-context skill
The one-command session starter
The /ticket-context skill takes a ticket ID and builds Claude's briefing automatically by reading the ticket from Odoo, pulling related code context, and injecting the acceptance criteria.
# At the start of any QA session:
/ticket-context PROJ-1234
# Claude then reads:
# 1. Ticket title, description, acceptance criteria from Odoo MCP
# 2. Files changed in the linked PR (via git diff)
# 3. Existing tests for those files
# 4. Any open questions from open-questions.md
# Output: a structured context brief Claude uses for the session
Make it a habit: Every QA session starts with /ticket-context <ID>. Never start testing without it. A 30-second briefing prevents a 30-minute session that tests the wrong things.
Bug fix templateBug description + repro steps + expected vs actual + fix scope + regression targets
Refactor templateWhat changed + what must stay the same + integration points + performance baseline
Migration templateBefore/after state + data integrity checks + rollback condition + volume estimate
Each template is a CLAUDE.md skill you invoke with /qa-context-[template-name]. It prompts you for the values, then formats a complete briefing block.
Templates are stored in .claude/skills/qa/ and shared across the team. If you find a template missing a field that would have caught a bug, update it — templates compound.
8 Use-Case Flows
Scenario-specific QA briefings
Flow
When to use
Happy path
First pass on any new feature
Edge case matrix
After happy path passes — find the corners
Permission boundary
Any feature with role-based access
Data integrity
Anything writing to the database
Performance regression
Changes to queries or algorithms
Cross-browser / cross-env
Frontend changes or environment-specific code
Rollback verification
After applying any migration
Concurrency / race condition
Any async workflow or shared resource access
Run flows in order of risk, not alphabetically. Permission boundary and data integrity issues are the most expensive to miss — run those before edge case matrix or cross-browser.
Check your understanding
1. What does /ticket-context do?
Correct.Not quite.
/ticket-context reads the ticket from Odoo, the changed files from git, and existing tests — then gives Claude a complete briefing so it knows exactly what to test.
2. Which template should you use for testing a database migration?
Correct.Not quite.
The migration template covers before/after state, data integrity checks, rollback condition, and volume estimates — the specific concerns for migration testing.
3. In what order should QA flows be run?
Correct.Not quite.
Run flows in order of risk. Permission boundary and data integrity issues are the most expensive to miss — prioritise those before lower-risk flows like cross-browser.