Add create-test-cases skill — feature-first manual test-case authoring#62
Open
gololdf1sh wants to merge 5 commits into
Open
Add create-test-cases skill — feature-first manual test-case authoring#62gololdf1sh wants to merge 5 commits into
gololdf1sh wants to merge 5 commits into
Conversation
Deep, feature-first manual test-case authoring skill. Complements the existing generate-test-cases skill by offering a heavier workflow: - Two-phase flow: one feature phase produces shared baselines (_shared-ui.md, _ac-baseline.md, _existing-steps.md, destructuring map), each sub-feature then runs in its own conversation as a thin slice (ac-delta, ui-delta, scope) + generation + report. - Resume Detector pre-step — scans disk, derives $RESUME_FROM from 7 states, never re-does finished work. - Subagent fan-out — Playwright exploration, mechanical self-review (>=15 tests), and UI reality check all run in isolated contexts and return 1-line summaries so the parent conversation stays clean. - Artifact-driven contracts — every step declares precondition, input, output, postcondition, idempotency, and retry policy. Includes a full worked example under examples/: - examples/flow-diagram.md — ASCII diagram of the full flow. - examples/generatedTests/ — real run output for Testomat.io's Manual Tests Execution feature (10 sub-features, feature- and sub-feature- level artifacts, nested test-case MDs). - examples/generatedDocs/ — downstream BA-style product documentation derived from the test cases (use cases, business rules, state diagrams, traceability matrix) — illustrates what's possible once a solid test-case baseline exists. Publishing is intentionally not part of this skill — approved MDs are handed off to sync-cases (or local /publish-test-cases-batch, not yet in this repo).
- SKILL.md gains a 'Flow at a glance' section at the top — the same
ASCII diagram from examples/flow-diagram.md is now visible to every
reader landing on the skill, before the 170-line router.
- examples/README.md calls out explicitly that everything under
examples/ is optional reference material:
* generatedTests/ is a sample of what the skill produces
* generatedDocs/ is a sample of downstream docs you can build on top
of test cases — NOT skill output
Users can delete or ignore examples/ without affecting the skill.
Replaced the embedded ASCII diagram with a single-line link to examples/flow-diagram.md. Keeps SKILL.md lean while preserving the visual reference for anyone who wants it.
Drops ~146 example files (generatedTests/, generatedDocs/, flow-diagram.md, examples/README.md) to keep the PR focused on the skill itself. The flow diagram is still available in the PR description. Also removes the now-stale link to examples/flow-diagram.md from SKILL.md.
CLAUDE.md carried project-specific lessons learned that don't belong in the upstream skill. The three inline references in references/ have been simplified (the bullet-list summary of parser behaviour stays — the pointer to CLAUDE.md is dropped).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Flow at a glance
Main flow on the left, subagents block on the right. The
═══▶arrows show which step spawns which subagent; the subagent runs in its own isolated context and returns a 1-line summary to the parent conversation.Key terms
test-cases/{feature}/.source:in ≥ 1 test case (blocking gate)._ac-baseline.md){S}-ac-delta.md){S}that aren't in the baseline. Produced per sub-feature in Step 2.1._shared-ui.md)ui-explorerinmode: feature-baseline.{S}-ui-delta.md){S}— what exists only inside this suite and not in the shared catalog. Cataloged byui-explorerinmode: sub-feature-delta.destructuring.md)destructuring.md, fed into every sub-feature slice in Step 3 Phase 0 so each suite has ≥ 1 dedicated test.{S}-scope.md)_style.md)Agent(). Three in this skill:ui-explorer(Playwright),test-case-reviewer(self-review when tests ≥ 15),ui-validator(UI reality walk). Parent sees only a 1-line summary.How we decide what is a sub-feature
During Step 1.4 (destructuring) the skill walks the feature's UI catalog and applies the following rule: an area becomes a sub-feature (= its own suite) when it meets ≥ 2 of:
Edge cases:
The resulting sub-feature map is written to
destructuring.md, reviewed with the user at the end of the feature phase (Step 1.5 — Single user-approval gate), and then drives the sub-feature phase one suite at a time.Files
skills/create-test-cases/SKILL.md— entry point (router).skills/create-test-cases/intake-questionnaire.md+intake-examples.mdskills/create-test-cases/steps/— 5 step files (00-intake, 01-feature-phase, 10-sub-feature-slice, 20-generate, 40-report).skills/create-test-cases/references/— 8 reference files (artifacts, testing-strategy, test-case-format, self-review-checks, destructuring, product-context, ui-catalog-format, troubleshooting).plugins/test-management/skills/create-test-cases— symlink (plugin wrapper).README.md— skill listed in the Test Management table.