work-batchlisted
Install: claude install-skill christopherlouet/claude-base
# Batch Execution Mode
Autonomous and sequential execution of user stories from a PRD file.
## PRD file format
### JSON (`prd.json`)
```json
{
"project": "project-name",
"stories": [
{
"id": "US-001",
"title": "Story title",
"description": "Detailed description",
"priority": "P1",
"acceptance_criteria": [
"Given X, When Y, Then Z"
],
"files": ["src/module.ts", "src/module.test.ts"]
}
]
}
```
### Markdown (`prd.md`)
```markdown
## US-001: Story title
**Priority**: P1
**Description**: Detailed description
**Acceptance criteria**:
- Given X, When Y, Then Z
**Files**: src/module.ts, src/module.test.ts
```
## Workflow per story
For each story in priority order (P1 → P2 → P3):
### 1. LOAD - Load the story
- Read the story from the PRD file
- Display the title and description
- Check prerequisites (files, dependencies)
### 2. IMPLEMENT - TDD cycle
- Write the tests first (RED)
- Implement the minimal code (GREEN)
- Refactor if necessary (REFACTOR)
- Verify the acceptance criteria
### 3. COMMIT - Save
- Run the tests: `npm test` / `pytest` / `go test`
- If tests OK: commit with `feat(scope): US-XXX description`
- If tests KO: STOP and report the blocker
### 4. REPORT - Update the state
- Mark the story as done in `.claude/output/batch/progress.json`
- Log the time and modified files
- Move on to the next story
## Progress file
Automatic save in `.claude/output/batch/progress.json`:
```json
{
"started