Comprehensive developer toolkit providing reusable skills for Java/Spring Boot, TypeScript/NestJS/React/Next.js, Python, PHP, AWS CloudFormation, AI/RAG, DevOps, and more.
90
90%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Risky
Do not use without reviewing
Evaluates the quality of a functional specification by identifying ambiguities, gaps, and improvement areas through an interactive clarification process.
This command addresses the content quality of specifications, integrating with /specs:spec-sync-context which handles technical synchronization:
| Command | Focus |
|---|---|
| /specs:spec-quality-check (this) | Content quality: completeness, clarity, traceability, coverage |
| /specs:spec-sync-context | Technical synchronization: Knowledge Graph, tasks, codebase |
Idea → Specification → Architecture & Ontology → Spec Quality Check (this) → Tasks → Implementation
↓ ↓ ↓
Clarify Define stack & Verify consistency
domain languageThe command evaluates four main dimensions:
Completeness and Clarity
Requirements Traceability
Acceptance Criteria
Edge Cases Coverage
Architecture Alignment (if docs/specs/architecture.md exists)
Ontology Consistency (if docs/specs/ontology.md exists)
# Basic usage - review a spec folder
/specs:spec-quality-check docs/specs/001-hotel-search-aggregation/
# Review a specific spec file
/specs:spec-quality-check docs/specs/001-hotel-search-aggregation/2026-03-07--hotel-search.md
# Review from current directory (auto-detect)
/specs:spec-quality-check| Argument | Required | Description |
|---|---|---|
spec-path | No | Path to spec folder or file (default: auto-detect from CWD) |
Goal: Identify the specification to review and gather context
Actions:
YYYY-MM-DD--feature-name.md - Functional specification (preferred)*-specs.md - Functional specification (legacy fallback)user-request.md - Original user request (for traceability)brainstorming-notes.md - Brainstorming notes (secondary)tasks/ - Existing tasks (for coverage verification)knowledge-graph.json - Technical context (optional)docs/specs/architecture.md — if found, load for architecture alignment checksdocs/specs/ontology.md — if found, load for terminology consistency checksGoal: Load and analyze the specification to identify improvement areas
Actions:
devkit.spec-to-tasks:
YYYY-MM-DD--feature-name.md*-specs.mduser-request.md to verify traceabilitydocs/specs/architecture.md to verify architecture alignment (project-level, loaded in Phase 1)docs/specs/ontology.md to verify terminology consistency (project-level, loaded in Phase 1)For each category, mark the status: Clear, Partial, or Missing
docs/specs/architecture.md exists)docs/specs/ontology.md exists)Goal: Generate a prioritized queue of clarification questions
Actions:
Goal: Present questions one at a time using AskUserQuestion tool and integrate responses
Actions:
For each question in the queue:
For multi-choice questions:
question: The clarification questionheader: Short category label (max 12 chars, e.g., "Performance", "Data Model")options: Array of 2-4 option objects with:
label: Option identifier (e.g., "A: < 1 second")description: Full explanation with the recommendation marked as "(Recommended)" at the endmultiSelect: falseFor short-answer questions:
question: The clarification questionheader: Short category label (max 12 chars)options: Array with:
multiSelect: falseTool invocation pattern:
Use AskUserQuestion to present the question structured as described above
Wait for user selection/response
If user selects "Other": accept their custom input (max 5 words for short-answer)
If user selects the recommended option: use the recommendationImmediate integration after each response:
## Clarifications section if it doesn't exist (after overview)### Session YYYY-MM-DD subsection- Q: <question> → A: <answer>Stop conditions:
Goal: Integrate each clarification into the appropriate specification section
Mapping clarification → section:
| Ambiguity Type | Target Section |
|---|---|
| Functional ambiguity | Add/update Functional Requirements |
| Role/actor distinction | Update User Stories or Actors |
| Data entity form | Update Data Model |
| Non-functional constraint | Add/modify Non-Functional Requirements |
| Edge case/negative flow | Add to Edge Cases / Error Handling |
| Inconsistent terminology | Normalize term, add "(formerly X)" |
| Placeholder/TODO | Resolve or quantify |
| Architecture misalignment | Flag for docs/specs/architecture.md update or ADR |
| Undefined domain term | Add term to docs/specs/ontology.md glossary |
Integration rules:
Goal: Validate integration after each write
Checks:
Goal: Generate final completion report
Actions:
Generate summary with:
Coverage summary table:
| Category | Status | Notes |
|---|---|---|
| Completeness and Clarity | Resolved/Clear/Deferred/Outstanding | ... |
| Requirements Traceability | Resolved/Clear/Deferred/Outstanding | ... |
| Acceptance Criteria | Resolved/Clear/Deferred/Outstanding | ... |
| Edge Cases Coverage | Resolved/Clear/Deferred/Outstanding | ... |
| Architecture Alignment | Resolved/Clear/Deferred/Outstanding/N/A | ... |
| Ontology Consistency | Resolved/Clear/Deferred/Outstanding/N/A | ... |
Status definitions:
Recommend next steps:
/specs:spec-quality-check after planning/specs:spec-to-tasksError: Specification not found at [path]
Verify that the path contains a resolvable spec file (`YYYY-MM-DD--feature-name.md` or legacy `*-specs.md`)No critical ambiguities detected worth formal clarification.
The specification is complete and clear.
Proceed with: /specs:spec-to-tasks [spec-folder]Warning: Unable to write to [file]: [error]
The clarification has been recorded in memory but not persisted./specs:spec-quality-check docs/specs/003-notification-system/Interactive flow:
Analyzing spec: docs/specs/003-notification-system/2026-03-10--notification-specs.md
Quality Scan Results:
- Completeness and Clarity: Partial (missing "real-time" definition)
- Requirements Traceability: Clear
- Acceptance Criteria: Partial
- Edge Cases Coverage: Missing
[1/5] Question 1 of 5
The AskUserQuestion tool will present:
**Question:** How should "real-time" be defined for this notification system?
**Options:**
- **< 5 seconds for user-facing, < 30s for background** (Recommended) - Industry standard for user-facing notifications with relaxed SLA for background processing
- **< 1 second for all notifications** - Ultra-low latency, requires significant infrastructure investment
- **< 10 seconds for all notifications** - Relaxed SLA suitable for non-critical notifications
- **Other** - Provide your own definition
After user selection, the response is integrated into the specification./specs:spec-quality-check docs/specs/001-hotel-search-aggregation/Output:
Analyzing spec: docs/specs/001-hotel-search-aggregation/2026-03-07--hotel-search-specs.md
Quality Scan Results:
- Completeness and Clarity: Clear
- Requirements Traceability: Clear
- Acceptance Criteria: Clear
- Edge Cases Coverage: Clear
No critical ambiguities detected worth formal clarification.
The specification is well-formed and ready for task generation.
Next step: /specs:spec-to-tasks docs/specs/001-hotel-search-aggregation/Run spec-quality-check to ensure the specification is complete before generating tasks:
# Step 1: Review and improve spec quality
/specs:spec-quality-check docs/specs/005-checkout-flow/
# Step 2: Generate tasks from improved spec
/specs:spec-to-tasks --lang=spring docs/specs/005-checkout-flow/Run spec-quality-check to validate the specification generated from brainstorming:
# Step 1: Generate spec from idea
/specs:brainstorm "Implement user authentication with JWT"
# Step 2: Review the generated spec
/specs:spec-quality-check docs/specs/002-user-auth/
# Step 3: Proceed to tasks
/specs:spec-to-tasks --lang=spring docs/specs/002-user-auth/The two commands are complementary:
# spec-quality-check: improve content quality
/specs:spec-quality-check docs/specs/003-api-gateway/
# spec-sync-context: sync technical context
/specs:spec-sync-context docs/specs/003-api-gateway/
# spec-to-tasks: generate tasks with high quality context
/specs:spec-to-tasks --lang=nestjs docs/specs/003-api-gateway/During execution, maintain the todo list:
[ ] Phase 1: Discovery
[ ] Phase 2: Spec Loading
[ ] Phase 3: Question Prioritization
[ ] Phase 4: Sequential Questioning (0/5 questions)
[ ] Phase 5: Clarification Integration
[ ] Phase 6: Validation
[ ] Phase 7: Report GenerationUpdate status progressively.
/specs:brainstorm to regeneratedocs
plugins
developer-kit-ai
developer-kit-aws
agents
docs
skills
aws
aws-cli-beast
aws-cost-optimization
aws-drawio-architecture-diagrams
aws-sam-bootstrap
aws-cloudformation
aws-cloudformation-auto-scaling
aws-cloudformation-bedrock
aws-cloudformation-cloudfront
aws-cloudformation-cloudwatch
aws-cloudformation-dynamodb
aws-cloudformation-ec2
aws-cloudformation-ecs
aws-cloudformation-elasticache
references
aws-cloudformation-iam
references
aws-cloudformation-lambda
aws-cloudformation-rds
aws-cloudformation-s3
aws-cloudformation-security
aws-cloudformation-task-ecs-deploy-gh
aws-cloudformation-vpc
references
developer-kit-core
agents
commands
skills
developer-kit-devops
developer-kit-java
agents
commands
docs
skills
aws-lambda-java-integration
aws-rds-spring-boot-integration
aws-sdk-java-v2-bedrock
aws-sdk-java-v2-core
aws-sdk-java-v2-dynamodb
aws-sdk-java-v2-kms
aws-sdk-java-v2-lambda
aws-sdk-java-v2-messaging
aws-sdk-java-v2-rds
aws-sdk-java-v2-s3
aws-sdk-java-v2-secrets-manager
clean-architecture
graalvm-native-image
langchain4j-ai-services-patterns
references
langchain4j-mcp-server-patterns
references
langchain4j-rag-implementation-patterns
references
langchain4j-spring-boot-integration
langchain4j-testing-strategies
langchain4j-tool-function-calling-patterns
langchain4j-vector-stores-configuration
references
qdrant
references
spring-ai-mcp-server-patterns
spring-boot-actuator
spring-boot-cache
spring-boot-crud-patterns
spring-boot-dependency-injection
spring-boot-event-driven-patterns
spring-boot-openapi-documentation
spring-boot-project-creator
spring-boot-resilience4j
spring-boot-rest-api-standards
spring-boot-saga-pattern
spring-boot-security-jwt
assets
references
scripts
spring-boot-test-patterns
spring-data-jpa
references
spring-data-neo4j
references
unit-test-application-events
unit-test-bean-validation
unit-test-boundary-conditions
unit-test-caching
unit-test-config-properties
references
unit-test-controller-layer
unit-test-exception-handler
references
unit-test-json-serialization
unit-test-mapper-converter
references
unit-test-parameterized
unit-test-scheduled-async
references
unit-test-service-layer
references
unit-test-utility-methods
unit-test-wiremock-rest-api
references
developer-kit-php
developer-kit-project-management
developer-kit-python
developer-kit-specs
commands
docs
hooks
test-templates
tests
skills
developer-kit-tools
developer-kit-typescript
agents
docs
hooks
rules
skills
aws-cdk
aws-lambda-typescript-integration
better-auth
clean-architecture
drizzle-orm-patterns
dynamodb-toolbox-patterns
references
nestjs
nestjs-best-practices
nestjs-code-review
nestjs-drizzle-crud-generator
nextjs-app-router
nextjs-authentication
nextjs-code-review
nextjs-data-fetching
nextjs-deployment
nextjs-performance
nx-monorepo
react-code-review
react-patterns
shadcn-ui
tailwind-css-patterns
tailwind-design-system
references
turborepo-monorepo
typescript-docs
typescript-security-review
zod-validation-utilities
references
github-spec-kit