| name | tf-provider-implement |
| description | SDD Phases 3-4 for provider development. TDD implementation and validation from an existing provider-design-{resource}.md. |
| source | image |
SDD โ Provider Implement
Builds and validates a Terraform provider resource from specs/{FEATURE}/provider-design-{resource}.md using TDD.
Post progress: bash .foundations/scripts/bash/post-issue-progress.sh $ISSUE_NUMBER "<step>" "<status>" "<summary>"
Checkpoint: bash .foundations/scripts/bash/checkpoint-commit.sh --dir . --prefix feat "<step_name>"
Prerequisites
- Resolve
$FEATURE and $RESOURCE from $ARGUMENTS or current git branch name.
- Verify
specs/{FEATURE}/provider-design-{resource}.md exists via Glob. Stop if missing โ tell user to run /tf-provider-plan first. Capture $DESIGN_FILE.
- Find
$ISSUE_NUMBER from $ARGUMENTS or gh issue list --search "$FEATURE".
Phase 3: Build + Test
- Launch concurrent
tf-provider-test-writer agents with $DESIGN_FILE. Verify _test.go exists. Checkpoint.
- Extract all checklist items from design ยง6 via Grep (
- [ ] lines).
- For each item: launch
tf-provider-developer agent โ go build + go test -c โ checkpoint.
- Final
go vet ./.... Fix until clean. Verify all ยง6 items marked [x].
Phase 4: Validate
- Launch concurrent
tf-provider-validator agents with $DESIGN_FILE and service directory. If auto-fixes applied, run go build to confirm.
- If remaining issues, launch
tf-provider-developer targeted at specific issues. Repeat until resolved.
- Run acceptance tests.
- Write validation report to
specs/{FEATURE}/reports/ using the tf-report-template skill provider template.
- Checkpoint commit, push branch, create PR linking to
$ISSUE_NUMBER.
Done
Report: build pass/fail, test compilation, acceptance test results (if run), validation status, PR link.