qa-workflow-cc 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +461 -0
- package/VERSION +1 -0
- package/bin/install.js +116 -0
- package/commands/qa/continue.md +77 -0
- package/commands/qa/full.md +149 -0
- package/commands/qa/init.md +105 -0
- package/commands/qa/resume.md +91 -0
- package/commands/qa/status.md +66 -0
- package/package.json +28 -0
- package/skills/qa/SKILL.md +420 -0
- package/skills/qa/references/continuation-format.md +58 -0
- package/skills/qa/references/exit-criteria.md +53 -0
- package/skills/qa/references/lifecycle.md +181 -0
- package/skills/qa/references/model-profiles.md +77 -0
- package/skills/qa/templates/agent-skeleton.md +733 -0
- package/skills/qa/templates/component-test.md +1088 -0
- package/skills/qa/templates/domain-research-queries.md +101 -0
- package/skills/qa/templates/domain-security-profiles.md +182 -0
- package/skills/qa/templates/e2e-test.md +1200 -0
- package/skills/qa/templates/nielsen-heuristics.md +274 -0
- package/skills/qa/templates/performance-benchmarks-base.md +321 -0
- package/skills/qa/templates/qa-report-template.md +271 -0
- package/skills/qa/templates/security-checklist-owasp.md +451 -0
- package/skills/qa/templates/stop-points/bootstrap-complete.md +36 -0
- package/skills/qa/templates/stop-points/certified.md +25 -0
- package/skills/qa/templates/stop-points/escalated.md +32 -0
- package/skills/qa/templates/stop-points/fix-ready.md +43 -0
- package/skills/qa/templates/stop-points/phase-transition.md +4 -0
- package/skills/qa/templates/stop-points/status-dashboard.md +32 -0
- package/skills/qa/templates/test-standards.md +652 -0
- package/skills/qa/templates/unit-test.md +998 -0
- package/skills/qa/templates/visual-regression.md +418 -0
- package/skills/qa/workflows/bootstrap.md +45 -0
- package/skills/qa/workflows/decision-gate.md +66 -0
- package/skills/qa/workflows/fix-execute.md +132 -0
- package/skills/qa/workflows/fix-plan.md +52 -0
- package/skills/qa/workflows/report-phase.md +64 -0
- package/skills/qa/workflows/test-phase.md +86 -0
- package/skills/qa/workflows/verify-phase.md +65 -0
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
# QA Cycle Report Template (Generic)
|
|
2
|
+
|
|
3
|
+
Category B template for QA bootstrapping. Contains `{{variable}}` placeholders that the bootstrap skill populates with project-specific content.
|
|
4
|
+
|
|
5
|
+
## Variables
|
|
6
|
+
|
|
7
|
+
| Variable | Description | Example |
|
|
8
|
+
|----------|-------------|---------|
|
|
9
|
+
| `{{appCategories}}` | Markdown sections for each app/module under "Results by Category" | Portal Business, Client Portal, API, Worker |
|
|
10
|
+
| `{{exitCriteria}}` | Customizable exit criteria rows for the gate table | App-specific Lighthouse targets, isolation fields, auth types |
|
|
11
|
+
| `{{projectName}}` | Name of the project being tested | TruLine, Acme CRM |
|
|
12
|
+
| `{{scopeOptions}}` | Valid scope arguments for this project's QA runs | full, portal-business, portal, api, security, ux |
|
|
13
|
+
| `{{testIdPrefixes}}` | Project-specific test ID prefix conventions | PB-*, CP-*, API-*, WK-* |
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Template
|
|
18
|
+
|
|
19
|
+
Use this template when generating QA cycle reports at `docs/qa-reports/cycle-{N}-{YYYY-MM-DD}.md`.
|
|
20
|
+
|
|
21
|
+
````markdown
|
|
22
|
+
# QA Cycle {N} Report -- {YYYY-MM-DD}
|
|
23
|
+
|
|
24
|
+
**Project:** {{projectName}}
|
|
25
|
+
**Scope:** {scope from {{scopeOptions}}}
|
|
26
|
+
**Duration:** {start time} -- {end time}
|
|
27
|
+
**Previous Cycle:** {N-1 or "First cycle"}
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Executive Summary
|
|
32
|
+
|
|
33
|
+
| Metric | Value | Delta |
|
|
34
|
+
|--------|-------|-------|
|
|
35
|
+
| Total Tests | {N} | {+/-N from last cycle} |
|
|
36
|
+
| Passing | {N} ({%}) | {+/-N} |
|
|
37
|
+
| Failing | {N} ({%}) | {+/-N} |
|
|
38
|
+
| Skipped | {N} | {+/-N} |
|
|
39
|
+
| Critical Defects | {N} | {+/-N} |
|
|
40
|
+
| Major Defects | {N} | {+/-N} |
|
|
41
|
+
| Minor Defects | {N} | {+/-N} |
|
|
42
|
+
| Cosmetic Defects | {N} | {+/-N} |
|
|
43
|
+
| UX Score (Nielsen avg) | {X.X}/5.0 | {+/-X.X} |
|
|
44
|
+
|
|
45
|
+
### Health Assessment
|
|
46
|
+
|
|
47
|
+
{One paragraph summary: Is the platform ready for users? What are the blockers? What improved since the last cycle?}
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Results by Category
|
|
52
|
+
|
|
53
|
+
{{appCategories}}
|
|
54
|
+
|
|
55
|
+
<!-- BOOTSTRAP INSTRUCTIONS:
|
|
56
|
+
Replace {{appCategories}} with one section per app/module in your project.
|
|
57
|
+
Each section follows this format:
|
|
58
|
+
|
|
59
|
+
### {App/Module Name} -- Functional ({pass}/{total})
|
|
60
|
+
|
|
61
|
+
| Test ID | Description | Status | Severity | Notes |
|
|
62
|
+
|---------|------------|--------|----------|-------|
|
|
63
|
+
| {PREFIX}-{AREA}-{NNN} | ... | PASS/FAIL | -- | -- |
|
|
64
|
+
|
|
65
|
+
Common section types to include:
|
|
66
|
+
- One section per frontend app (e.g., "Web App", "Mobile App", "Admin Panel")
|
|
67
|
+
- One section per backend service (e.g., "API Routers", "Background Workers")
|
|
68
|
+
- A "Security" section for isolation and auth boundary tests
|
|
69
|
+
- A "UX Evaluation" section for heuristic scoring
|
|
70
|
+
- A "Performance" section for benchmarks and vitals
|
|
71
|
+
|
|
72
|
+
Example for a 3-app project:
|
|
73
|
+
|
|
74
|
+
### Web Dashboard -- Functional ({pass}/{total})
|
|
75
|
+
|
|
76
|
+
| Test ID | Description | Status | Severity | Notes |
|
|
77
|
+
|---------|------------|--------|----------|-------|
|
|
78
|
+
| WEB-AUTH-001 | ... | PASS | -- | -- |
|
|
79
|
+
|
|
80
|
+
### Mobile App -- Functional ({pass}/{total})
|
|
81
|
+
|
|
82
|
+
| Test ID | Description | Status | Severity | Notes |
|
|
83
|
+
|---------|------------|--------|----------|-------|
|
|
84
|
+
| MOB-NAV-001 | ... | PASS | -- | -- |
|
|
85
|
+
|
|
86
|
+
### API Routers ({pass}/{total})
|
|
87
|
+
|
|
88
|
+
| Test ID | Description | Status | Severity | Notes |
|
|
89
|
+
|---------|------------|--------|----------|-------|
|
|
90
|
+
| API-USER-001 | ... | PASS | -- | -- |
|
|
91
|
+
-->
|
|
92
|
+
|
|
93
|
+
### Security ({pass}/{total})
|
|
94
|
+
|
|
95
|
+
| Test ID | Description | Status | Severity | Notes |
|
|
96
|
+
|---------|------------|--------|----------|-------|
|
|
97
|
+
| SEC-ISO-001 | ... | PASS/FAIL | -- | -- |
|
|
98
|
+
|
|
99
|
+
### UX Evaluation
|
|
100
|
+
|
|
101
|
+
{Nielsen heuristic scores table -- use the nielsen-heuristics.md rubric}
|
|
102
|
+
{WCAG findings}
|
|
103
|
+
{UI/UX rule compliance check}
|
|
104
|
+
|
|
105
|
+
### Performance ({pass}/{total})
|
|
106
|
+
|
|
107
|
+
| Test ID | Description | Status | Severity | Notes |
|
|
108
|
+
|---------|------------|--------|----------|-------|
|
|
109
|
+
| PERF-CWV-001 | ... | PASS/FAIL | -- | -- |
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Defect Catalog
|
|
114
|
+
|
|
115
|
+
### Critical Defects ({N})
|
|
116
|
+
|
|
117
|
+
#### DEF-{NNN}: {Title}
|
|
118
|
+
- **Test ID:** {test ID that caught this defect}
|
|
119
|
+
- **Feature/PRD Section:** {section reference or feature name}
|
|
120
|
+
- **Severity:** Critical
|
|
121
|
+
- **Description:** {what is broken}
|
|
122
|
+
- **Evidence:** {file path, line number, error message, screenshot reference}
|
|
123
|
+
- **Impact:** {who is affected and how -- user-facing? data integrity? security?}
|
|
124
|
+
- **Suggested Fix:** {brief technical approach to resolution}
|
|
125
|
+
|
|
126
|
+
### Major Defects ({N})
|
|
127
|
+
|
|
128
|
+
#### DEF-{NNN}: {Title}
|
|
129
|
+
- **Test ID:** {test ID}
|
|
130
|
+
- **Feature/PRD Section:** {section reference}
|
|
131
|
+
- **Severity:** Major
|
|
132
|
+
- **Description:** {what is broken}
|
|
133
|
+
- **Evidence:** {file path, line number, error}
|
|
134
|
+
- **Impact:** {who is affected and how}
|
|
135
|
+
- **Suggested Fix:** {brief approach}
|
|
136
|
+
|
|
137
|
+
### Minor Defects ({N})
|
|
138
|
+
|
|
139
|
+
#### DEF-{NNN}: {Title}
|
|
140
|
+
- **Test ID:** {test ID}
|
|
141
|
+
- **Severity:** Minor
|
|
142
|
+
- **Description:** {what is broken}
|
|
143
|
+
- **Evidence:** {evidence}
|
|
144
|
+
- **Suggested Fix:** {brief approach}
|
|
145
|
+
|
|
146
|
+
### Cosmetic Defects ({N})
|
|
147
|
+
|
|
148
|
+
#### DEF-{NNN}: {Title}
|
|
149
|
+
- **Test ID:** {test ID}
|
|
150
|
+
- **Severity:** Cosmetic
|
|
151
|
+
- **Description:** {visual issue}
|
|
152
|
+
- **Evidence:** {screenshot or file reference}
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Exit Criteria Status
|
|
157
|
+
|
|
158
|
+
{{exitCriteria}}
|
|
159
|
+
|
|
160
|
+
<!-- BOOTSTRAP INSTRUCTIONS:
|
|
161
|
+
Replace {{exitCriteria}} with a gate table customized to the project.
|
|
162
|
+
The table below shows the standard rows. Add, remove, or adjust thresholds
|
|
163
|
+
based on project requirements.
|
|
164
|
+
|
|
165
|
+
Standard exit criteria table:
|
|
166
|
+
|
|
167
|
+
| Gate | Threshold | Current | Status |
|
|
168
|
+
|------|-----------|---------|--------|
|
|
169
|
+
| P0 features pass | 100% | {%} | PASS/FAIL |
|
|
170
|
+
| P1 features pass | 100% | {%} | PASS/FAIL |
|
|
171
|
+
| Critical defects open | 0 | {N} | PASS/FAIL |
|
|
172
|
+
| Major defects open | 0 | {N} | PASS/FAIL |
|
|
173
|
+
| Minor defects open | <10 | {N} | PASS/FAIL |
|
|
174
|
+
| UX Score (Nielsen avg) | >= 3.5 | {X.X} | PASS/FAIL |
|
|
175
|
+
| WCAG 2.1 AA critical violations | 0 | {N} | PASS/FAIL |
|
|
176
|
+
| Lighthouse Performance | >= 80 | {N} | PASS/FAIL |
|
|
177
|
+
| Lighthouse Accessibility | >= 85 | {N} | PASS/FAIL |
|
|
178
|
+
| Tenant isolation verified | 100% | {%} | PASS/FAIL |
|
|
179
|
+
| Auth boundary tests | 100% | {%} | PASS/FAIL |
|
|
180
|
+
|
|
181
|
+
Project-specific rows to consider adding:
|
|
182
|
+
- API uptime percentage (for production monitoring)
|
|
183
|
+
- E2E test suite pass rate
|
|
184
|
+
- Security scan (SAST/DAST) pass
|
|
185
|
+
- Load test throughput threshold
|
|
186
|
+
- Mobile-specific gates (app store compliance, offline mode)
|
|
187
|
+
-->
|
|
188
|
+
|
|
189
|
+
**Overall Verdict:** {PASS -- Ready for release | FAIL -- Requires Cycle N+1}
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## Recommendations
|
|
194
|
+
|
|
195
|
+
### Priority Fixes for Next Cycle
|
|
196
|
+
|
|
197
|
+
1. {Highest-impact fix with defect reference}
|
|
198
|
+
2. {Second-highest fix}
|
|
199
|
+
3. {Third fix}
|
|
200
|
+
|
|
201
|
+
### Areas Needing More Test Coverage
|
|
202
|
+
|
|
203
|
+
1. {Feature or module with low coverage and why}
|
|
204
|
+
2. {Feature or module with known gaps}
|
|
205
|
+
|
|
206
|
+
### Architecture Concerns
|
|
207
|
+
|
|
208
|
+
1. {Systemic issue observed during testing that warrants design attention}
|
|
209
|
+
2. {Performance or scalability concern}
|
|
210
|
+
|
|
211
|
+
### Regression Watch
|
|
212
|
+
|
|
213
|
+
1. {Previously fixed defect that should be monitored in future cycles}
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
*Generated by QA Orchestrator -- Cycle {N}*
|
|
218
|
+
````
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## Defect Severity Definitions (Universal)
|
|
223
|
+
|
|
224
|
+
These definitions are the same for every project. They determine fix priority and release blocking.
|
|
225
|
+
|
|
226
|
+
| Severity | Definition | Examples | Release Impact |
|
|
227
|
+
|----------|-----------|---------|----------------|
|
|
228
|
+
| **Critical** | Feature completely broken, data loss risk, security vulnerability, crash | Cross-tenant data leak, auth bypass, core feature crash, data corruption | Blocks release. Fix immediately. |
|
|
229
|
+
| **Major** | Feature partially broken with no workaround, significant user impact | File upload fails, real-time messaging broken, form submission error | Blocks release. Fix before ship. |
|
|
230
|
+
| **Minor** | Feature works but with friction, workaround exists | Filter state lost on back nav, sort not persisting, slow page transition | Does not block release. Fix within next sprint. |
|
|
231
|
+
| **Cosmetic** | Visual-only issue, no functional impact | Icon misalignment, wrong font weight, inconsistent spacing, color mismatch | Does not block release. Fix when convenient. |
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## Report Naming Convention
|
|
236
|
+
|
|
237
|
+
```
|
|
238
|
+
docs/qa-reports/
|
|
239
|
+
cycle-1-2026-02-09.md # QA cycle reports
|
|
240
|
+
cycle-2-2026-02-12.md
|
|
241
|
+
fix-plan-cycle-1.md # Fix plans (generated after defect analysis)
|
|
242
|
+
fix-plan-cycle-2.md
|
|
243
|
+
cycle-state.json # Machine-readable cycle state for resume
|
|
244
|
+
final-certification.md # Written when all gates pass
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
|
|
249
|
+
## Cycle State JSON Schema
|
|
250
|
+
|
|
251
|
+
```json
|
|
252
|
+
{
|
|
253
|
+
"currentCycle": 1,
|
|
254
|
+
"startedAt": "2026-02-09T10:00:00Z",
|
|
255
|
+
"completedAt": "2026-02-09T12:30:00Z",
|
|
256
|
+
"scope": "full",
|
|
257
|
+
"results": {
|
|
258
|
+
"total": 0,
|
|
259
|
+
"pass": 0,
|
|
260
|
+
"fail": 0,
|
|
261
|
+
"skip": 0,
|
|
262
|
+
"critical": 0,
|
|
263
|
+
"major": 0,
|
|
264
|
+
"minor": 0,
|
|
265
|
+
"cosmetic": 0
|
|
266
|
+
},
|
|
267
|
+
"failedTests": [],
|
|
268
|
+
"openDefects": [],
|
|
269
|
+
"exitCriteriaMet": false
|
|
270
|
+
}
|
|
271
|
+
```
|