agent-manifesto-kit 0.0.0-development → 1.1.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/LICENSE +21 -21
- package/README.md +159 -95
- package/collection/NOTICE.md +36 -36
- package/collection/agents/code-reviewer.md +103 -103
- package/collection/agents/docs-manager.md +127 -127
- package/collection/bundles/kit-adopt/README.md +36 -36
- package/collection/bundles/kit-adopt/conventions/recommended-companions.md +43 -43
- package/collection/bundles/kit-adopt/pipelines/kit-adopt.md +52 -52
- package/collection/bundles/kit-adopt/skills/kit-adopt/SKILL.md +72 -72
- package/collection/bundles/qa-automation/README.md +48 -0
- package/collection/bundles/qa-automation/RECOMMENDS.md +19 -0
- package/collection/bundles/qa-automation/agents/qa-explorer.md +55 -0
- package/collection/bundles/qa-automation/agents/qa-test-reviewer.md +71 -0
- package/collection/bundles/qa-automation/conventions/qa-verification.md +50 -0
- package/collection/bundles/qa-automation/pipelines/qa-test-debug.md +66 -0
- package/collection/bundles/qa-automation/pipelines/qa-test-from-spec.md +65 -0
- package/collection/bundles/qa-automation/skills/qa-playwright-cli/SKILL.md +83 -0
- package/collection/bundles/qa-automation/skills/qa-test-debugger/SKILL.md +60 -0
- package/collection/bundles/qa-automation/skills/qa-test-writer/SKILL.md +60 -0
- package/collection/bundles/sdd/README.md +50 -50
- package/collection/bundles/sdd/RECOMMENDS.md +21 -21
- package/collection/bundles/sdd/agents/sdd-gap-analyzer.md +79 -79
- package/collection/bundles/sdd/agents/sdd-spec-reviewer.md +75 -75
- package/collection/bundles/sdd/conventions/sdd-doc-set.md +136 -136
- package/collection/bundles/sdd/pipelines/sdd-adopt.md +60 -60
- package/collection/bundles/sdd/pipelines/sdd-bootstrap.md +60 -60
- package/collection/bundles/sdd/skills/sdd-doc-author/SKILL.md +69 -69
- package/collection/bundles/sdd/skills/sdd-feature-author/SKILL.md +71 -71
- package/collection/bundles/sdd/skills/sdd-index-sync/SKILL.md +61 -61
- package/collection/bundles/sdd/templates/docs/INDEX.md +35 -35
- package/collection/bundles/sdd/templates/docs/api.md +23 -23
- package/collection/bundles/sdd/templates/docs/architecture.md +42 -42
- package/collection/bundles/sdd/templates/docs/db.md +22 -22
- package/collection/bundles/sdd/templates/docs/decisions/ADR-template.md +24 -24
- package/collection/bundles/sdd/templates/docs/design.md +43 -43
- package/collection/bundles/sdd/templates/docs/idea.md +46 -46
- package/collection/bundles/sdd/templates/docs/operations.md +28 -28
- package/collection/bundles/sdd/templates/docs/roadmap.md +26 -26
- package/collection/bundles/sdd/templates/docs/security.md +24 -24
- package/collection/bundles/sdd/templates/docs/testing.md +34 -34
- package/collection/bundles/sdd/templates/features/F000_template/requirements.md +38 -38
- package/collection/bundles/sdd/templates/features/F000_template/scenarios.md +26 -26
- package/collection/bundles/sdd/templates/features/F000_template/tasks.md +11 -11
- package/collection/skills/brainstorm/SKILL.md +46 -46
- package/collection/skills/business-analyst/SKILL.md +58 -58
- package/collection/skills/documentation-maintenance/SKILL.md +60 -60
- package/collection/skills/explain-code/SKILL.md +81 -81
- package/collection/skills/frontend-audit/SKILL.md +135 -135
- package/collection/skills/frontend-impeccable-design/SKILL.md +135 -135
- package/collection/skills/frontend-impeccable-polish/SKILL.md +118 -118
- package/collection/skills/implement-feature/SKILL.md +99 -99
- package/collection/skills/memory-management/SKILL.md +75 -75
- package/collection/skills/meta-tags-optimizer/SKILL.md +73 -73
- package/collection/skills/pencil-design/SKILL.md +83 -83
- package/collection/skills/playwright-cli/SKILL.md +104 -104
- package/collection/skills/prepare-release-notes/SKILL.md +109 -109
- package/collection/skills/refactor-code/SKILL.md +104 -104
- package/collection/skills/review-code/SKILL.md +98 -98
- package/collection/skills/schema-markup-generator/SKILL.md +80 -80
- package/collection/skills/task-complete/SKILL.md +79 -79
- package/collection/skills/task-discovery/SKILL.md +69 -69
- package/collection/skills/task-validation/SKILL.md +71 -71
- package/collection/skills/test-review/SKILL.md +72 -72
- package/collection/skills/test-writer/SKILL.md +78 -78
- package/collection/skills/work-with-git/SKILL.md +154 -154
- package/dist/cli.js +31 -22
- package/dist/commands/adopt.js +240 -40
- package/dist/providers.js +3 -6
- package/package.json +48 -49
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: kit-adopt
|
|
3
|
-
description: Installs a kit bundle or an individual capability into a target project — copies the assets into the target's capability area, rewrites bundle-relative paths and declared placeholders to the target, and registers the capabilities in the target's instruction entrypoint. Use when adopting kit assets into a consumer project.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Scope
|
|
7
|
-
|
|
8
|
-
- Install a selected source: a whole bundle, or one skill/agent/pipeline plus its declared
|
|
9
|
-
dependencies.
|
|
10
|
-
- Copy the assets into the target's capability area, adapt them to the target, and register
|
|
11
|
-
them so the target's tooling can discover them.
|
|
12
|
-
- Do not modify unrelated target files, source code, or assets the user did not select.
|
|
13
|
-
|
|
14
|
-
## Required Environment
|
|
15
|
-
|
|
16
|
-
- The kit source tree containing the bundle or item to install.
|
|
17
|
-
- A target project with an instruction entrypoint (for example `AGENTS.md`, `CLAUDE.md`, or
|
|
18
|
-
an equivalent root contract) and a capability area to receive the assets.
|
|
19
|
-
- The `capability-portability` concept: copied assets work in the target after consumer-
|
|
20
|
-
declared configuration (paths, project vocabulary) is supplied, without other source edits.
|
|
21
|
-
|
|
22
|
-
## Inputs
|
|
23
|
-
|
|
24
|
-
- Source selection: bundle path or item path(s) in the kit.
|
|
25
|
-
- Target repository root and the capability area to install into.
|
|
26
|
-
- Values for any placeholders the assets declare (project name, docs root, etc.).
|
|
27
|
-
|
|
28
|
-
## Procedure
|
|
29
|
-
|
|
30
|
-
Apply the Stop Conditions throughout; halt and report when any is met.
|
|
31
|
-
|
|
32
|
-
1. Confirm the source selection and resolve its declared dependencies; confirm the target
|
|
33
|
-
root, capability area, and instruction entrypoint.
|
|
34
|
-
2. Copy the assets into the target, preserving each bundle's internal structure so that
|
|
35
|
-
assets keep finding their required-environment files (conventions, templates).
|
|
36
|
-
3. Rewrite bundle-relative references to match where the assets now live in the target.
|
|
37
|
-
4. Substitute declared placeholders with the consumer-provided values. Leave undeclared
|
|
38
|
-
project-specific content untouched.
|
|
39
|
-
5. Register the installed capabilities in the target's instruction entrypoint under its
|
|
40
|
-
capability registry or equivalent list. If the entrypoint has no such section, add a
|
|
41
|
-
clearly labeled one rather than inventing routing rules.
|
|
42
|
-
6. If the installed source declares recommended companions (a `RECOMMENDS.md`), surface them
|
|
43
|
-
as optional follow-ups for the user to accept or decline. Do not auto-install them;
|
|
44
|
-
install only the ones the user selects, through this same skill.
|
|
45
|
-
7. Report what was installed, rewritten, registered, and surfaced.
|
|
46
|
-
|
|
47
|
-
## Stop Conditions
|
|
48
|
-
|
|
49
|
-
Stop and report a blocker when:
|
|
50
|
-
- the target instruction entrypoint cannot be found or is ambiguous;
|
|
51
|
-
- installing would overwrite an existing target asset (report the collision; do not
|
|
52
|
-
overwrite without confirmation);
|
|
53
|
-
- the source selection or a declared dependency cannot be located.
|
|
54
|
-
|
|
55
|
-
## Output Contract
|
|
56
|
-
|
|
57
|
-
Emit:
|
|
58
|
-
|
|
59
|
-
`Skill: kit-adopt - output below`
|
|
60
|
-
|
|
61
|
-
Then include:
|
|
62
|
-
|
|
63
|
-
| Field | Content |
|
|
64
|
-
| --- | --- |
|
|
65
|
-
| Status | `completed`, `blocked`, or `skipped` |
|
|
66
|
-
| Installed | Assets copied, with target paths |
|
|
67
|
-
| Dependencies | Dependencies pulled in, or `none` |
|
|
68
|
-
| Rewrites | Path and placeholder substitutions applied |
|
|
69
|
-
| Registry | Entrypoint edits made to register the capabilities |
|
|
70
|
-
| Companions surfaced | Optional companions offered from the source's `RECOMMENDS.md`, or `none` |
|
|
71
|
-
| Collisions | Existing target assets that blocked install, or `none` |
|
|
72
|
-
| Blockers | Unresolved issues, or `none` |
|
|
1
|
+
---
|
|
2
|
+
name: kit-adopt
|
|
3
|
+
description: Installs a kit bundle or an individual capability into a target project — copies the assets into the target's capability area, rewrites bundle-relative paths and declared placeholders to the target, and registers the capabilities in the target's instruction entrypoint. Use when adopting kit assets into a consumer project.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Scope
|
|
7
|
+
|
|
8
|
+
- Install a selected source: a whole bundle, or one skill/agent/pipeline plus its declared
|
|
9
|
+
dependencies.
|
|
10
|
+
- Copy the assets into the target's capability area, adapt them to the target, and register
|
|
11
|
+
them so the target's tooling can discover them.
|
|
12
|
+
- Do not modify unrelated target files, source code, or assets the user did not select.
|
|
13
|
+
|
|
14
|
+
## Required Environment
|
|
15
|
+
|
|
16
|
+
- The kit source tree containing the bundle or item to install.
|
|
17
|
+
- A target project with an instruction entrypoint (for example `AGENTS.md`, `CLAUDE.md`, or
|
|
18
|
+
an equivalent root contract) and a capability area to receive the assets.
|
|
19
|
+
- The `capability-portability` concept: copied assets work in the target after consumer-
|
|
20
|
+
declared configuration (paths, project vocabulary) is supplied, without other source edits.
|
|
21
|
+
|
|
22
|
+
## Inputs
|
|
23
|
+
|
|
24
|
+
- Source selection: bundle path or item path(s) in the kit.
|
|
25
|
+
- Target repository root and the capability area to install into.
|
|
26
|
+
- Values for any placeholders the assets declare (project name, docs root, etc.).
|
|
27
|
+
|
|
28
|
+
## Procedure
|
|
29
|
+
|
|
30
|
+
Apply the Stop Conditions throughout; halt and report when any is met.
|
|
31
|
+
|
|
32
|
+
1. Confirm the source selection and resolve its declared dependencies; confirm the target
|
|
33
|
+
root, capability area, and instruction entrypoint.
|
|
34
|
+
2. Copy the assets into the target, preserving each bundle's internal structure so that
|
|
35
|
+
assets keep finding their required-environment files (conventions, templates).
|
|
36
|
+
3. Rewrite bundle-relative references to match where the assets now live in the target.
|
|
37
|
+
4. Substitute declared placeholders with the consumer-provided values. Leave undeclared
|
|
38
|
+
project-specific content untouched.
|
|
39
|
+
5. Register the installed capabilities in the target's instruction entrypoint under its
|
|
40
|
+
capability registry or equivalent list. If the entrypoint has no such section, add a
|
|
41
|
+
clearly labeled one rather than inventing routing rules.
|
|
42
|
+
6. If the installed source declares recommended companions (a `RECOMMENDS.md`), surface them
|
|
43
|
+
as optional follow-ups for the user to accept or decline. Do not auto-install them;
|
|
44
|
+
install only the ones the user selects, through this same skill.
|
|
45
|
+
7. Report what was installed, rewritten, registered, and surfaced.
|
|
46
|
+
|
|
47
|
+
## Stop Conditions
|
|
48
|
+
|
|
49
|
+
Stop and report a blocker when:
|
|
50
|
+
- the target instruction entrypoint cannot be found or is ambiguous;
|
|
51
|
+
- installing would overwrite an existing target asset (report the collision; do not
|
|
52
|
+
overwrite without confirmation);
|
|
53
|
+
- the source selection or a declared dependency cannot be located.
|
|
54
|
+
|
|
55
|
+
## Output Contract
|
|
56
|
+
|
|
57
|
+
Emit:
|
|
58
|
+
|
|
59
|
+
`Skill: kit-adopt - output below`
|
|
60
|
+
|
|
61
|
+
Then include:
|
|
62
|
+
|
|
63
|
+
| Field | Content |
|
|
64
|
+
| --- | --- |
|
|
65
|
+
| Status | `completed`, `blocked`, or `skipped` |
|
|
66
|
+
| Installed | Assets copied, with target paths |
|
|
67
|
+
| Dependencies | Dependencies pulled in, or `none` |
|
|
68
|
+
| Rewrites | Path and placeholder substitutions applied |
|
|
69
|
+
| Registry | Entrypoint edits made to register the capabilities |
|
|
70
|
+
| Companions surfaced | Optional companions offered from the source's `RECOMMENDS.md`, or `none` |
|
|
71
|
+
| Collisions | Existing target assets that blocked install, or `none` |
|
|
72
|
+
| Blockers | Unresolved issues, or `none` |
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# QA Automation Bundle
|
|
2
|
+
|
|
3
|
+
QA Automation kit: a cohesive, project-agnostic set of capabilities for creating,
|
|
4
|
+
debugging, and reviewing automated tests with strong evidence trails, browser inspection,
|
|
5
|
+
and validation discipline.
|
|
6
|
+
|
|
7
|
+
This bundle is product output. It is meant to be copied into a consumer project and
|
|
8
|
+
adapted with minimal effort. The bundle is independently copyable as a unit; each item
|
|
9
|
+
below is also copyable on its own, subject to the dependencies listed.
|
|
10
|
+
|
|
11
|
+
## Contents
|
|
12
|
+
|
|
13
|
+
| Item | Type | Path | Depends on |
|
|
14
|
+
| --- | --- | --- | --- |
|
|
15
|
+
| `qa-verification` | convention | `conventions/qa-verification.md` | - |
|
|
16
|
+
| `qa-playwright-cli` | skill | `skills/qa-playwright-cli/` | - |
|
|
17
|
+
| `qa-test-writer` | skill | `skills/qa-test-writer/` | `qa-verification` |
|
|
18
|
+
| `qa-test-debugger` | skill | `skills/qa-test-debugger/` | `qa-verification` |
|
|
19
|
+
| `qa-explorer` | agent | `agents/qa-explorer.md` | `qa-verification` |
|
|
20
|
+
| `qa-test-reviewer` | agent | `agents/qa-test-reviewer.md` | `qa-verification` |
|
|
21
|
+
| `qa-test-from-spec` | pipeline | `pipelines/qa-test-from-spec.md` | skills + agents + `qa-verification` |
|
|
22
|
+
| `qa-test-debug` | pipeline | `pipelines/qa-test-debug.md` | skills + agents + `qa-verification` |
|
|
23
|
+
| Recommended companions | manifest | `RECOMMENDS.md` | optional companions only |
|
|
24
|
+
|
|
25
|
+
## Workflow Shape
|
|
26
|
+
|
|
27
|
+
The bundle separates four concerns:
|
|
28
|
+
|
|
29
|
+
- exploration before implementation
|
|
30
|
+
- test creation or debugging
|
|
31
|
+
- independent test review
|
|
32
|
+
- verification evidence before handoff
|
|
33
|
+
|
|
34
|
+
The pipelines are routing artifacts. They sequence the bundle's skills and agents, but do
|
|
35
|
+
not implement step logic themselves.
|
|
36
|
+
|
|
37
|
+
## Recommended Companions
|
|
38
|
+
|
|
39
|
+
`RECOMMENDS.md` lists optional general collection capabilities that complement QA
|
|
40
|
+
automation work, especially documentation maintenance, final validation, closure, code
|
|
41
|
+
review, and frontend audit or polish. None are required for the bundle to be copied.
|
|
42
|
+
|
|
43
|
+
## How to Copy
|
|
44
|
+
|
|
45
|
+
- Whole bundle: copy `collection/bundles/qa-automation/` into your project's capability area.
|
|
46
|
+
- A single item: copy its file or folder plus anything in the "Depends on" column.
|
|
47
|
+
- For live browser exploration, install and verify Playwright CLI before using
|
|
48
|
+
`qa-playwright-cli`.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Recommended Companions
|
|
2
|
+
|
|
3
|
+
Optional capabilities from the general collection that complement the QA Automation bundle.
|
|
4
|
+
None are required: the bundle works as a self-contained test creation, debug, and review
|
|
5
|
+
workflow. These are surfaced as opt-in suggestions by adoption tooling, including
|
|
6
|
+
`agentkit adopt`.
|
|
7
|
+
|
|
8
|
+
See `../kit-adopt/conventions/recommended-companions.md` for the declaration format.
|
|
9
|
+
|
|
10
|
+
| Companion | Kind | Suggested source | Touchpoint |
|
|
11
|
+
| --- | --- | --- | --- |
|
|
12
|
+
| `playwright-cli` | skill | `collection/skills/playwright-cli/` | General browser automation beyond the QA-specific CLI workflow |
|
|
13
|
+
| `task-validation` | skill | `collection/skills/task-validation/` | Final validation reporting after test changes |
|
|
14
|
+
| `documentation-maintenance` | skill | `collection/skills/documentation-maintenance/` | Updating testing docs, commands, or workflow notes |
|
|
15
|
+
| `task-complete` | skill | `collection/skills/task-complete/` | Closing routed non-trivial QA work |
|
|
16
|
+
| `test-review` | skill | `collection/skills/test-review/` | Lightweight review when an isolated agent is not needed |
|
|
17
|
+
| `code-reviewer` | agent | `collection/agents/code-reviewer.md` | Independent review when QA changes also touch product code |
|
|
18
|
+
| `docs-manager` | agent | `collection/agents/docs-manager.md` | Broader documentation stewardship after QA workflow changes |
|
|
19
|
+
| `frontend-audit` | skill | `collection/skills/frontend-audit/` | Accessibility and responsive UI audit during browser-based QA |
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qa-explorer
|
|
3
|
+
description: Read-only QA explorer that inspects code, tests, docs, fixtures, and live UI evidence before automated test creation or debugging.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Scope
|
|
8
|
+
|
|
9
|
+
- Gather evidence before test creation or test debugging.
|
|
10
|
+
- Identify relevant tests, helpers, fixtures, selectors, flows, risks, and unknowns.
|
|
11
|
+
- Use live browser exploration only when repository evidence is insufficient.
|
|
12
|
+
|
|
13
|
+
## Required Inputs and Context
|
|
14
|
+
|
|
15
|
+
- Test specification, failing scenario, bug reproduction, or target flow.
|
|
16
|
+
- Any known command, URL, artifact path, branch, or changed-file scope.
|
|
17
|
+
- Project testing docs, test runner configuration, and nearby tests when available.
|
|
18
|
+
|
|
19
|
+
## Boundaries
|
|
20
|
+
|
|
21
|
+
- Do not modify files.
|
|
22
|
+
- Do not implement or fix tests.
|
|
23
|
+
- Do not run full suites unless the caller explicitly approved that scope.
|
|
24
|
+
- Do not invent selectors, flows, credentials, or expected behavior.
|
|
25
|
+
|
|
26
|
+
## Procedure
|
|
27
|
+
|
|
28
|
+
If required inputs are missing or the task requires violating a boundary, halt and report
|
|
29
|
+
it under the output contract.
|
|
30
|
+
|
|
31
|
+
1. Inspect project documentation, test configuration, and nearby tests for the target behavior.
|
|
32
|
+
2. Identify reusable helpers, fixtures, page objects, selectors, setup flows, and assertions.
|
|
33
|
+
3. Inspect relevant source code only as needed to understand observable behavior.
|
|
34
|
+
4. Use live UI or artifact evidence only for missing structure, selector, console, network, visual, or timing facts.
|
|
35
|
+
5. Classify every material finding as `CONFIRMED_FROM_CODE`, `CONFIRMED_FROM_LIVE_UI`, `CONFIRMED_FROM_ARTIFACT`, or `UNKNOWN`.
|
|
36
|
+
6. Produce a compact handoff for the writer, debugger, or reviewer.
|
|
37
|
+
|
|
38
|
+
## Output Contract
|
|
39
|
+
|
|
40
|
+
Emit:
|
|
41
|
+
|
|
42
|
+
`Agent: qa-explorer - output below`
|
|
43
|
+
|
|
44
|
+
Then include:
|
|
45
|
+
|
|
46
|
+
| Field | Content |
|
|
47
|
+
| --- | --- |
|
|
48
|
+
| Status | `completed`, `skipped`, or `blocked` |
|
|
49
|
+
| Scope | Test spec, failure, page, component, or flow inspected |
|
|
50
|
+
| Relevant Files | Tests, source, fixtures, helpers, configs, or docs |
|
|
51
|
+
| Confirmed Findings | Code, live UI, or artifact findings with evidence labels |
|
|
52
|
+
| Unknowns | Missing context, blocked access, unavailable artifacts, or `none` |
|
|
53
|
+
| Reusable Patterns | Existing patterns to reuse, or `none` |
|
|
54
|
+
| Risks | Flakiness, selector, data, environment, or maintainability risks |
|
|
55
|
+
| Recommended Path | Concise implementation or debugging direction |
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qa-test-reviewer
|
|
3
|
+
description: Independently reviews automated test changes for correctness, coverage, flakiness, selector quality, maintainability, and validation gaps before handoff.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Scope
|
|
8
|
+
|
|
9
|
+
- Review new or changed automated tests after implementation or debugging.
|
|
10
|
+
- Focus on behavior protection, maintainability, deterministic execution, and evidence quality.
|
|
11
|
+
|
|
12
|
+
## Required Inputs and Context
|
|
13
|
+
|
|
14
|
+
- Task summary or test specification.
|
|
15
|
+
- Changed test files or diff.
|
|
16
|
+
- Relevant source code, fixtures, helpers, and testing conventions.
|
|
17
|
+
- Validation evidence when available.
|
|
18
|
+
|
|
19
|
+
## Boundaries
|
|
20
|
+
|
|
21
|
+
- Do not modify files.
|
|
22
|
+
- Do not stage, commit, or push changes.
|
|
23
|
+
- Do not treat subjective style preferences as findings unless they create practical risk.
|
|
24
|
+
- Do not require broad coverage unrelated to the approved behavior.
|
|
25
|
+
|
|
26
|
+
## Procedure
|
|
27
|
+
|
|
28
|
+
If required inputs are missing, emit a blocked review with the missing item named.
|
|
29
|
+
|
|
30
|
+
1. Read the changed tests and related code under test.
|
|
31
|
+
2. Confirm each test asserts observable behavior tied to the task.
|
|
32
|
+
3. Check for brittle selectors, arbitrary sleeps, broad waits, order dependence, external-service coupling, and fixture leakage.
|
|
33
|
+
4. Check whether setup, naming, assertions, and helpers match nearby project patterns.
|
|
34
|
+
5. Flag unnecessary abstraction, duplicated setup likely to drift, and overly broad helpers.
|
|
35
|
+
6. Compare validation evidence with the changed surface.
|
|
36
|
+
7. Emit findings ordered by severity.
|
|
37
|
+
|
|
38
|
+
## Output Contract
|
|
39
|
+
|
|
40
|
+
Emit:
|
|
41
|
+
|
|
42
|
+
`Agent: qa-test-reviewer - output below`
|
|
43
|
+
|
|
44
|
+
Then include:
|
|
45
|
+
|
|
46
|
+
### Verdict
|
|
47
|
+
|
|
48
|
+
One of:
|
|
49
|
+
|
|
50
|
+
- `Approve`
|
|
51
|
+
- `Approve with minor fixes`
|
|
52
|
+
- `Needs revision`
|
|
53
|
+
- `Reject`
|
|
54
|
+
|
|
55
|
+
### Findings
|
|
56
|
+
|
|
57
|
+
| File | Severity | Area | Finding | Suggested fix |
|
|
58
|
+
| --- | --- | --- | --- | --- |
|
|
59
|
+
|
|
60
|
+
Severity values: `Blocking`, `Non-blocking`, or `Info`.
|
|
61
|
+
|
|
62
|
+
Then include:
|
|
63
|
+
|
|
64
|
+
| Field | Content |
|
|
65
|
+
| --- | --- |
|
|
66
|
+
| Status | `completed`, `skipped`, or `blocked` |
|
|
67
|
+
| Scope | Diff, files, branch, or artifact set reviewed |
|
|
68
|
+
| Sources Read | Tests, code, fixtures, docs, or validation evidence |
|
|
69
|
+
| Validation Gaps | Missing or weak validation, or `none` |
|
|
70
|
+
| Assumptions | Inferences used, or `none` |
|
|
71
|
+
| Blockers | Missing scope, unreadable files, unavailable validation, or `none` |
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# QA Verification
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Define the shared evidence standard for QA automation work: test creation, test debugging,
|
|
6
|
+
browser exploration, and review handoffs.
|
|
7
|
+
|
|
8
|
+
## Standards
|
|
9
|
+
|
|
10
|
+
Prefer the smallest validation set that exercises the changed or failing behavior. Use the
|
|
11
|
+
project's own scripts, test runner, docs, and CI configuration as the source of truth for
|
|
12
|
+
commands.
|
|
13
|
+
|
|
14
|
+
Every QA handoff should record:
|
|
15
|
+
|
|
16
|
+
- the test target or failing scenario
|
|
17
|
+
- the command, browser flow, or inspection used as evidence
|
|
18
|
+
- whether each gate passed, failed, was skipped, or was blocked
|
|
19
|
+
- why any skipped or blocked gate was not run
|
|
20
|
+
- artifact paths for screenshots, traces, videos, snapshots, or logs used as evidence
|
|
21
|
+
|
|
22
|
+
Classify findings with these labels:
|
|
23
|
+
|
|
24
|
+
- `CONFIRMED_FROM_CODE` for evidence tied to files, diffs, tests, configs, or docs
|
|
25
|
+
- `CONFIRMED_FROM_LIVE_UI` for evidence observed through browser automation
|
|
26
|
+
- `CONFIRMED_FROM_ARTIFACT` for traces, videos, screenshots, logs, or test reports
|
|
27
|
+
- `UNKNOWN` when required evidence is unavailable
|
|
28
|
+
|
|
29
|
+
Do not treat live UI evidence as a substitute for test-run evidence when the task changes
|
|
30
|
+
automated tests. Do not treat passing tests as proof of visual, accessibility, or browser
|
|
31
|
+
state claims unless those claims are directly asserted or supported by artifacts.
|
|
32
|
+
|
|
33
|
+
## Failure Classification
|
|
34
|
+
|
|
35
|
+
When a test or browser check fails, classify the likely source:
|
|
36
|
+
|
|
37
|
+
- product defect
|
|
38
|
+
- test defect
|
|
39
|
+
- selector or locator drift
|
|
40
|
+
- fixture or data setup problem
|
|
41
|
+
- environment, dependency, or credential blocker
|
|
42
|
+
- flaky timing or synchronization risk
|
|
43
|
+
- unknown
|
|
44
|
+
|
|
45
|
+
Use `unknown` only after checking the relevant code, test output, and available artifacts.
|
|
46
|
+
|
|
47
|
+
## Reporting
|
|
48
|
+
|
|
49
|
+
A QA validation report should be concise and auditable. Include exact commands and artifact
|
|
50
|
+
paths, but summarize long logs instead of pasting them wholesale.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Pipeline: QA Test Debug
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Pre-defined routing plan for reproducing, diagnosing, fixing, and validating failing or
|
|
6
|
+
flaky automated tests.
|
|
7
|
+
|
|
8
|
+
This pipeline is a routing artifact. It sequences existing capabilities. It does not
|
|
9
|
+
implement step logic and does not emit its own output artifact.
|
|
10
|
+
|
|
11
|
+
## When to Apply
|
|
12
|
+
|
|
13
|
+
- The user asks to fix a failing automated test.
|
|
14
|
+
- The user asks to investigate a flaky, hanging, or suspicious test.
|
|
15
|
+
- CI or local validation reports a test failure that needs root-cause analysis.
|
|
16
|
+
|
|
17
|
+
Do not use this pipeline for creating new coverage from a clean specification; use
|
|
18
|
+
`qa-test-from-spec` for that workflow.
|
|
19
|
+
|
|
20
|
+
## Inputs
|
|
21
|
+
|
|
22
|
+
- Failing command, CI check, test name, trace, screenshot, video, report, or log.
|
|
23
|
+
- Relevant branch, diff, changed files, or recent behavior change when known.
|
|
24
|
+
- Environment constraints such as browser, service, credential, or fixture availability.
|
|
25
|
+
|
|
26
|
+
## Stages
|
|
27
|
+
|
|
28
|
+
If any Stop Condition applies, halt the pipeline and report the blocker; Revision Rules only
|
|
29
|
+
govern completed stage outputs.
|
|
30
|
+
|
|
31
|
+
| Stage | Capability | Required Visible Artifact |
|
|
32
|
+
| --- | --- | --- |
|
|
33
|
+
| 1. Intake | direct - capture failing command, artifacts, and expected behavior source | concise failure scope note |
|
|
34
|
+
| 2. Explore failure | `Agent: qa-explorer` | `Agent: qa-explorer - output below` |
|
|
35
|
+
| 3. Diagnose and fix | `Skill: qa-test-debugger` | `Skill: qa-test-debugger - output below` |
|
|
36
|
+
| 4. Review tests | `Agent: qa-test-reviewer` when tests changed; direct skip note when no tests changed | reviewer artifact or skip note |
|
|
37
|
+
| 5. Verify | direct - run gates defined by `qa-verification` and project commands | validation evidence |
|
|
38
|
+
| 6. Documentation impact | direct - update or report docs impact if commands, workflows, or known failure modes changed | docs impact note |
|
|
39
|
+
| 7. Closure | direct - summarize root cause, changes, validation, residual risk, and next steps | closure summary |
|
|
40
|
+
|
|
41
|
+
Do not advance past a stage whose expected visible artifact is missing.
|
|
42
|
+
|
|
43
|
+
## Revision Rules
|
|
44
|
+
|
|
45
|
+
- If reproduction is blocked, stop and report the blocker with available evidence.
|
|
46
|
+
- If root cause is `unknown`, stop after diagnosis unless the user approves an exploratory fix.
|
|
47
|
+
- If review reports blocking findings, return to diagnosis and fix. Repeat at most two cycles.
|
|
48
|
+
- If verification fails for the same reason after two fix cycles, stop and surface the remaining failure.
|
|
49
|
+
|
|
50
|
+
## Authority Sources
|
|
51
|
+
|
|
52
|
+
- the `qa-verification` convention
|
|
53
|
+
- project test conventions, docs, package scripts, CI config, and nearby tests
|
|
54
|
+
- failure artifacts and the expected behavior source
|
|
55
|
+
|
|
56
|
+
## Stop Conditions
|
|
57
|
+
|
|
58
|
+
- The failing test, command, or artifact cannot be identified.
|
|
59
|
+
- Required dependencies, services, browsers, or credentials are unavailable.
|
|
60
|
+
- The likely fix requires a product decision outside the approved task.
|
|
61
|
+
- Verification is blocked and no meaningful alternate validation path exists.
|
|
62
|
+
|
|
63
|
+
## Output Contract
|
|
64
|
+
|
|
65
|
+
The pipeline emits no artifact of its own. Each stage emits its own contract artifact as
|
|
66
|
+
listed above.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Pipeline: QA Test From Spec
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Pre-defined routing plan for creating automated tests from a specification, bug
|
|
6
|
+
reproduction, acceptance criterion, user story, or exploration request.
|
|
7
|
+
|
|
8
|
+
This pipeline is a routing artifact. It sequences existing capabilities. It does not
|
|
9
|
+
implement step logic and does not emit its own output artifact.
|
|
10
|
+
|
|
11
|
+
## When to Apply
|
|
12
|
+
|
|
13
|
+
- The user asks to create automated tests from a described behavior.
|
|
14
|
+
- The user asks to add regression coverage for a bug reproduction.
|
|
15
|
+
- The user asks to cover a UI, API, component, or workflow scenario with tests.
|
|
16
|
+
|
|
17
|
+
Do not use this pipeline for pure product implementation without test creation, broad test
|
|
18
|
+
suite audits, or one-line obvious test edits classified as trivial by the local manager.
|
|
19
|
+
|
|
20
|
+
## Inputs
|
|
21
|
+
|
|
22
|
+
- Specification, acceptance criterion, bug reproduction, or target scenario.
|
|
23
|
+
- Target test type when known: UI, API, integration, component, unit, visual, accessibility, or other.
|
|
24
|
+
- Known commands, docs, fixtures, app URLs, or artifacts when available.
|
|
25
|
+
|
|
26
|
+
## Stages
|
|
27
|
+
|
|
28
|
+
If any Stop Condition applies, halt the pipeline and report the blocker instead of advancing.
|
|
29
|
+
|
|
30
|
+
| Stage | Capability | Required Visible Artifact |
|
|
31
|
+
| --- | --- | --- |
|
|
32
|
+
| 1. Intake | direct - confirm scope, target behavior, and available commands | concise scope note |
|
|
33
|
+
| 2. Explore | `Agent: qa-explorer` | `Agent: qa-explorer - output below` |
|
|
34
|
+
| 3. Write tests | `Skill: qa-test-writer` | `Skill: qa-test-writer - output below` |
|
|
35
|
+
| 4. Review tests | `Agent: qa-test-reviewer` | `Agent: qa-test-reviewer - output below` |
|
|
36
|
+
| 5. Verify | direct - run gates defined by `qa-verification` and project commands | validation evidence |
|
|
37
|
+
| 6. Documentation impact | direct - update or report docs impact if test commands, workflows, or behavior changed | docs impact note |
|
|
38
|
+
| 7. Closure | direct - summarize changed files, validation, residual risk, and next steps | closure summary |
|
|
39
|
+
|
|
40
|
+
Do not advance past a stage whose expected visible artifact is missing.
|
|
41
|
+
|
|
42
|
+
## Revision Rules
|
|
43
|
+
|
|
44
|
+
- `Approve`: continue to verification.
|
|
45
|
+
- `Approve with minor fixes`: apply the cited fixes, re-run targeted verification, and continue.
|
|
46
|
+
- `Needs revision`: return to the writing stage with the findings. Repeat at most two cycles.
|
|
47
|
+
- `Reject`: return to exploration because the test approach does not match the evidence or scope.
|
|
48
|
+
|
|
49
|
+
## Authority Sources
|
|
50
|
+
|
|
51
|
+
- the `qa-verification` convention
|
|
52
|
+
- project test conventions, docs, package scripts, CI config, and nearby tests
|
|
53
|
+
- the user's approved specification or bug reproduction
|
|
54
|
+
|
|
55
|
+
## Stop Conditions
|
|
56
|
+
|
|
57
|
+
- The expected behavior cannot be stated as observable assertions.
|
|
58
|
+
- Required test commands, frameworks, fixtures, or credentials are unavailable.
|
|
59
|
+
- The reviewer still reports blocking findings after two revision cycles.
|
|
60
|
+
- Verification is blocked and no meaningful alternate validation path exists.
|
|
61
|
+
|
|
62
|
+
## Output Contract
|
|
63
|
+
|
|
64
|
+
The pipeline emits no artifact of its own. Each stage emits its own contract artifact as
|
|
65
|
+
listed above.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qa-playwright-cli
|
|
3
|
+
description: Uses Playwright CLI for QA-focused live browser exploration, locator evidence, screenshots, traces, console output, and network evidence when repository evidence is insufficient.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Scope
|
|
7
|
+
|
|
8
|
+
- Inspect live browser state for QA work when files, tests, page objects, fixtures, and docs do not reliably answer the question.
|
|
9
|
+
- Gather evidence for test creation, test debugging, selector review, accessibility snapshots, console errors, network issues, screenshots, and traces.
|
|
10
|
+
|
|
11
|
+
## Prerequisites
|
|
12
|
+
|
|
13
|
+
Playwright CLI is a command-line browser automation tool for coding agents. It provides
|
|
14
|
+
token-efficient browser control, accessibility snapshots, element refs, sessions, screenshots,
|
|
15
|
+
traces, console inspection, and network inspection.
|
|
16
|
+
|
|
17
|
+
Official docs:
|
|
18
|
+
|
|
19
|
+
- <https://playwright.dev/agent-cli/introduction>
|
|
20
|
+
- <https://playwright.dev/agent-cli/installation>
|
|
21
|
+
- <https://playwright.dev/agent-cli/snapshots>
|
|
22
|
+
|
|
23
|
+
Before use, verify:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
node --version
|
|
27
|
+
playwright-cli --help
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Use Node.js 20 or newer. When installation is needed and the user approves setup, install
|
|
31
|
+
the CLI with:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm install -g @playwright/cli@latest
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
If the global command is unavailable, try:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npx playwright-cli --help
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Do not install browsers, install packages, create persistent profiles, or authenticate into
|
|
44
|
+
external systems without user approval.
|
|
45
|
+
|
|
46
|
+
## Safety Constraints
|
|
47
|
+
|
|
48
|
+
- Do not modify repository files through browser automation.
|
|
49
|
+
- Do not run full test suites from this skill.
|
|
50
|
+
- Do not perform destructive or persistent live-environment actions.
|
|
51
|
+
- Do not store credentials or session data in project files.
|
|
52
|
+
- Prefer accessibility snapshots for structure and screenshots for visual-only evidence.
|
|
53
|
+
- Re-snapshot after navigation or state changes; element refs are valid only for the current snapshot.
|
|
54
|
+
|
|
55
|
+
## Procedure
|
|
56
|
+
|
|
57
|
+
Apply Safety Constraints throughout; if the requested browser action would violate them,
|
|
58
|
+
stop and report `blocked`.
|
|
59
|
+
|
|
60
|
+
1. Open the smallest relevant URL or local app state.
|
|
61
|
+
2. Capture an accessibility snapshot before interacting.
|
|
62
|
+
3. Interact only as much as needed to answer the QA question.
|
|
63
|
+
4. Inspect attributes, console output, network records, screenshots, or traces only when the snapshot is insufficient.
|
|
64
|
+
5. Label every live finding as `CONFIRMED_FROM_LIVE_UI` or `UNKNOWN`.
|
|
65
|
+
6. Close only sessions opened for the current task.
|
|
66
|
+
|
|
67
|
+
## Output Contract
|
|
68
|
+
|
|
69
|
+
Emit:
|
|
70
|
+
|
|
71
|
+
`Skill: qa-playwright-cli - output below`
|
|
72
|
+
|
|
73
|
+
Then include:
|
|
74
|
+
|
|
75
|
+
| Field | Content |
|
|
76
|
+
| --- | --- |
|
|
77
|
+
| Status | `completed`, `skipped`, or `blocked` |
|
|
78
|
+
| URL / Environment | Page or app inspected |
|
|
79
|
+
| Actions | Browser commands or flow performed |
|
|
80
|
+
| Findings | Findings labeled `CONFIRMED_FROM_LIVE_UI` or `UNKNOWN` |
|
|
81
|
+
| Evidence | Snapshot details, stable attributes, console/network facts, or artifact paths |
|
|
82
|
+
| Artifacts | Screenshot, trace, video, or snapshot paths, or `none` |
|
|
83
|
+
| Errors / Unknowns | Failed commands, missing access, unavailable credentials, or `none` |
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qa-test-debugger
|
|
3
|
+
description: Reproduces, diagnoses, and minimally fixes failing or flaky automated tests while preserving evidence about whether the cause is product code, test code, environment, or unknown.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Scope
|
|
7
|
+
|
|
8
|
+
- Investigate failing, flaky, or suspicious automated tests.
|
|
9
|
+
- Apply the smallest safe fix when the root cause is clear and within the approved task scope.
|
|
10
|
+
|
|
11
|
+
## Boundaries
|
|
12
|
+
|
|
13
|
+
- Do not delete or weaken assertions to make tests pass.
|
|
14
|
+
- Do not update snapshots, fixtures, or expectations unless evidence shows the expected behavior intentionally changed.
|
|
15
|
+
- Do not mask product defects by changing tests.
|
|
16
|
+
- Do not run broad suites before a targeted reproduction unless project conventions require it.
|
|
17
|
+
|
|
18
|
+
## Stop Conditions
|
|
19
|
+
|
|
20
|
+
Stop and report blocked when:
|
|
21
|
+
|
|
22
|
+
- the failing command, scenario, or artifact cannot be identified
|
|
23
|
+
- the failure cannot be reproduced and no useful artifacts exist
|
|
24
|
+
- required credentials, services, browsers, or dependencies are unavailable
|
|
25
|
+
- the likely fix requires a product decision outside the approved task
|
|
26
|
+
|
|
27
|
+
## Procedure
|
|
28
|
+
|
|
29
|
+
If any stop condition applies, halt the procedure and report the blocker under the output
|
|
30
|
+
contract.
|
|
31
|
+
|
|
32
|
+
Apply Boundaries throughout; if the requested fix requires violating one, stop and report
|
|
33
|
+
`blocked`.
|
|
34
|
+
|
|
35
|
+
1. Record the failing command, scenario, environment, and available artifacts.
|
|
36
|
+
2. Reproduce with the narrowest command or browser flow.
|
|
37
|
+
3. Inspect test code, product code, fixtures, configuration, and artifacts relevant to the failure.
|
|
38
|
+
4. Classify the likely cause as product defect, test defect, selector drift, fixture/data issue, environment blocker, flaky timing risk, or unknown.
|
|
39
|
+
5. Apply a minimal fix only when the cause is clear and in scope.
|
|
40
|
+
6. Re-run targeted verification and report any residual risk.
|
|
41
|
+
|
|
42
|
+
## Output Contract
|
|
43
|
+
|
|
44
|
+
Emit:
|
|
45
|
+
|
|
46
|
+
`Skill: qa-test-debugger - output below`
|
|
47
|
+
|
|
48
|
+
Then include:
|
|
49
|
+
|
|
50
|
+
| Field | Content |
|
|
51
|
+
| --- | --- |
|
|
52
|
+
| Status | `completed`, `skipped`, or `blocked` |
|
|
53
|
+
| Failure Scope | Test, command, scenario, or artifact investigated |
|
|
54
|
+
| Reproduction | Command or browser flow and observed result |
|
|
55
|
+
| Root Cause Classification | Product defect, test defect, selector drift, fixture/data issue, environment blocker, flaky timing risk, unknown |
|
|
56
|
+
| Changed Files | Files changed with one-line reason, or `none` |
|
|
57
|
+
| Verification | Commands run and pass/fail/skipped/blocked status |
|
|
58
|
+
| Evidence | Logs, screenshots, traces, reports, or code references |
|
|
59
|
+
| Residual Risk | Remaining uncertainty, or `none` |
|
|
60
|
+
| Blockers | Missing context, unavailable environment, or out-of-scope decision, or `none` |
|