| name | spectre-create_test_guide |
| description | ๐ป | Generate right-sized manual test guides - primary agent |
| user-invocable | true |
create_test_guide
Input Handling
Treat the current command arguments as this workflow's input. When invoked from a slash command, use the forwarded $ARGUMENTS value.
create_test_guide: Right-sized manual testing documentation
Description
- Description โ Generate appropriately scoped manual testing guides that validate completed work, highlight key risks, and keep quality efforts aligned with tas scope. Scale complexity to match change size.
- Desired Outcome โ Feature-based testing guide with actionable checklists organized by user workflows, saved to
docs/tasks/{task_name}/testing/{task_name}_test_guide.md.
ARGUMENTS Input
Optional user input to seed this workflow.
$ARGUMENTS
Step (1/3) - Analyze Context & Determine Testing Strategy
- Action โ AssessScope: Analyze current task to understand changes and determine complexity.
- Extract from task documentation: features/functionality added/modified/removed, technical stack/environment, user personas/use cases, integration points/dependencies
- Process ARGUMENTS for specific focus areas (if provided)
- Change Complexity Assessment:
- Simple: Basic smoke tests, happy path validation, quick regression check of related features
- Medium: Edge case testing, error handling validation, basic integration testing
- Complex: Advanced user scenarios, performance considerations, cross-feature interactions, security implications
- Action โ DetermineStrategy: Select required and optional sections based on complexity.
- Required Sections (Always):
- Testing Overview (scope, environment, prerequisites)
- Environment Setup (step-by-step setup and verification)
- Core Test Cases (primary functionality validation)
- Results Documentation (how to record and report findings)
- Optional Sections (Include Based on Relevance):
- Known Issues & Limitations (if documented bugs/workarounds)
- Rollback Procedures (high-risk changes/production deployments)
- Performance Testing (changes affecting load times/resource usage)
- Accessibility Testing (UI/UX changes)
- Cross-Browser/Device Testing (frontend changes)
- Data Validation Testing (changes affecting data handling)
- Security Testing (authentication/permissions/data access changes)
Step (2/3) - Generate Test Guide
- Output Location โ DetermineOutputDir: Decide where to save artifacts for this workflow.
branch_name=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo unknown)
- If user specifies
target_dir/path โ OUT_DIR={that value}
- Else โ
OUT_DIR=docs/tasks/{branch_name}
mkdir -p "OUT_DIR/testing"
- Action โ CreateGuide: Generate comprehensive testing guide with feature-based organization.
Step (3/3) - Deliver
- Action โ PresentDelivery: Present guide with testing coverage summary.
๐ Test Guide Created
Location: docs/tasks/{task_name}/testing/{task_name}_test_guide.md
Coverage:
- {X} feature workflows/scenarios
- {Y} total test steps
- Estimated time: {Z} minutes
Testing Strategy: {Simple/Medium/Complex} - {brief rationale}
The guide is organized by user workflows with actionable checklists ready for execution.
- Action โ RenderFooter: Render Next Steps footer using
@skill-spectre:spectre-guide skill (contains format template and spectre command options)
Next Steps
See @skill-spectre:spectre-guide skill for footer format and command options.
Success Criteria