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>
2.0 KiB
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:
-
Find the feature directory and spec file path from the spec info artifact
-
Run
.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasksto find FEATURE_DIR and locate spec.md, plan.md, tasks.md -
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
-
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
-
Assign severity: CRITICAL / HIGH / MEDIUM / LOW
-
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.