Skip to main content
GeneralCodename-Inc

spectre-create_test_guide

👻 | Generate right-sized manual test guides - primary agent

Stars
142
Source
Codename-Inc/spectre
Updated
2026-05-28
Slug
Codename-Inc--spectre--spectre-create-test-guide
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/Codename-Inc/spectre/HEAD/plugins/spectre-codex/skills/spectre-create_test_guide/SKILL.md -o .claude/skills/spectre-create-test-guide.md

Drops the SKILL.md into .claude/skills/spectre-create-test-guide.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

create_test_guide

Produce a manual testing guide, scaled to the change, that a human can run to validate the work. Input is the current task's changes; output is one checklist artifact.

Inputs

  • $ARGUMENTS — optional explicit feature name/root or descendant artifact, focus areas to emphasize, an explicit source-plan path, and --orchestrated when a parent workflow owns the next step.
  • Task context: features added/modified/removed, stack/environment, user personas, integration points/dependencies. Prioritize an explicitly passed source-plan path ahead of literal plan.md; otherwise read from canonical artifacts (scope.md, plan.md, tasks.json slices) and the diff. Use execute.md only to locate tasks.json; do not inline the full task graph.

Working Set

  • Reuse a managed FEATURE_ROOT only when explicit/current-thread evidence ties it to this work (physical directory wins; never branch/recency/lifecycle/scans); distinct work ignores ambient roots. Otherwise, including on collision, standalone MUST first load and follow Skill(spectre-feature-root) through DONE; orchestrated calls escalate. Keep writes beneath it and pass it unchanged.
  • Repair stale feature/root metadata in artifacts this workflow touches.
  • Read-only: explicitly supplied feature artifacts and the implemented diff.
  • Write: the single test-guide artifact only.

Outputs + DONE

Write to {FEATURE_ROOT}/testing/test_guide.md and begin immediately below the title with:

Feature: <feature-name>
Feature Root: .spectre/features/<feature-name>

DONE when:

  • Complexity classified Simple | Medium | Complex with a one-line rationale (Simple = smoke/happy-path + quick regression; Medium = edge cases, error handling, basic integration; Complex = advanced scenarios, performance, cross-feature, security).
  • Required sections present (always): Testing Overview (scope, environment, prerequisites) · Environment Setup (steps + verification) · Core Test Cases (primary functionality) · Results Documentation (how to record/report).
  • Optional sections included only when relevant: Known Issues & Limitations · Rollback Procedures (high-risk/prod) · Performance · Accessibility (UI/UX) · Cross-Browser/Device (frontend) · Data Validation · Security (auth/permissions/data-access).
  • Organized by user workflow/feature, not procedural phases; headers name the user goal.
  • Each checkbox is an action + verification pair (e.g. "Send POST to /api/users → verify 201 with user ID returned"), using [ ] for tracking; related steps grouped under one scenario; concrete test data (paths, names, shortcuts/UI elements in parens) included.
  • Depth scaled to change size (CSS tweak ≠ payment system); instructions runnable by someone unfamiliar with the code; no over-engineering for trivial changes.
  • A coverage summary returned: # workflows, # steps, estimated time, and the chosen complexity tier + rationale.

Feature-section shape:

### 1. Feature Name (User Action/Context)
- [ ] Action to perform → what to verify/expect
- [ ] Edge case or error handling → expected behavior

Method / guardrails

  • Scale to risk: prioritize what is most likely to break or impact users; only include sections that add value.
  • Each scenario validates one capability end-to-end.

Handoff

  • Return the coverage summary in-thread (no extra docs).
  • --orchestrated → return the guide path and coverage summary to the caller without user-facing Next Steps.
  • Standalone → recommend spectre-prove when the completed feature has an observable public workflow; recommend spectre-test only for an identified automation gap; recommend spectre-clean only when proof is explicitly deferred. Emit one primary recommendation with its observed reason.

Escalate-If

  • Task context is too thin to identify the changed features or personas — ask before guessing.