speckit-specrew-speckit-before-plan
Validate requirement and quality-governance readiness before planning
- License 许可
- MIT
- 最近更新
- 2026-08-28
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- speckit-specrew-speckit-before-plan
- metadata
- { "author": "github-spec-kit", "source": "specrew-speckit:commands/speckit.specrew-speckit.before-plan.md" }
- description
- Validate requirement and quality-governance readiness before planning
- compatibility
- Requires spec-kit project structure with .specify/ directory
03 SKILL.md 正文
Validate Requirement and Quality-Profile Readiness
Before planning proceeds, verify the active specification is ready for implementation planning and that the applicable quality-governance inputs are explicit enough to render into the plan.
Required checks
- Confirm the current spec contains explicit requirement statements and that they are actionable.
- Stop planning if requirements are missing, ambiguous, or still awaiting approval.
- Run or consult
pwsh -File .specify/extensions/specrew-speckit/scripts/resolve-quality-profile.ps1 -ProjectPath .for the active clarified feature beforespeckit.planso planning has an explicit Phase 1 / first-slice quality profile. - Make the planning inputs explicit and reviewable:
- inferred quality profile identifier
- selected preset refs or explicit bounded custom composition
- stack surfaces in scope
- risk dimensions that materially apply
- quality tool bundle
- required Phase 1 quality gates
- not-applicable dimensions with rationale
- When the planned slice includes Phase 2 hardening-gate scope (
FR-031throughFR-033), keep the lifecycle boundary explicit in the planning inputs:- the resolver output remains planning input, not proof that hardening review already happened
- the plan must make it clear that
quality/hardening-gate.mdsign-off is required before implementation starts - any unresolved critical security, resilience, or operational concern will need explicit human-approved deferral before implementation may proceed
- Keep unsupported or later-phase quality behavior explicit as deferred. Do not imply hardening-gate sign-off, dedicated bug-hunter execution, strongest-class routing enforcement, known-traps workflows, or quality-drift automation as implemented in this pre-plan check unless the current slice truly delivers them.
- If iteration artifacts already exist, you may run
pwsh -File .specify/extensions/specrew-speckit/scripts/validate-governance.ps1 -ProjectPath .for an additional governance check.
Lifecycle-adjacent command: /speckit.checklist (before-plan)
Surface /speckit.checklist at this before-plan boundary as a requirements-quality aid. It helps catch vague, incomplete, inconsistent, or missing requirements before planning begins, improving requirement clarity, completeness, consistency, and edge-case coverage.
Proportional guidance:
- Recommended for substantive feature work, where requirement gaps are expensive to discover later.
- Optional for low-risk, lightweight, or small slices whose requirements are already clear.
/speckit.checklist improves requirement quality only. It does not validate implementation correctness, and it is not mandatory for every tiny slice.
Failure behavior
If readiness is not clear, do not continue to planning. Explain whether the blocker is missing requirement clarity, missing quality-profile inputs, missing hardening-lifecycle framing for a Phase 2 slice, or unresolved not-applicable/deferred reasoning, and direct the user back to clarification or resolver repair before planning continues.
04 同仓库更多 Skills
windows-compatibility
Cross-platform path handling and command patterns
versioning-policy
Semver versioning rules for Squad SDK and CLI — prevents prerelease version incidents
tiered-memory
Three-tier agent memory model (hot/cold/wiki) for context reduction per spawn
test-discipline
Update tests when changing APIs — no exceptions
squad
Squad's command catalog and interactive menu. Invoke via /squad (slash command) or natural language ("squad commands", "what can squad do", "show me squad options"). Presents categorized operations (Install & Upgrade, Team Management, Issues & PRs, Plugins & Skills, Model & Cost, Sessions & State) as an interactive picker. Routes to the right squad CLI command or the Squad coordinator agent.
squad-version-check
Internals of how @bradygaster/squad-cli stamps its version, how `squad upgrade` works (what it preserves vs overwrites), and how to probe the npm registry for the latest version from a coordinator prompt.