@groupby/ai-dev 0.5.20 → 0.5.22
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 +56 -0
- package/dist/index.js +885 -124
- package/package.json +2 -2
- package/skills/README.md +42 -1
- package/teams/rangers/third-party/mattpocock/grilling/SKILL.md +28 -0
- package/teams/rangers/third-party/mattpocock/grilling/skill-meta.yml +14 -0
- package/teams/snpd/qa-skills/README.md +256 -0
- package/teams/snpd/qa-skills/be-github-actions-qa/SKILL.md +354 -0
- package/teams/snpd/qa-skills/bug-report/SKILL.md +155 -0
- package/teams/snpd/qa-skills/failed-test-triage/SKILL.md +158 -0
- package/teams/snpd/qa-skills/fe-github-actions-qa/SKILL.md +252 -0
- package/teams/snpd/qa-skills/postman-qa/SKILL.md +157 -0
- package/teams/snpd/qa-skills/qa-checklist/SKILL.md +146 -0
- package/teams/snpd/qa-skills/qa-test-plan/SKILL.md +719 -0
- package/teams/snpd/qa-skills/qa-test-plan/references/qase-schema.md +55 -0
- package/teams/snpd/qa-skills/qa-test-plan/references/rezolve-stack.md +52 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@groupby/ai-dev",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.22",
|
|
4
4
|
"description": "Interactive installer for Rezolve Ai development content",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"prebuild": "rm -rf skills teams toolsets && cp -r ../skills ./skills && cp -r ../teams ./teams && cp -r ../toolsets ./toolsets",
|
|
17
17
|
"build": "tsup",
|
|
18
|
-
"
|
|
18
|
+
"prepare": "npm run build",
|
|
19
19
|
"test": "vitest run",
|
|
20
20
|
"test:watch": "vitest",
|
|
21
21
|
"test:coverage": "vitest run --coverage"
|
package/skills/README.md
CHANGED
|
@@ -4,7 +4,7 @@ This folder manages all skills, archived skills, and examples/instructions on us
|
|
|
4
4
|
|
|
5
5
|
All skills in this `skills/library/` should represent _generally useful skills_ that might be used across teams.
|
|
6
6
|
|
|
7
|
-
If any particular skill goes missing, note that it may have simply been archived (see [the archive](
|
|
7
|
+
If any particular skill goes missing, note that it may have simply been archived (see [the archive](archived/)) and may no longer be recommended for use. Ideally skills are not simply deleted from this repository, since others may be expecting them to be there.
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -58,4 +58,45 @@ license: Complete terms in LICENSE.txt
|
|
|
58
58
|
See `docs/ai/skills/frontend-design/SKILL.md` and follow closely.
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
+
## Third-party skills
|
|
62
|
+
|
|
63
|
+
Skills authored outside the company can be vendored into a team's folder under
|
|
64
|
+
`teams/<team>/third-party/<lib>/<skill>/`, each with the upstream `SKILL.md`
|
|
65
|
+
(vendored verbatim at a pinned commit) plus a `skill-meta.yml` provenance
|
|
66
|
+
sidecar. They are curated per team by evaluation status: `evaluating`,
|
|
67
|
+
`recommended`, or `deprecated`.
|
|
68
|
+
|
|
69
|
+
The lifecycle is fetch, vendor, evaluate, and promote:
|
|
70
|
+
|
|
71
|
+
1. **Fetch + Vendor** in one step with the authoring command — paste a GitHub
|
|
72
|
+
URL to the skill folder and it writes the pinned `SKILL.md` plus a generated
|
|
73
|
+
`skill-meta.yml`:
|
|
74
|
+
```bash
|
|
75
|
+
npx @groupby/ai-dev vendor <github-url> --team <team>
|
|
76
|
+
```
|
|
77
|
+
Or do it manually: fetch into a scratch directory (for example,
|
|
78
|
+
`npx skills add <owner/repo> --copy`), then copy the single skill folder into
|
|
79
|
+
`teams/<team>/third-party/<lib>/<skill>/`, recording the source, pinned
|
|
80
|
+
commit, and `status: evaluating` in `skill-meta.yml`.
|
|
81
|
+
2. **Evaluate** it in a real project with
|
|
82
|
+
`npx @groupby/ai-dev install skill <skill-name>` (naming a skill installs it
|
|
83
|
+
regardless of status).
|
|
84
|
+
3. **Promote** it to `status: recommended` once proven, or graduate it into
|
|
85
|
+
`skills/library/` as a first-party skill (dropping the sidecar).
|
|
86
|
+
|
|
87
|
+
A `recommended` third-party skill installs with its team like any other skill;
|
|
88
|
+
`evaluating` and `deprecated` skills are held back from team installs unless you
|
|
89
|
+
pass `--include-evaluating` or `--include-deprecated`. Naming a skill directly
|
|
90
|
+
with `install skill <name>` always installs it. If a name is shared by more than
|
|
91
|
+
one skill in the same tier (for example two teams that each vendored it), the CLI
|
|
92
|
+
lists the matches and asks you to scope it with `install skill <team>/<name>` or
|
|
93
|
+
`--team <team>`. See
|
|
94
|
+
[content conventions](../docs/content-conventions.md) for the `skill-meta.yml`
|
|
95
|
+
schema and the full rules.
|
|
96
|
+
|
|
97
|
+
The `skill-meta.yml` sidecar is required. A vendored skill missing it has no
|
|
98
|
+
provenance or status, so `list` shows it as `[no status] unknown source`, team
|
|
99
|
+
installs skip it, and installing it by name still works but prints a
|
|
100
|
+
`no recorded status` note. Add the sidecar to make it a fully curated skill.
|
|
101
|
+
|
|
61
102
|
Note that we MUST include the skill boilerplate in any official skills location (eg. `.github/skills/`, etc.) to enable discovery and usage. We then copy the entire skill into `docs/ai/skills/` to leave it intact, though we don't technically need the boilerplate.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: grilling
|
|
3
|
+
description: Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Interview the user relentlessly until you reach a shared understanding. Map this as a **design tree**: every decision branches into the decisions that hang off it.
|
|
7
|
+
|
|
8
|
+
Work the tree in **rounds**. The **frontier** is every decision whose prerequisites are already settled: the questions you can ask _now_ without guessing at answers you haven't heard yet. Ask the whole frontier in one round: number each question and give your recommended answer. Then wait for the user's answers before the next round.
|
|
9
|
+
|
|
10
|
+
Format a round like so:
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
❓ **Q1** - **<question title>**: <question body, might be multiple paragraphs, including multiple choices>
|
|
14
|
+
|
|
15
|
+
➡️ <your recommended answer>
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
❓ **Q2** - **<question title>**: <question body, might be multiple paragraphs, including multiple choices>
|
|
20
|
+
|
|
21
|
+
➡️ <your recommended answer>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Each round the user answers reshapes the tree: settled decisions push the frontier outward and unblock questions that depended on them. Recompute the frontier and ask the next round. A question whose answer depends on another question still open in this round belongs to a _later_ round, not this one.
|
|
25
|
+
|
|
26
|
+
Finding _facts_ is your job, never the user's. When a frontier question needs a fact from the environment (filesystem, tools, etc.), dispatch a sub-agent to find it; don't ask the user for anything you could look up yourself. Don't block on it: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait for the sub-agent to report; ask the rest of the frontier now. The _decisions_ are the user's: put each to them and wait.
|
|
27
|
+
|
|
28
|
+
The session is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Do not act on it until the user confirms you have reached a shared understanding.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
source: mattpocock/skills
|
|
2
|
+
upstreamName: grilling
|
|
3
|
+
pinnedCommit: 6654f6b60cd9d5be8b54c6fafe44346dabeb3b76
|
|
4
|
+
vendoredOn: 2026-08-24
|
|
5
|
+
status: evaluating
|
|
6
|
+
agents: [copilot, claude, codex]
|
|
7
|
+
reviewedBy: jasonwelsh
|
|
8
|
+
notes: >-
|
|
9
|
+
Vendored verbatim from skills/productivity/grilling/SKILL.md. Upstream ships a
|
|
10
|
+
nested agents/openai.yaml alongside SKILL.md; it was dropped to keep the
|
|
11
|
+
vendored skill flat (the CLI installer copies top-level files only). Overlaps
|
|
12
|
+
the first-party rangers/team-phase-planning loop and the existing grill-me
|
|
13
|
+
skills in agentic-checkout and fhr-ai-team; evaluating whether grilling
|
|
14
|
+
replaces or is an explicit non-conflict before any promotion to recommended.
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# SNPD Team — QA Skills
|
|
2
|
+
|
|
3
|
+
A set of keyword-triggered skills that walk a Jira ticket through the full QA lifecycle — from ticket intake to a filed bug or a Qase-ready test suite — with a durable artifact at every stage.
|
|
4
|
+
|
|
5
|
+
Each skill does one job, hands off a file, and stops. The human stays in control of every transition: no skill silently continues into the next, every open question surfaces in chat before any deliverable is written, and every artifact is saved next to the ticket so it can be audited later.
|
|
6
|
+
|
|
7
|
+
## The pipeline
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
Jira ticket / Epic
|
|
11
|
+
│
|
|
12
|
+
▼
|
|
13
|
+
┌────────────────┐ writes Tasks/{KEY}/{KEY}_Test_Plan.xlsx
|
|
14
|
+
│ qa-test-plan │ ────────▶ + {KEY}_Qase_Export.json
|
|
15
|
+
└────────────────┘ (test cases with PR-diff findings + Qase-ready JSON)
|
|
16
|
+
│
|
|
17
|
+
├─────────────► ┌────────────────┐ writes Tasks/{KEY}/QA_Checklist.md
|
|
18
|
+
│ │ qa-checklist │ (exploratory / regression pass)
|
|
19
|
+
│ └────────────────┘
|
|
20
|
+
│
|
|
21
|
+
▼
|
|
22
|
+
┌────────────────┐ writes Tasks/{KEY}/{KEY}_<name>.postman_collection.json
|
|
23
|
+
│ postman-qa │ ────────▶ (SETUP + POSITIVE + REGRESSION + NEGATIVE
|
|
24
|
+
└────────────────┘ + EDGE + KNOWN-BUGS + TEARDOWN)
|
|
25
|
+
│
|
|
26
|
+
├─ fallback ─► ┌───────────────────────┐ writes test_*.py + conftest.py + tests.yml
|
|
27
|
+
│ │ be-github-actions-qa │ (pytest suite + CI job)
|
|
28
|
+
│ └───────────────────────┘
|
|
29
|
+
│
|
|
30
|
+
├─ ui only ──► ┌───────────────────────┐ writes *.spec.ts
|
|
31
|
+
│ │ fe-github-actions-qa │ (Playwright E2E)
|
|
32
|
+
│ └───────────────────────┘
|
|
33
|
+
▼
|
|
34
|
+
Test run
|
|
35
|
+
│
|
|
36
|
+
├─ green ────► Qase import via {KEY}_Qase_Export.json
|
|
37
|
+
│
|
|
38
|
+
└─ red ─────► ┌────────────────────┐ verdict: test bug / product bug / env
|
|
39
|
+
│ failed-test-triage │ ──┐
|
|
40
|
+
└────────────────────┘ │
|
|
41
|
+
│ if product bug
|
|
42
|
+
▼
|
|
43
|
+
┌────────────────┐ writes BUG_<slug>.md
|
|
44
|
+
│ bug-report │ + BUG_REPRO_<slug>.postman_collection.json
|
|
45
|
+
└────────────────┘
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
`qa-test-plan` is the entry point and auto-invokes sub-skills via the Skill tool — never composes Postman / pytest / Playwright output from memory.
|
|
49
|
+
|
|
50
|
+
## Skills
|
|
51
|
+
|
|
52
|
+
### 1. `qa-test-plan` — plan the ticket
|
|
53
|
+
|
|
54
|
+
- **Trigger** — any Jira key with testing intent (`S4R-11120`, `SNPD-4567`), or a Jira URL
|
|
55
|
+
- **Reads** — the ticket via Atlassian MCP; every linked PR via the dev-status API + Chrome MCP `/files` tab; existing collections in `Tasks/`; the env file at `Tasks/gbiqa-lo.postman_environment.json`
|
|
56
|
+
- **Produces** — `Tasks/{KEY}/{KEY}_Test_Plan.xlsx` and `Tasks/{KEY}/{KEY}_Qase_Export.json`
|
|
57
|
+
- **Stops before** — writing any Postman / pytest / Playwright output (offers those in the next message)
|
|
58
|
+
|
|
59
|
+
The orchestrator. Asks a scope question upfront (**Epic mode** — parent Epic + every related ticket, comments and statuses / **single-ticket mode** — this ticket + its comments + directly linked "relates to" issues), then does a mandatory PR review for every ticket in scope. Multiple PRs per ticket (follow-ups, optimisations) are all read. Every open question is posted in chat as one numbered list before the Excel is generated.
|
|
60
|
+
|
|
61
|
+
Excel includes a Summary sheet with the code-review findings, a Setup sheet naming which entities SETUP must create, and one row per TC. Qase JSON export is Qase-import-ready and produced at the end of the automation cycle for suite creation.
|
|
62
|
+
|
|
63
|
+
**Key rules:**
|
|
64
|
+
- Reviews the PR of the ticket via dev-status API + Chrome MCP — Jira MCP never exposes PR URLs directly
|
|
65
|
+
- If the repo requires SSO, stops and asks the user to log in — never guesses
|
|
66
|
+
- **Rule #2a — reused-method regression trap:** a shared method invoked from a new caller sees a broader input surface. Every new input dimension gets its own TC
|
|
67
|
+
- Asks upfront whether a Qase suite already exists — if it does, references those case IDs in the Excel's `Automation` column and skips duplicating
|
|
68
|
+
- Never generates Postman without a working curl for every endpoint (or a verbatim body from an existing collection in `Tasks/`)
|
|
69
|
+
- After the Excel, the very next message offers Postman — never pytest as default
|
|
70
|
+
- After Postman, a Manual Check Guide is posted inline: env to select, run order, per-TC verification steps, GCP filter, cleanup confirmation
|
|
71
|
+
|
|
72
|
+
### 2. `qa-checklist` — scoped manual pass
|
|
73
|
+
|
|
74
|
+
- **Trigger** — "checklist for [ticket]", "exploratory test", "regression checklist"
|
|
75
|
+
- **Reads** — the Jira ticket via Atlassian MCP
|
|
76
|
+
- **Produces** — a sectioned markdown checklist (pre-conditions / functional / negative / engine coverage / regression / logging / automation coverage / sign-off)
|
|
77
|
+
- **Stops before** — any automation work
|
|
78
|
+
|
|
79
|
+
Fast, scoped checklist for exploratory or regression sessions. Not a replacement for `qa-test-plan` — used when a full test plan would be overkill (config change, small bug fix, quick regression pass). Adapts sections to ticket type (feature vs. bug fix vs. config).
|
|
80
|
+
|
|
81
|
+
**Key rules:**
|
|
82
|
+
- Cross-references existing Qase cases in the automation section
|
|
83
|
+
- Adjusts engine coverage (VERTEXAI / RZLV) only if the ticket touches search/filter behaviour
|
|
84
|
+
|
|
85
|
+
### 3. `postman-qa` — write the tests
|
|
86
|
+
|
|
87
|
+
- **Trigger** — auto-invoked by `qa-test-plan` (Step 7a); also on "write pm.test", "fix Postman request", "generate collection"
|
|
88
|
+
- **Reads** — the env file (`gbiqa-lo.postman_environment.json` or `gbiqa.postman_environment.json`); existing collections in `Tasks/`; the working curls the user provided
|
|
89
|
+
- **Produces** — `Tasks/{KEY}/{KEY}_<name>.postman_collection.json`
|
|
90
|
+
- **Stops before** — running the collection (that's manual via Runner or Newman)
|
|
91
|
+
|
|
92
|
+
Every collection self-seeds: SETUP creates rules / attributes / filter sets and stores IDs in env vars; POSITIVE / REGRESSION / NEGATIVE / EDGE / KNOWN-BUGS folders reference those vars; TEARDOWN deletes everything (idempotent). Every SETUP body uses a shared `run_ts` (`Date.now()` in `pm.environment`) so re-runs never collide.
|
|
93
|
+
|
|
94
|
+
**Key rules:**
|
|
95
|
+
- **#0** Check `Tasks/{KEY}/` for an existing collection before creating a new one
|
|
96
|
+
- **#1** Read the env file first. Variable names are exact: `{{bearer_token}}` (not `bearerToken`), `{{ccapi_customer_id}}` for numeric CCAPI path IDs (`{{areaId}}` does not exist)
|
|
97
|
+
- **#2** `pm.environment.get/set`, never `pm.collectionVariables`
|
|
98
|
+
- **#3** URL as a plain string in collection JSON, not object form
|
|
99
|
+
- **#4** Integer variables must not be quoted in JSON body
|
|
100
|
+
- **#5** Dynamic bodies via `pm.request.body.raw`
|
|
101
|
+
- **#6** CCAPI PATCH takes the full attribute object from GET and modifies minimally — never a delta
|
|
102
|
+
- Every test script includes the GCP log helper (prints correlation IDs for Logs Explorer lookup)
|
|
103
|
+
|
|
104
|
+
### 4. `be-github-actions-qa` — pytest + CI fallback
|
|
105
|
+
|
|
106
|
+
- **Trigger** — "write pytest for X", "add suite to CI", "why did CI fail"; also auto-invoked by `qa-test-plan` when Postman can't cover the case cleanly
|
|
107
|
+
- **Reads** — the target file in `bs-qa-automation`, existing `conftest.py`, `.github/workflows/tests.yml`
|
|
108
|
+
- **Produces** — `test_*.py`, updates to `conftest.py` (new marker), updates to `tests.yml` (new job / matrix entry)
|
|
109
|
+
- **Stops before** — pushing / opening a PR
|
|
110
|
+
|
|
111
|
+
Used only when Postman can't cover the case cleanly — multi-step data seeding beyond Postman scripting, GCP log verification, DB query-count checks, cross-service orchestration, or scheduled CI runs.
|
|
112
|
+
|
|
113
|
+
Code patterns it produces: minimal test skeleton with fixtures, teardown, engine parametrization (`VERTEXAI` + `RZLV` in one test via `@pytest.mark.parametrize`), polling with timeout, full lifecycle (create → poll-verify → delete), and `@pytest.mark.known_bug` for product defects tracked in code.
|
|
114
|
+
|
|
115
|
+
**Key rules:**
|
|
116
|
+
- 5-step workflow: clarify → write test → register marker in `conftest.py` → add suite to `tests.yml` → give the exact local run command
|
|
117
|
+
- Never invents markers or fixture names — asks if unclear
|
|
118
|
+
|
|
119
|
+
### 5. `fe-github-actions-qa` — Playwright E2E
|
|
120
|
+
|
|
121
|
+
- **Trigger** — "write Playwright test for X", "add UI test", "automate this UI flow"
|
|
122
|
+
- **Reads** — existing specs in `brainstudiolower`, navigation helpers, `data-testid` map (or a screenshot the user provides)
|
|
123
|
+
- **Produces** — `*.spec.ts` matching the repo's structure
|
|
124
|
+
- **Stops before** — pushing / opening a PR
|
|
125
|
+
|
|
126
|
+
Commerce Console UI tests: Rules, Facets, Areas, Zones, Redirects, Filter Sets, Site Management, Tag Management.
|
|
127
|
+
|
|
128
|
+
**Key rules:**
|
|
129
|
+
- Uses the repo's mandatory import pattern — no ad-hoc `@playwright/test` imports
|
|
130
|
+
- Never navigates by raw URL — uses the navigation helper
|
|
131
|
+
- Locator preference: `data-testid` > role > text > CSS. Never nth-child, never generated class names
|
|
132
|
+
- Test name matches the Qase case ID when applicable
|
|
133
|
+
- Asks for a screenshot or `data-testid` if a selector is unknown — never invents
|
|
134
|
+
|
|
135
|
+
### 6. `bug-report` — file the defect
|
|
136
|
+
|
|
137
|
+
- **Trigger** — "write a bug", "file a bug", "is this a bug?"; also auto-invoked by `failed-test-triage` when the verdict is product bug
|
|
138
|
+
- **Reads** — the raw observation (response, log, screenshot, description), plus the ticket if one is linked
|
|
139
|
+
- **Produces** — `BUG_<short_title>.md` (in `Tasks/{KEY}/` if linked, workspace root if exploratory) and, when applicable, `BUG_REPRO_<short_title>.postman_collection.json` (2–4 requests, minimum needed to reproduce)
|
|
140
|
+
- **Stops before** — filing to Jira (that's manual — the file is the paste-ready payload)
|
|
141
|
+
|
|
142
|
+
**Format (strict):**
|
|
143
|
+
- Title with engine/scope prefix only if it applies — e.g. `[Google Search]`, `[Mongo Browse]`, `[Google Browse]`, `[Mongo+Google]`. No prefix if the bug applies everywhere or scope is unclear
|
|
144
|
+
- Title line in body wrapped in `_italic_`
|
|
145
|
+
- Section labels bold: `**Severity:**`, `**Reproduction rate:**`, `**Summary:**`, `**Notes:**`, `**Steps:**`, `**Expected result:**`, `**Actual result:**`, `**Found in:**`
|
|
146
|
+
- Steps numbered, one action per line, precise enough for a dev who has never seen the flow
|
|
147
|
+
- Actual result quotes the response / log **verbatim** — never paraphrased
|
|
148
|
+
- Reproduction rate: `100%` / `intermittent (~X/10)` / `once`
|
|
149
|
+
- Severity S1–S4 per guide
|
|
150
|
+
- Environment paragraph names env, GCP env impact, cache header state, tenant
|
|
151
|
+
|
|
152
|
+
**Key rules:**
|
|
153
|
+
- Never invents error messages or field names — copies verbatim from the actual response
|
|
154
|
+
- Repro collection is minimal — 2–4 requests, not the whole test flow
|
|
155
|
+
|
|
156
|
+
### 7. `failed-test-triage` — diagnose the failure
|
|
157
|
+
|
|
158
|
+
- **Trigger** — pasted failure output, "why is this failing", "tests are red in CI", "fix this test"
|
|
159
|
+
- **Reads** — the assertion / traceback / Newman output; correlation IDs; the env state if unclear
|
|
160
|
+
- **Produces** — a verdict in chat (test bug / product bug / env issue) + either a fix (test bug) or a `bug-report` handoff (product bug)
|
|
161
|
+
- **Stops before** — filing a bug (that's `bug-report`'s job)
|
|
162
|
+
|
|
163
|
+
Wrong diagnosis wastes days, so the skill forces an explicit hypothesis before touching anything. Flow: read the failure carefully → state hypothesis out loud → ask clarifying questions if evidence is missing → reach a verdict.
|
|
164
|
+
|
|
165
|
+
**Key rules:**
|
|
166
|
+
- Never says "flaky, rerun" without evidence
|
|
167
|
+
- MongoDB vs Search results mismatch has its own playbook — check the MongoDB pipeline first, then compare with search response
|
|
168
|
+
- Env checklist: auth token freshness, area/collection existence, LaunchDarkly flag state, tenant
|
|
169
|
+
|
|
170
|
+
## How the skills connect
|
|
171
|
+
|
|
172
|
+
### Artifact flow
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
Jira ticket / Epic
|
|
176
|
+
│
|
|
177
|
+
│ qa-test-plan
|
|
178
|
+
▼
|
|
179
|
+
Tasks/{KEY}/{KEY}_Test_Plan.xlsx ◄── test cases + PR-diff findings
|
|
180
|
+
Tasks/{KEY}/{KEY}_Qase_Export.json ◄── ready for Qase import
|
|
181
|
+
│
|
|
182
|
+
│ postman-qa
|
|
183
|
+
▼
|
|
184
|
+
Tasks/{KEY}/{KEY}_<name>.postman_collection.json ◄── SETUP + tests + TEARDOWN
|
|
185
|
+
│
|
|
186
|
+
│ test run (Runner or Newman)
|
|
187
|
+
▼
|
|
188
|
+
red? ─── failed-test-triage ─── product bug? ─── bug-report ─── BUG_<slug>.md
|
|
189
|
+
BUG_REPRO_<slug>.postman_collection.json
|
|
190
|
+
green? ─ Qase import via {KEY}_Qase_Export.json
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
All artifacts live in `Tasks/{TICKET-KEY}/` in the workspace — never scattered.
|
|
194
|
+
|
|
195
|
+
### Separation of concerns
|
|
196
|
+
|
|
197
|
+
| Boundary | Meaning |
|
|
198
|
+
|---|---|
|
|
199
|
+
| Ticket ≠ Plan | The ticket says what changed; the plan decides what to cover |
|
|
200
|
+
| Plan ≠ Tests | The Excel names the TCs; the collection scripts them |
|
|
201
|
+
| Tests ≠ Verdict | A red run is not automatically a bug — `failed-test-triage` categorises it |
|
|
202
|
+
| Verdict ≠ Bug | Product-bug verdict is the input to `bug-report`, not a filed bug |
|
|
203
|
+
| File ≠ Import | Qase JSON export is created locally; Qase import is manual, at the end of the cycle |
|
|
204
|
+
|
|
205
|
+
Each boundary is a human checkpoint. No skill silently rolls into the next.
|
|
206
|
+
|
|
207
|
+
## Typical end-to-end run
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
"generate test plan for S4R-11120" → qa-test-plan → Excel + Qase JSON
|
|
211
|
+
"yes, generate the Postman collection" → postman-qa → SETUP + tests + TEARDOWN
|
|
212
|
+
+ Manual Check Guide in chat
|
|
213
|
+
[run the collection in Postman Runner]
|
|
214
|
+
"3 tests are red — see this output" → failed-test-triage → verdict
|
|
215
|
+
"file the bug" → bug-report → BUG_<slug>.md + repro
|
|
216
|
+
[end of cycle]
|
|
217
|
+
"import Qase JSON" → Qase suite created from {KEY}_Qase_Export.json
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
## Shared conventions
|
|
221
|
+
|
|
222
|
+
- **Keyword-triggered.** Every skill fires on natural-language triggers — no `/slash-command` needed. Say "write a Postman collection for S4R-11120" and the right skill loads.
|
|
223
|
+
- **Never guess.** Ask one clear question instead of inventing field names, locators, paths, or IDs.
|
|
224
|
+
- **One message per batch of questions.** Every open question surfaces at once, not drip-fed across messages.
|
|
225
|
+
- **Match existing structure.** Follow patterns already in the repo / collection — don't introduce new formats.
|
|
226
|
+
- **English only** for all code, comments, and test names.
|
|
227
|
+
- **Show only the relevant snippet** (fixed `pm.test` block, failing job step) — not full rewrites.
|
|
228
|
+
- **Artifacts live next to the ticket.** All specs, plans, collections, and bug reports go under `Tasks/{TICKET-KEY}/`, never scattered in the workspace root.
|
|
229
|
+
|
|
230
|
+
## Install
|
|
231
|
+
|
|
232
|
+
Drop the skill folders into `.claude/skills/` in the target repo, or zip each as `<name>.skill` for the shared repo.
|
|
233
|
+
|
|
234
|
+
```
|
|
235
|
+
.claude/skills/
|
|
236
|
+
├── qa-test-plan/ # includes references/
|
|
237
|
+
├── qa-checklist/
|
|
238
|
+
├── postman-qa/
|
|
239
|
+
├── be-github-actions-qa/
|
|
240
|
+
├── fe-github-actions-qa/
|
|
241
|
+
├── bug-report/
|
|
242
|
+
└── failed-test-triage/
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
Each folder contains `SKILL.md` with the full instructions and any supporting templates.
|
|
246
|
+
|
|
247
|
+
## Requirements
|
|
248
|
+
|
|
249
|
+
- **Atlassian MCP** — Jira fetch (`qa-test-plan`, `qa-checklist`)
|
|
250
|
+
- **Claude in Chrome** MCP — PR review (dev-status API + PR `/files` tab)
|
|
251
|
+
- **GitHub SSO login** in the browser — for private `groupby` repos
|
|
252
|
+
- Access to `bs-qa-automation` (backend) and `brainstudiolower` (frontend) repos
|
|
253
|
+
- Postman + Newman
|
|
254
|
+
- `gbiqa` / `gbiqa-lower` credentials for Search API / CCAPI
|
|
255
|
+
- Qase workspace access — for importing `{KEY}_Qase_Export.json`
|
|
256
|
+
- GCP Logs Explorer access — for `[LOGGING]` TC verification
|