@ecology91/skills 0.1.0 → 0.1.2

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 CHANGED
@@ -20,7 +20,7 @@ npx skills@latest add ecology9191/skills -a opencode
20
20
  2. Or install the published npm package directly:
21
21
 
22
22
  ```bash
23
- npx @ecology91/skills
23
+ npx --package @ecology91/skills ecology91-skills
24
24
  ```
25
25
 
26
26
  3. For local development on this repo, link the checked-out skills into opencode's global skills directory:
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@ecology91/skills",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "opencode agent skills for real engineering workflows.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "bin": "./bin/install.mjs",
7
+ "bin": {
8
+ "ecology91-skills": "bin/install.mjs"
9
+ },
8
10
  "files": [
9
11
  "bin/",
10
12
  "scripts/",
@@ -10,36 +10,78 @@ metadata:
10
10
 
11
11
  Use this skill when the user runs `/to-qa <parent issue>`.
12
12
 
13
- The issue tracker workflow should have been provided to you run `/setup-agent-skills` if `docs/agents/issue-tracker.md` is missing or if it does not explain how to fetch completed child work for a parent issue.
14
-
15
- This skill reads from the configured issue tracker and writes to QA To Do. It does not mutate tracker issues.
13
+ This skill reads completed implementation work from the configured issue tracker and writes a local QA session to QA To Do. It does not mutate tracker issues, pass/fail state, checklist items, evidence, archive state, or deletion state.
16
14
 
17
15
  ## Required Inputs
18
16
 
19
17
  - An explicit parent issue reference from the user.
20
- - A configured issue tracker workflow in `docs/agents/issue-tracker.md`.
21
- - A parent/child issue relationship where completed child work can be identified.
22
- - Completed implementation work only.
23
- - `qa-to-do` MCP server access.
18
+ - The current repository path.
19
+ - A configured issue tracker workflow in `docs/agents/issue-tracker.md`, or explicit child issue references from the user.
20
+ - Completed implementation child work only.
21
+ - Access to the `qa-to-do` MCP server.
22
+
23
+ ## Supported Paths
24
+
25
+ - Prefer `qa-to-do.run_to_qa_parent` for normal `/to-qa` usage.
26
+ - Use `qa-to-do.qa_session_create` only when you have manually built a complete, validated QA session payload.
27
+ - `run_to_qa_parent` currently automates Beads and structured `.scratch` trackers.
28
+ - For GitHub, GitLab, or custom trackers, use the repo-documented parent/child convention to gather completed child work, then call `qa_session_create` with a concrete QA session payload.
24
29
 
25
30
  ## Workflow
26
31
 
27
32
  1. Inspect the explicit parent issue in the current repo.
28
- 2. Using `docs/agents/issue-tracker.md`, find completed source work only: closed/completed/done Beads child issues, structured `.scratch` child files, GitHub/GitLab child issues if the repo documents that convention, or another repo-documented completed-child convention.
29
- 3. Read commits, changed files, and implementation context only as needed to write concrete QA checks.
30
- 4. Create human-verifiable QA checks with title, runnable steps, expected result, source issue ID, source evidence, stable ID, and fingerprint.
31
- 5. Call the `qa-to-do` MCP server to create the QA session.
32
- 6. Report the session title, source parent, item count, and warnings.
33
+ 2. Read `docs/agents/issue-tracker.md` to understand how this repo identifies child work for a parent issue.
34
+ 3. Find completed source work only: closed/completed/done Beads child issues, structured `.scratch` child files, or another repo-documented completed-child convention.
35
+ 4. Exclude open, blocked, incomplete, or unrelated work and keep those exclusions as warnings for the final report.
36
+ 5. Prefer acceptance criteria, QA notes, and source issue evidence over changed-file inference when creating checks.
37
+ 6. Read commits, changed files, and implementation context only as needed to make checks concrete and human-verifiable.
38
+ 7. Create QA checks with title, runnable steps, expected result, source issue ID, source evidence, stable ID, and fingerprint.
39
+ 8. Call the `qa-to-do` MCP server to create the QA session.
40
+ 9. Report the session title, source parent, item count, and warnings.
41
+
42
+ ## MCP Usage
43
+
44
+ For Beads or structured `.scratch` repos, call `qa-to-do.run_to_qa_parent` with:
45
+
46
+ ```json
47
+ {
48
+ "parentIssueId": "<parent issue id>",
49
+ "repoPath": "<absolute repo path>",
50
+ "repoName": "<optional repo name>",
51
+ "tracker": "auto"
52
+ }
53
+ ```
54
+
55
+ Set `tracker` to `beads` or `scratch` only when the repo or user explicitly requires one. Use `auto` by default.
56
+
57
+ If `run_to_qa_parent` reports that no supported tracker was detected, multiple trackers require a choice, or no completed child work exists, stop and report the issue clearly. Do not invent QA checks from unrelated closed work.
58
+
59
+ When manually calling `qa_session_create`, the payload must include only completed source work and must preserve source evidence. Do not use it to mutate existing QA To Do state.
60
+
61
+ ## Beads Guidance
62
+
63
+ - If the repo uses Beads and local automation is available, prefer `run_to_qa_parent` with `tracker: "auto"` or `tracker: "beads"`.
64
+ - If you must inspect Beads manually, fetch the full child set with `bd list --parent <parent-id> --status all --json --limit 0`.
65
+ - Include only child issues whose status is closed, completed, or done according to the repo's Beads vocabulary.
66
+ - Read included children with `bd show <child-id> --json` and `bd comments <child-id> --json` when extra evidence is needed.
67
+ - Look for related implementation commits only when issue evidence is not enough to write a concrete QA check.
68
+ - Do not create, update, label, comment on, close, or claim Beads issues during `/to-qa`.
69
+
70
+ ## Scratch Guidance
71
+
72
+ - If the repo uses structured `.scratch` issues, prefer `run_to_qa_parent` with `tracker: "auto"` or `tracker: "scratch"`.
73
+ - Include only `.scratch` child files with frontmatter that identifies `id`, `title`, `status`, and the requested parent relationship.
74
+ - Prefer `## Acceptance notes` or `## Acceptance criteria` bullets for expected results.
75
+ - Do not create, edit, rename, move, close, or delete `.scratch` files during `/to-qa`.
33
76
 
34
77
  ## Rules
35
78
 
36
- - Do not create checks from open/incomplete child work; warn about excluded children.
79
+ - Do not create checks from open, blocked, incomplete, review-only, or unrelated work.
80
+ - Do not create checks from parent PRD text alone; checks must trace to completed implementation child work.
37
81
  - If there is no completed source work, fail clearly and do not create a session.
38
- - If `docs/agents/issue-tracker.md` does not define how to find completed children for the parent issue, ask the user for explicit child issue references; do not infer from unrelated closed work.
39
- - For Beads, fetch children with `bd list --parent <parent-id> --status all --json --limit 0`, include only closed/completed/done children, read each child with `bd show <child-id> --json` and `bd comments <child-id> --json`, and look for related RALPH commits with `git log --grep="RALPH:.*<child-id>" --oneline`.
40
- - Create QA checks from acceptance criteria and QA notes before changed files. Do not create QA checks for parent PRDs, open children, blocked children, or review-only refactor commits unless they changed user-visible behavior.
82
+ - If `docs/agents/issue-tracker.md` does not explain how to find completed children for the parent issue, ask the user for explicit child issue references.
41
83
  - Do not write vague checks like "verify implementation" or "works as expected".
42
84
  - Do not mutate pass/fail/skip/edit/archive/delete state through MCP.
43
- - Do not file, close, or update tracker issues during `/to-qa`.
44
- - QA To Do owns checklist execution, evidence, pass/fail state, and archive.
45
- - No app-managed secrets are stored by this setup.
85
+ - Do not file, close, claim, label, comment on, or update tracker issues during `/to-qa`.
86
+ - QA To Do owns checklist execution, evidence, pass/fail state, edits, archive, and deletion.
87
+ - Do not store app-managed secrets; rely on user environment, existing provider config, or provider-native auth.