Add GitHub issue pipelines and prompts using gh CLI
gh-issue-impl, gh-issue-research, gh-issue-rewrite, gh-issue-update pipelines with corresponding prompts for fetch-assess, plan, implement, and create-pr steps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
47
.wave/prompts/speckit-flow/analyze.md
Normal file
47
.wave/prompts/speckit-flow/analyze.md
Normal file
@@ -0,0 +1,47 @@
|
||||
You are performing a cross-artifact consistency and quality analysis across the
|
||||
specification, plan, and tasks before implementation begins.
|
||||
|
||||
Feature context: {{ input }}
|
||||
|
||||
## Working Directory
|
||||
|
||||
You are running in an **isolated git worktree** shared with previous pipeline steps.
|
||||
Your working directory IS the project root. The feature branch was created by a
|
||||
previous step and is already checked out.
|
||||
|
||||
## Instructions
|
||||
|
||||
Follow the `/speckit.analyze` workflow:
|
||||
|
||||
1. Find the feature directory and spec file path from the spec info artifact
|
||||
2. Run `.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks`
|
||||
to find FEATURE_DIR and locate spec.md, plan.md, tasks.md
|
||||
3. Load all three artifacts and build semantic models:
|
||||
- Requirements inventory from spec.md
|
||||
- User story/action inventory with acceptance criteria
|
||||
- Task coverage mapping from tasks.md
|
||||
- Constitution rule set from `.specify/memory/constitution.md`
|
||||
|
||||
4. Run detection passes (limit to 50 findings total):
|
||||
- **Duplication**: Near-duplicate requirements across artifacts
|
||||
- **Ambiguity**: Vague adjectives, unresolved placeholders
|
||||
- **Underspecification**: Requirements missing outcomes, tasks missing file paths
|
||||
- **Constitution alignment**: Conflicts with MUST principles
|
||||
- **Coverage gaps**: Requirements with no tasks, tasks with no requirements
|
||||
- **Inconsistency**: Terminology drift, data entity mismatches, ordering contradictions
|
||||
|
||||
5. Assign severity: CRITICAL / HIGH / MEDIUM / LOW
|
||||
6. Produce a compact analysis report (do NOT modify files — read-only analysis)
|
||||
|
||||
## CONSTRAINTS
|
||||
|
||||
- Do NOT spawn Task subagents — work directly in the main context
|
||||
- Do NOT use WebSearch — all information is in the spec artifacts
|
||||
- This is a READ-ONLY analysis — do NOT modify any files
|
||||
|
||||
## Output
|
||||
|
||||
Produce a JSON analysis report matching the injected output schema.
|
||||
|
||||
IMPORTANT: If CRITICAL issues are found, document them clearly but do NOT block
|
||||
the pipeline. The implement step will handle resolution.
|
||||
Reference in New Issue
Block a user