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
You are helping a developer implement a specific task from a task list generated by /specs:spec-to-tasks.
This command follows a focused workflow optimized for single-task implementation.
/specs:task-implementation [--lang=java|spring|typescript|nestjs|react|python|general] --task=task-name| Argument | Description |
|---|---|
$ARGUMENTS | Combined arguments passed to the command |
This command ONLY operates in Task Mode. If no --task= parameter is provided, inform the user that they should use the spec-driven flow (devkit.brainstorm → devkit.spec-to-tasks) or /specs:feature-development for non-spec work.
# Task Mode examples:
"--task=User login" → Task mode
"--task=Password reset" → Task mode
"--task=API endpoint implementation" → Task mode
# Invalid (no --task=):
"Add user authentication" → Error: generate a spec/task first or use devkit.feature-development
"--lang=spring Add REST API" → Error: generate a spec/task first or use devkit.feature-developmentThis command implements a specific task following a focused workflow:
Goal: Extract and validate the task from the task list
Actions:
Parse $ARGUMENTS to extract parameters:
--task= parameter (can be task ID or file path)--spec= parameter (spec folder path)--lang= parameter (optional)Support two argument formats:
--task=docs/specs/001-feature/tasks/TASK-001.md--spec=docs/specs/001-feature --task=TASK-001If Format 2 is used, construct the task file path as: {spec}/tasks/{task}.md
Find the task file:
--spec is provided with task ID: construct path {spec}/tasks/{task}.mddocs/specs/*/tasks/TASK-*.mdRead the task file and extract:
Goal: Validate DoR items related to repository state and baseline quality before implementation
Actions:
git status --porcelain to check for uncommitted changesgit commitpackage.json (scripts), Makefile, pom.xml, build.gradle, pyproject.toml, composer.json, etc.npm run lint, make lint, ./mvnw checkstyle:check, ruff check .), then tests (e.g., npm test, make test, ./mvnw test -q, pytest, php artisan test)Goal: Validate DoR items related to task dependencies
Actions:
Goal: Validate DoR technical context against actual codebase state
Actions:
Extract spec_id from task:
spec field from task frontmatter (e.g., docs/specs/001-feature-name/2026-03-07--feature-name.md)Check for Knowledge Graph:
knowledge-graph.json in the spec folderIf Knowledge Graph exists:
/knowledge-graph validate [spec-folder] {
components: [/* component IDs from task */],
apis: [/* API IDs from task */],
patterns: [/* pattern names from task */]
}Process validation results:
Task validation failed against Knowledge Graph:
Errors:
- Component UserService not found in codebase
- API /api/v1/payments not found, may need implementation
Options:
- "Proceed anyway" (implement missing components)
- "Update task" (remove/fix invalid dependencies)
- "Cancel" (fix task first, then implement)Task validation warnings:
- Pattern "Circuit Breaker" differs slightly from codebase convention
- API /api/v1/hotels may need rate limiting
Proceed with implementation?If validation passed or user chose to proceed:
Goal: Verify DoR contract expectations are satisfied by completed dependencies (provides)
Prerequisite: T-3: Dependency Check completed
Actions:
Extract expects from current task:
expects field from task YAML frontmatterexpects:
- file: "src/main/java/com/hotels/search/poc/search/domain/entity/Search.java"
symbols:
- "Search"
- "SearchStatus"
- "SearchCriteria"
- file: "src/main/java/com/hotels/search/poc/search/domain/valueobject/SearchId.java"
symbols:
- "SearchId"For each expected item, verify it exists:
Check provides from completed dependencies:
provides sectionIf any expectations are NOT satisfied:
Contract Validation Failed:
Task expects the following but they are not provided by completed dependencies:
Expected: Search entity with symbols [Search, SearchStatus]
Provided by: None (no completed dependency provides this)
Expected: SearchId value object
Provided by: None
Options:
- "Proceed anyway" (implement missing contracts)
- "Cancel" (complete dependencies first)If all expectations ARE satisfied:
Note: This phase ensures that task dependencies provide what the current task expects at the symbol level, not just at the task completion level.
Goal: Load and address issues from previous review iterations (Ralph Loop mode)
Actions:
docs/specs/XXX/tasks/TASK-007.mddocs/specs/XXX/tasks/TASK-007--review.md.md with --review.md in the task filenameGoal: Load and address issues from previous review iterations (Ralph Loop mode)
Actions:
Check for existing review file:
{task_base_name}--review.mdTASK-007.md, look for TASK-007--review.md.md from task filename and append --review.mdIf review file exists:
review_status from YAML frontmatter:
needs_fix → Issues need to be addressedpassed → Review passed, no fixes neededpartial → Some issues fixed, others remainfile: File affectedline: Line number (optional)severity: blocking, warning, suggestiondescription: What needs to be fixedfix_applied: Whether this was already fixedProcess review feedback:
review_status is passed: Log "Review passed previously, proceeding with implementation"review_status is needs_fix or partial:
fix_applied: false or not marked as resolvedUpdate implementation plan:
blocking issues first, then warning, then suggestionIf no review file exists:
Review File Format (TASK-XXX--review.md):
---
review_date: 2026-04-07
review_status: needs_fix
task_id: TASK-007
overall_assessment: partial
---
## Critical Issues
### Issue 1: [TITLE]
- **File**: `src/main/java/com/example/Service.java`
- **Line**: 45
- **Severity**: blocking
- **Category**: logic_error
- **Description**: Null pointer exception risk
- **Fix Applied**: false
## Summary
- **Total Issues**: 5
- **Blocking**: 2
- **Warnings**: 2
- **Suggestions**: 1Naming Convention:
TASK-007.mdTASK-007--review.md (double dash -- before review)Goal: Implement the task according to acceptance criteria and the documented DoD, and fix any review issues from previous iterations
Actions:
blocking issues firstwarning issues secondsuggestion issues if time permitsfix_applied: true for resolved issues (optional, T-6.6 will handle this)Goal: Verify implementation meets acceptance criteria and DoD
Actions:
Goal: Update task list and summarize
Actions:
Confirm completion before marking the task done:
Auto-update task status:
[ ] → [x])implemented via hooksimplemented_date field is set automaticallySummarize:
/specs:task-review to verify the implementation, then /specs:code-cleanup to finalizeGoal: Automatically update Knowledge Graph and enrich tasks after implementation
Prerequisite: T-6: Task Completion completed successfully
Actions:
Call spec-quality command:
/specs:spec-sync-context [spec-folder] --task=[TASK-ID]The spec-quality command will:
Log the update:
Specs Quality updated:
- TASK-001 provides: Search entity (Search, SearchStatus), SearchId value object
- Knowledge Graph updated: docs/specs/[ID]/knowledge-graph.json
- Dependent tasks enriched with new technical contextIf update fails:
Note: This ensures that:
Goal: Detect if implementation deviated from specification
Prerequisite: T-6: Task Completion completed
Actions:
Compare task acceptance criteria with actual implementation:
If deviations found:
docs/specs/[id]/decision-log.md:
## DEC-NNN: Spec Deviation - [Brief Description]
- **Date**: YYYY-MM-DD
- **Task**: TASK-XXX
- **Phase**: Implementation
- **Context**: [Why the deviation occurred]
- **Decision**: [What changed from the spec]
- **Alternatives Considered**: [Could we have followed spec instead?]
- **Impact**: [Files/components affected, spec sections no longer accurate]
- **Decided By**: user / AI recommendationAsk user via AskUserQuestion:
Options:
- "Yes, sync now" - Run `/specs:spec-sync-with-code` to update specification
- "Later" - Skip for now, remember to sync later
- "Skip (deviation intentional)" - No sync needed, deviation is documentedIf no deviations:
For spec-driven chat sessions outside this command:
docs/specs/[id]/ as working context and the session clarified or changed what should be built, update the affected spec artifacts before concluding.Each task file in docs/specs/[ID]/tasks/TASK-*.md must have a YAML frontmatter with the following structure:
---
id: TASK-001
title: "Task Title"
spec: docs/specs/[ID-feature]/2026-03-07--feature-name.md
lang: spring
status: pending
dependencies: []
provides:
- file: "src/main/java/com/example/Task.java"
symbols:
- "Task"
- "TaskStatus"
type: "entity"
expects:
- file: "src/main/java/com/example/Other.java"
symbols:
- "OtherService"
type: "service"
---Frontmatter Fields:
| Field | Required | Description |
|---|---|---|
id | Yes | Unique task identifier (e.g., TASK-001) |
title | Yes | Human-readable task title |
spec | Yes | Reference to the specification file |
lang | Yes | Programming language/framework (spring, typescript, nestjs, general, etc.) |
status | No | Current status: pending, in_progress, implemented, reviewed, completed, superseded, optional, blocked |
started_date | No | Date work started (YYYY-MM-DD) |
implemented_date | No | Date implementation finished (YYYY-MM-DD) |
reviewed_date | No | Date review completed (YYYY-MM-DD) |
completed_date | No | Date cleanup completed (YYYY-MM-DD) |
cleanup_date | No | Date code cleanup finished (YYYY-MM-DD) |
dependencies | No | Array of task IDs this task depends on |
provides | No | What this task makes available (see format below) |
expects | No | What this task requires from dependencies |
complexity | No | Complexity score (0-100) |
optional | No | Boolean - if true, task is optional |
parent_task | No | Parent task ID (for subtasks) |
supersedes | No | Array of task IDs this task supersedes |
provides/expects Format:
file: Relative path to the source filesymbols: Array of symbols (classes, interfaces, functions, methods) provided/requiredtype: Type of component (entity, value-object, service, repository, controller, function, etc.)Status values MUST be one of the following (auto-managed by hooks):
pending → in_progress → implemented → reviewed → completed
↓
blocked (can return to in_progress)Status Transitions:
pending: Initial state, no dates requiredin_progress: Work started → sets started_dateimplemented: Coding complete → sets implemented_datereviewed: Review passed → sets reviewed_datecompleted: Cleanup done → sets completed_date and cleanup_datesuperseded: Task replaced by othersoptional: Task is not requiredblocked: Task cannot proceed (temporary state)Status updates happen automatically when you:
Parse $ARGUMENTS to detect the optional --lang parameter:
--lang=spring or --lang=java: Use Java/Spring Boot specialized agents--lang=typescript or --lang=ts: Use TypeScript specialized agents--lang=nestjs: Use NestJS specialized agents--lang=react: Use React frontend specialized agents--lang=python or --lang=py: Use Python specialized agents--lang=general or no flag: Use general-purpose agents (default)Throughout the workflow, whenever a non-trivial choice is made between alternatives, append a DEC entry to docs/specs/[id]/decision-log.md.
Task Mode T-4 (Implementation): When implementation requires non-trivial choices:
## DEC-NNN: [Decision Title]
- **Date**: YYYY-MM-DD
- **Task**: TASK-XXX
- **Phase**: Implementation
- **Context**: [Why this decision was necessary]
- **Decision**: [What was decided]
- **Alternatives Considered**: [What was rejected and why]
- **Impact**: [Files/components affected]
- **Decided By**: user / AI recommendation acceptedspec: fieldThroughout the process, maintain a todo list like:
[ ] T-1: Task Identification
[ ] T-2: Git State Check
[ ] T-3: Dependency Check
[ ] T-3.5: Knowledge Graph Validation
[ ] T-3.6: Contract Validation
[ ] T-4: Implementation
[ ] T-5: Verification
[ ] T-6: Task Completion
[ ] T-6.5: Update Specs Quality
[ ] T-6.6: Spec Deviation CheckUpdate the status as you progress through each phase.
After generating tasks with /specs:spec-to-tasks, implement individual tasks:
# Implement a specific task from the task list
/specs:task-implementation --lang=spring --task="User login"
/specs:task-implementation --lang=typescript --task="Password reset"
/specs:task-implementation --lang=nestjs --task="JWT token generation"
/specs:task-implementation --lang=react --task="Login form UI"
/specs:task-implementation --lang=python --task="API endpoint implementation"
# Task Mode with general agents
/specs:task-implementation --lang=general --task="Database schema update"
# Using task ID
/specs:task-implementation --lang=spring --task="TASK-001"
/specs:task-implementation --lang=typescript --task="TASK-002"Expected Output:
# Successful execution - Task identified
→ Task identified: TASK-001 "User login"
→ Checking git status...
→ Validating dependencies...
→ Knowledge Graph validation: ✓ All dependencies exist
→ Contract validation: ✓ All expectations satisfied
→ Task implemented successfully
→ Next: Run `/specs:task-review` then `/specs:code-cleanup`
# Or with errors - Dependency not met
→ Task identified: TASK-002 "Password reset"
→ Dependency check failed:
- TASK-001 not completed (required by this task)
Options:
- [1] Proceed anyway
- [2] Complete dependencies first
- [3] Cancel
# Or with invalid task
/specs:task-implementation --task="Invalid task"
→ Error: Task "Invalid task" not found
Suggestion: Use --task=TASK-XXX or provide full path to task filedocs
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