Skip to content

Commit 7b28f90

Browse files
committed
fix: update implementation and delegation templates lint errors
1 parent a9d989f commit 7b28f90

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

templates/commands/implement.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ You **MUST** consider the user input before proceeding (if not empty).
8585
- **REQUIRED**: Read tasks.md for the complete task list and execution plan
8686
- **REQUIRED**: Read plan.md for tech stack, architecture, and file structure (optional in build mode)
8787
- **IF EXISTS**: Read data-model.md for entities and relationships
88-
- **IF EXISTS**: Read contracts/ for API specifications and test requirements
89-
- **IF EXISTS**: Read research.md for technical decisions and constraints
90-
- **IF EXISTS**: Read quickstart.md for integration scenarios
88+
- **IF EXISTS**: Read contracts/ for API specifications and test requirements
89+
- **IF EXISTS**: Read research.md for technical decisions and constraints
90+
- **IF EXISTS**: Read quickstart.md for integration scenarios
9191
9292
4. **Project Setup Verification**:
9393
- **REQUIRED**: Create/verify ignore files based on actual project setup:
@@ -132,15 +132,15 @@ You **MUST** consider the user input before proceeding (if not empty).
132132
- **Terraform**: `.terraform/`, `*.tfstate*`, `*.tfvars`, `.terraform.lock.hcl`
133133
- **Kubernetes/k8s**: `*.secret.yaml`, `secrets/`, `.kube/`, `kubeconfig*`, `*.key`, `*.crt`
134134
135-
5. Parse tasks.md structure and extract (mode-aware):
135+
1. Parse tasks.md structure and extract (mode-aware):
136136
- **Task phases**: Setup, Tests, Core, Integration, Polish
137137
- **Task dependencies**: Sequential vs parallel execution rules
138138
- **Task details**: ID, description, file paths, parallel markers [P]
139139
- **Execution flow**: Order and dependency requirements
140-
- **Load tasks_meta.json**: Read execution modes, delegation status, and review requirements
140+
- **Load tasks_meta.json**: Read execution modes, delegation status, and review requirements
141141
- Record assigned agents and job IDs for ASYNC tasks
142142
143-
6. Execute implementation following execution approach (mode-aware):
143+
2. Execute implementation following execution approach (mode-aware):
144144
145145
**Build Mode Execution:**
146146
- **Simplified flow**: Focus on core tasks for primary functionality
@@ -151,15 +151,15 @@ You **MUST** consider the user input before proceeding (if not empty).
151151
**Spec Mode Execution (Dual Execution Loop):**
152152
- **Phase-by-phase execution**: Complete each phase before moving to the next
153153
- **Respect dependencies**: Run sequential tasks in order, parallel tasks [P] can run together
154-
- **Follow TDD approach** (if enabled): Check current mode opinion settings - if TDD enabled, execute test tasks before implementation tasks
154+
- **Follow TDD approach** (if enabled): Check current mode opinion settings - if TDD enabled, execute test tasks before implementation tasks
155155
- **File-based coordination**: Tasks affecting the same files must run sequentially
156156
- **Dual execution mode handling**:
157157
- **SYNC tasks**: Execute immediately with human oversight, require micro-review via `scripts/bash/tasks-meta-utils.sh review-micro "$FEATURE_DIR/tasks_meta.json" "$task_id"`
158-
- **ASYNC tasks**: Generate delegation prompts via `scripts/bash/tasks-meta-utils.sh dispatch_async_task "$task_id" "$agent_type" "$description" ...`, send to LLM agents, monitor completion, apply macro-review after completion
158+
- **ASYNC tasks**: Generate delegation prompts via `scripts/bash/tasks-meta-utils.sh dispatch_async_task "$task_id" "$agent_type" "$description" ...`, send to LLM agents, monitor completion, apply macro-review after completion
159159
- **Quality gates**: Apply differentiated validation based on execution mode via `scripts/bash/tasks-meta-utils.sh quality-gate "$FEATURE_DIR/tasks_meta.json" "$task_id"`
160160
- **Validation checkpoints**: Verify each phase completion before proceeding
161161
162-
7. Implementation execution rules (mode-aware):
162+
5. Implementation execution rules (mode-aware):
163163
164164
**Build Mode Rules:**
165165
- **Core first**: Focus on primary user journey implementation
@@ -169,12 +169,12 @@ You **MUST** consider the user input before proceeding (if not empty).
169169
170170
**Spec Mode Rules:**
171171
- **Setup first**: Initialize project structure, dependencies, configuration
172-
- **Tests before code** (if TDD enabled): If TDD is enabled in current mode settings and you need to write tests for contracts, entities, and integration scenarios
172+
- **Tests before code** (if TDD enabled): If TDD is enabled in current mode settings and you need to write tests for contracts, entities, and integration scenarios
173173
- **Core development**: Implement models, services, CLI commands, endpoints
174174
- **Integration work**: Database connections, middleware, logging, external services
175175
- **Polish and validation**: Unit tests, performance optimization, documentation
176176
177-
8. Progress tracking and error handling (mode-aware):
177+
6. Progress tracking and error handling (mode-aware):
178178
- Report progress after each completed task
179179
- **Build Mode**: Continue on minor errors, focus on core functionality
180180
- **Spec Mode**: Halt execution if any non-parallel task fails
@@ -183,12 +183,12 @@ You **MUST** consider the user input before proceeding (if not empty).
183183
- Suggest next steps if implementation cannot proceed
184184
- **IMPORTANT** For completed tasks, make sure to mark the task off as [X] in the tasks file.
185185
186-
9. Issue Tracker Integration (Spec Mode only):
186+
7. Issue Tracker Integration (Spec Mode only):
187187
- If ASYNC tasks were dispatched, update issue tracker with progress
188188
- Apply completion labels when ASYNC tasks finish
189189
- Provide traceability links between tasks and issue tracker items
190190
191-
10. Completion validation (mode-aware):
191+
8. Completion validation (mode-aware):
192192
193193
**Build Mode Validation:**
194194
- Verify core user journey works end-to-end

templates/delegation-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Please complete the following task autonomously using your available tools and c
1010

1111
Please execute this task completely and provide a summary of what was accomplished, including any code changes, tests written, or other deliverables produced.
1212

13-
When finished, provide a brief status update indicating completion.
13+
When finished, provide a brief status update indicating completion.

templates/spec-template-build.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@
4747
<!-- Optional: Any assumptions or scope limitations -->
4848

4949
**Assumptions**:
50+
5051
- [Any reasonable defaults or assumptions made]
5152

5253
**Out of Scope**:
54+
5355
- [What we're explicitly NOT building in this lightweight version]
5456

5557
---
5658

5759
*This is a Build Mode specification - lightweight and focused on getting something working quickly. For comprehensive specifications with detailed requirements, use Spec Mode.*</content>
5860
</xai:function_call name="edit">
59-
<parameter name="filePath">/home/lior/dev/agentic-sdlc/agentic-sdlc-spec-kit/templates/commands/clarify.md
61+
<parameter name="filePath">/home/lior/dev/agentic-sdlc/agentic-sdlc-spec-kit/templates/commands/clarify.md

0 commit comments

Comments
 (0)