Repository navigation
docs(skills): add drive-qa-plan and drive-qa-run for manual-QA work - #521
Conversation
📝 WalkthroughWalkthroughThis PR adds two SKILL.md documents: ChangesManual QA Skill Specifications
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly Related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
@prisma-next/extension-author-tools
@prisma-next/mongo-runtime
@prisma-next/family-mongo
@prisma-next/sql-runtime
@prisma-next/family-sql
@prisma-next/extension-arktype-json
@prisma-next/extension-cipherstash
@prisma-next/middleware-cache
@prisma-next/mongo
@prisma-next/extension-paradedb
@prisma-next/extension-pgvector
@prisma-next/extension-postgis
@prisma-next/postgres
@prisma-next/sql-orm-client
@prisma-next/sqlite
@prisma-next/target-mongo
@prisma-next/adapter-mongo
@prisma-next/driver-mongo
@prisma-next/contract
@prisma-next/utils
@prisma-next/config
@prisma-next/errors
@prisma-next/framework-components
@prisma-next/operations
@prisma-next/ts-render
@prisma-next/contract-authoring
@prisma-next/ids
@prisma-next/psl-parser
@prisma-next/psl-printer
@prisma-next/cli
@prisma-next/emitter
@prisma-next/migration-tools
prisma-next
@prisma-next/vite-plugin-contract-emit
@prisma-next/mongo-codec
@prisma-next/mongo-contract
@prisma-next/mongo-value
@prisma-next/mongo-contract-psl
@prisma-next/mongo-contract-ts
@prisma-next/mongo-emitter
@prisma-next/mongo-schema-ir
@prisma-next/mongo-query-ast
@prisma-next/mongo-orm
@prisma-next/mongo-query-builder
@prisma-next/mongo-lowering
@prisma-next/mongo-wire
@prisma-next/sql-contract
@prisma-next/sql-errors
@prisma-next/sql-operations
@prisma-next/sql-schema-ir
@prisma-next/sql-contract-psl
@prisma-next/sql-contract-ts
@prisma-next/sql-contract-emitter
@prisma-next/sql-lane-query-builder
@prisma-next/sql-relational-core
@prisma-next/sql-builder
@prisma-next/target-postgres
@prisma-next/target-sqlite
@prisma-next/adapter-postgres
@prisma-next/adapter-sqlite
@prisma-next/driver-postgres
@prisma-next/driver-sqlite
commit: |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.agents/skills/drive-qa-plan/SKILL.md (1)
140-140: ⚡ Quick winClarify that result columns exist only in the report, not the script.
The phrasing "Result columns (pass/fail/N/A) are filled in by the runner's report, not by the script" could be misread to suggest that result columns exist in the script's coverage map but are left empty. Lines 198 and 244 correctly emphasize "no result column" in the script, but this sentence could be clearer.
✍️ Suggested clarification
-The sign-off coverage map shows *which* scenarios cover *which* ACs. Result columns (pass/fail/N/A) are filled in by the runner's report, not by the script. +The sign-off coverage map shows *which* scenarios cover *which* ACs. The script's coverage map has no result column—results are recorded in the report's coverage outcome table instead.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.agents/skills/drive-qa-plan/SKILL.md at line 140, The sentence "Result columns (pass/fail/N/A) are filled in by the runner's report, not by the script" in the sign-off coverage map section is ambiguous; update the wording around the "sign-off coverage map" phrase so it explicitly states that the script's coverage map does not include any result columns and that pass/fail/N/A columns appear only in the external runner report (keep consistency with the "no result column" notes at lines 198 and 244). Locate the string "Result columns (pass/fail/N/A) are filled in by the runner's report, not by the script" in SKILL.md and replace it with a clearer sentence such as "The script's sign-off coverage map lists which scenarios cover which ACs; pass/fail/N/A result columns are not part of this map and are only present in the runner's external report." Ensure the revised wording aligns with the existing notes at lines 198 and 244.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.agents/skills/drive-qa-plan/SKILL.md:
- Around line 228-229: The two broken references in the SKILL.md text point to
non-existent relative paths: change the sibling reference
`drive-qa-run/SKILL.md` to the correct relative path `../drive-qa-run/SKILL.md`,
and replace or remove the non-existent `skills-best-practices/SKILL.md`
reference — either swap it for a real existing skill SKILL.md in the repo (e.g.,
the actual best-practices skill name) or clarify that the token is a logical
identifier rather than a filesystem path; update the lines that currently
mention `drive-qa-run/SKILL.md` and `skills-best-practices/SKILL.md`
accordingly.
---
Nitpick comments:
In @.agents/skills/drive-qa-plan/SKILL.md:
- Line 140: The sentence "Result columns (pass/fail/N/A) are filled in by the
runner's report, not by the script" in the sign-off coverage map section is
ambiguous; update the wording around the "sign-off coverage map" phrase so it
explicitly states that the script's coverage map does not include any result
columns and that pass/fail/N/A columns appear only in the external runner report
(keep consistency with the "no result column" notes at lines 198 and 244).
Locate the string "Result columns (pass/fail/N/A) are filled in by the runner's
report, not by the script" in SKILL.md and replace it with a clearer sentence
such as "The script's sign-off coverage map lists which scenarios cover which
ACs; pass/fail/N/A result columns are not part of this map and are only present
in the runner's external report." Ensure the revised wording aligns with the
existing notes at lines 198 and 244.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
Run ID: fca05b8f-78a4-49f6-a390-5ae17c3971fe
📒 Files selected for processing (2)
.agents/skills/drive-qa-plan/SKILL.md.agents/skills/drive-qa-run/SKILL.md
| - `drive-qa-run/SKILL.md` — the sibling skill that executes scripts produced by this one and writes the report. | ||
| - `skills-best-practices/SKILL.md` — for `description:` matcher discipline, the SKILL.md skeleton conventions, and the "What X doesn't do yet" pattern. |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Verify reference file paths resolve from the drive-qa-plan skill directory
cd .agents/skills/drive-qa-plan/
echo "=== Checking if relative paths resolve ==="
ls -la drive-qa-run/SKILL.md 2>&1
ls -la skills-best-practices/SKILL.md 2>&1
echo ""
echo "=== Checking if ../ prefixed paths resolve ==="
ls -la ../drive-qa-run/SKILL.md 2>&1
ls -la ../skills-best-practices/SKILL.md 2>&1
echo ""
echo "=== Checking for symlinks in .claude/skills/ ==="
ls -la .claude/skills/drive-qa-plan 2>&1
ls -la .claude/skills/drive-qa-run 2>&1
ls -la .claude/skills/skills-best-practices 2>&1Repository: prisma/prisma-next
Length of output: 741
🏁 Script executed:
find .agents/skills -type d -name "*best*" 2>/dev/nullRepository: prisma/prisma-next
Length of output: 44
🏁 Script executed:
ls -la .agents/skills/ | grep -E "^\s*d"Repository: prisma/prisma-next
Length of output: 2013
🏁 Script executed:
find . -name "skills-best-practices" -type d 2>/dev/null | head -20Repository: prisma/prisma-next
Length of output: 44
🏁 Script executed:
cat -n .agents/skills/drive-qa-plan/SKILL.md | sed -n '225,235p'Repository: prisma/prisma-next
Length of output: 783
Fix broken and incorrect skill references.
The paths reference non-existent relative locations. From .agents/skills/drive-qa-plan/, sibling skills require ../ prefix. Additionally, skills-best-practices does not exist as a skill in the repository. Update line 228-229 to either:
- Use correct relative paths with
../(e.g.,../drive-qa-run/SKILL.md), or - Replace the reference to the non-existent
skills-best-practicesskill with an actual existing skill, or - Clarify if these are logical identifiers rather than filesystem paths
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.agents/skills/drive-qa-plan/SKILL.md around lines 228 - 229, The two broken
references in the SKILL.md text point to non-existent relative paths: change the
sibling reference `drive-qa-run/SKILL.md` to the correct relative path
`../drive-qa-run/SKILL.md`, and replace or remove the non-existent
`skills-best-practices/SKILL.md` reference — either swap it for a real existing
skill SKILL.md in the repo (e.g., the actual best-practices skill name) or
clarify that the token is a logical identifier rather than a filesystem path;
update the lines that currently mention `drive-qa-run/SKILL.md` and
`skills-best-practices/SKILL.md` accordingly.
7e28201 to
a39a1ae
Compare
There was a problem hiding this comment.
♻️ Duplicate comments (2)
skills-contrib/drive-qa-plan/drive-qa-plan/SKILL.md (1)
248-249:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winFix stale sibling references in “Reference Files.”
These two references are still inconsistent with the skill layout: one uses the wrong relative form, and one points to a skill name that appears non-existent. Please update both to valid, resolvable targets (or remove the non-existent entry).
Suggested minimal edit
-- `drive-qa-run/SKILL.md` — the sibling skill that executes scripts produced by this one and writes the report. -- `skills-best-practices/SKILL.md` — for `description:` matcher discipline, the SKILL.md skeleton conventions, and the "What X doesn't do yet" pattern. +- `../drive-qa-run/SKILL.md` — the sibling skill that executes scripts produced by this one and writes the report. +<!-- Replace with an actual existing skill path, or remove if not available in this repo -->As per coding guidelines: "Keep docs current (READMEs, rules, links)".
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@skills-contrib/drive-qa-plan/drive-qa-plan/SKILL.md` around lines 248 - 249, Update the two stale "Reference Files" entries in SKILL.md: change the incorrect relative reference `drive-qa-run/SKILL.md` to the correct sibling form `../drive-qa-run/SKILL.md` (so `drive-qa-plan` links to the actual sibling skill), and remove (or replace) the non-existent `skills-best-practices/SKILL.md` entry—if you can determine the correct target replace it with that valid SKILL.md path, otherwise delete the line referencing `skills-best-practices/SKILL.md`.skills-contrib/drive-qa-run/drive-qa-run/SKILL.md (1)
224-225:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winReference paths need normalization to real sibling targets.
Line 224-225 use the same stale pattern as the planner doc. Please switch to valid sibling-relative paths and remove/replace any non-existent skill reference.
Suggested minimal edit
-- `drive-qa-plan/SKILL.md` — the sibling skill that authors scripts this one executes. Sibling sections that constrain this skill: scenario shape (Oracle / Preconditions / Failure modes / Restore), failure-mode-vs-severity split, exploratory charter format. -- `skills-best-practices/SKILL.md` — for `description:` matcher discipline and SKILL.md shape conventions. +- `../drive-qa-plan/SKILL.md` — the sibling skill that authors scripts this one executes. Sibling sections that constrain this skill: scenario shape (Oracle / Preconditions / Failure modes / Restore), failure-mode-vs-severity split, exploratory charter format. +<!-- Replace with an actual existing skill path, or remove if not available in this repo -->As per coding guidelines: "Keep docs current (READMEs, rules, links)".
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@skills-contrib/drive-qa-run/drive-qa-run/SKILL.md` around lines 224 - 225, The two referenced docs use a stale path pattern; update the references in SKILL.md to valid sibling-relative paths (e.g., replace the bare "drive-qa-plan/SKILL.md" and "skills-best-practices/SKILL.md" tokens with correct relative links such as ../drive-qa-plan/SKILL.md and ../skills-best-practices/SKILL.md as appropriate), and remove or replace any non-existent skill reference so each linked target actually exists; verify the updated links in drive-qa-run/SKILL.md resolve to the sibling SKILL.md files.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Duplicate comments:
In `@skills-contrib/drive-qa-plan/drive-qa-plan/SKILL.md`:
- Around line 248-249: Update the two stale "Reference Files" entries in
SKILL.md: change the incorrect relative reference `drive-qa-run/SKILL.md` to the
correct sibling form `../drive-qa-run/SKILL.md` (so `drive-qa-plan` links to the
actual sibling skill), and remove (or replace) the non-existent
`skills-best-practices/SKILL.md` entry—if you can determine the correct target
replace it with that valid SKILL.md path, otherwise delete the line referencing
`skills-best-practices/SKILL.md`.
In `@skills-contrib/drive-qa-run/drive-qa-run/SKILL.md`:
- Around line 224-225: The two referenced docs use a stale path pattern; update
the references in SKILL.md to valid sibling-relative paths (e.g., replace the
bare "drive-qa-plan/SKILL.md" and "skills-best-practices/SKILL.md" tokens with
correct relative links such as ../drive-qa-plan/SKILL.md and
../skills-best-practices/SKILL.md as appropriate), and remove or replace any
non-existent skill reference so each linked target actually exists; verify the
updated links in drive-qa-run/SKILL.md resolve to the sibling SKILL.md files.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
Run ID: 193e9956-52d8-40e9-b9e7-aba3000a4fe0
📒 Files selected for processing (2)
skills-contrib/drive-qa-plan/drive-qa-plan/SKILL.mdskills-contrib/drive-qa-run/drive-qa-run/SKILL.md
Adds two workflow-scoped skills that codify the manual-QA practice we converged on while working through TML-2536: - `drive-qa-plan` — authoring guide for a manual-QA *script* that accompanies a spec. Emphasises user-facing scenarios, named oracles, exploratory charters, negative controls for guardrails, explicit preconditions, and a TOC-first structure. Hard-separates script authorship (this skill) from execution (the other). - `drive-qa-run` — execution guide that drives an existing script end-to-end and produces a structured run report, including a severity rubric (Blocker / High / Follow-up), verbatim observation capture, and a clean restoration discipline. The split keeps the two artefacts honest: the script is the durable test plan that lives next to the spec; the report is the per-run record produced by the runner. Either skill can be invoked on its own. Signed-off-by: Will Madden <[email protected]>
A reader picking up a manual-QA script — runner, reviewer, or someone returning to it weeks after the fact — needs the minimum context to make the scenarios legible *embedded in the script itself*. A `**Spec:** <path>` link is not a substitute: it forces a context-switch into a separate doc just to know what's being tested, and most readers skip the switch and try to infer intent from the TOC. Add a new required "What this script is testing" section to the document skeleton (bug/motivation, fix/what changed, why manual QA matters), workflow step 4 telling the author how to derive it from the spec's Summary, a Key Concepts entry, Pitfall #13, and a Checklist row. The "why manual QA matters" paragraph doubles as a sanity check: if the author can't name a gap CI doesn't already cover, the entire script may be redundant — escalate to "When Not to Use" rather than padding scenarios. Surfaced while reviewing the first script written under this skill (TML-2536's `manual-qa.md`). Mirrors the same change in prisma/ignite#93. Signed-off-by: Will Madden <[email protected]>
Signed-off-by: Will Madden <[email protected]>
a39a1ae to
0739812
Compare
There was a problem hiding this comment.
♻️ Duplicate comments (2)
skills-contrib/drive-qa-plan/drive-qa-plan/SKILL.md (1)
248-249:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winFix unresolved sibling references in the Reference Files section.
Line 248 and Line 249 still point to non-canonical/invalid targets (
drive-qa-run/SKILL.mdandskills-best-practices/SKILL.md). Please switch to resolvable repo-relative paths and replace/remove the non-existentskills-best-practicesentry.Suggested doc diff
-- `drive-qa-run/SKILL.md` — the sibling skill that executes scripts produced by this one and writes the report. -- `skills-best-practices/SKILL.md` — for `description:` matcher discipline, the SKILL.md skeleton conventions, and the "What X doesn't do yet" pattern. +- `skills-contrib/drive-qa-run/drive-qa-run/SKILL.md` — the sibling skill that executes scripts produced by this one and writes the report. +- `<repo-relative-path-to-existing-best-practices-skill>/SKILL.md` — for `description:` matcher discipline, SKILL.md skeleton conventions, and the "What X doesn't do yet" pattern.As per coding guidelines: "
**/*.md: Keep docs current (READMEs, rules, links)".🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@skills-contrib/drive-qa-plan/drive-qa-plan/SKILL.md` around lines 248 - 249, The Reference Files section currently lists non-resolvable sibling links (`drive-qa-run/SKILL.md` and `skills-best-practices/SKILL.md`); update the `Reference Files` entries in SKILL.md to use correct repo-relative paths (e.g., replace `drive-qa-run/SKILL.md` with the actual repo-relative location of that sibling skill) and remove the non-existent `skills-best-practices/SKILL.md` entry, ensuring any remaining references point to real files in the repository and follow the SKILL.md skeleton conventions.skills-contrib/drive-qa-run/drive-qa-run/SKILL.md (1)
224-225:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winUse canonical, resolvable paths for Reference Files.
Line 224 and Line 225 currently use shorthand targets that are ambiguous in-repo, and
skills-best-practices/SKILL.mdappears unresolved. Please replace these with valid repo-relative paths (or remove the missing reference).As per coding guidelines: "
**/*.md: Keep docs current (READMEs, rules, links)".🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@skills-contrib/drive-qa-run/drive-qa-run/SKILL.md` around lines 224 - 225, Replace the ambiguous shorthand references in SKILL.md: update the `drive-qa-plan/SKILL.md` and `skills-best-practices/SKILL.md` targets to valid repo-relative paths or remove the unresolved reference; specifically locate the two entries that mention `drive-qa-plan/SKILL.md` and `skills-best-practices/SKILL.md` in the drive-qa-run/SKILL.md and change them to canonical paths that actually exist in the repository (or delete the `skills-best-practices` line if that file is missing), ensuring the links resolve when rendered.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Duplicate comments:
In `@skills-contrib/drive-qa-plan/drive-qa-plan/SKILL.md`:
- Around line 248-249: The Reference Files section currently lists
non-resolvable sibling links (`drive-qa-run/SKILL.md` and
`skills-best-practices/SKILL.md`); update the `Reference Files` entries in
SKILL.md to use correct repo-relative paths (e.g., replace
`drive-qa-run/SKILL.md` with the actual repo-relative location of that sibling
skill) and remove the non-existent `skills-best-practices/SKILL.md` entry,
ensuring any remaining references point to real files in the repository and
follow the SKILL.md skeleton conventions.
In `@skills-contrib/drive-qa-run/drive-qa-run/SKILL.md`:
- Around line 224-225: Replace the ambiguous shorthand references in SKILL.md:
update the `drive-qa-plan/SKILL.md` and `skills-best-practices/SKILL.md` targets
to valid repo-relative paths or remove the unresolved reference; specifically
locate the two entries that mention `drive-qa-plan/SKILL.md` and
`skills-best-practices/SKILL.md` in the drive-qa-run/SKILL.md and change them to
canonical paths that actually exist in the repository (or delete the
`skills-best-practices` line if that file is missing), ensuring the links
resolve when rendered.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
Run ID: 3ca3b448-55c7-4df9-8de5-437e5f350b44
📒 Files selected for processing (2)
skills-contrib/drive-qa-plan/drive-qa-plan/SKILL.mdskills-contrib/drive-qa-run/drive-qa-run/SKILL.md
Summary
Adds two workflow-scoped agent skills that codify the manual-QA practice we converged on while working through TML-2536:
drive-qa-plan— authoring guide for a manual-QA script that accompanies a spec. Emphasises user-facing scenarios over re-running CI, named oracles, exploratory charters, negative controls for guardrails, explicit preconditions, and a TOC-first structure so a reader grasps scope in the first ~50 lines.drive-qa-run— execution guide that drives an existing script end-to-end and produces a structured run report. Defines a severity rubric (Blocker / High / Follow-up), verbatim observation capture, mutated-state restoration discipline, and a report skeleton keyed to the script's AC coverage map.The split is deliberate: the script is the durable test plan that lives next to the spec; the report is the per-run record. Conflating them produces scripts that pre-classify findings before they're observed and reports that lose their per-run integrity. Either skill can be invoked on its own.
Test plan
SKILL.mdend-to-end and confirm the TOC, frontmatterdescription, and cross-references resolve..claude/skills/drive-qa-plan/and.claude/skills/drive-qa-run/resolve via the existing symlink shim.drive-qa-planto produce a manual-QA script and verify the description's trigger phrases match the way a user actually asks.drive-qa-runagainst that script and check the produced report follows the skeleton + severity rubric without manual prompting.Summary by CodeRabbit