QA + Process

Context Manager

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.
4 Templates

Reusable context templates

New feature templateTicket + acceptance criteria + happy path + 3 edge cases + regression scope
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

FlowWhen to use
Happy pathFirst pass on any new feature
Edge case matrixAfter happy path passes — find the corners
Permission boundaryAny feature with role-based access
Data integrityAnything writing to the database
Performance regressionChanges to queries or algorithms
Cross-browser / cross-envFrontend changes or environment-specific code
Rollback verificationAfter applying any migration
Concurrency / race conditionAny 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.