WHEN: User requests Go code work (implement, fix, add, refactor) or mentions @ldd in a Go project. Orchestrates complete workflow (Phases 1-5): design → test → implement → lint → fix → documentation. Auto-triggers parallel quality analysis and iterative fix loop until code is commit-ready.
View on GitHubbuzzdan/ai-coding-rules
go-linter-driven-development
January 16, 2026
Select agents to install to:
npx add-skill https://github.com/buzzdan/ai-coding-rules/blob/main/go-linter-driven-development/skills/linter-driven-development/SKILL.md -a claude-code --skill linter-driven-developmentInstallation paths:
.claude/skills/linter-driven-development/<objective> Meta orchestrator for Go implementation workflow: design → test → lint → refactor → review → commit. Use for any commit: features, bug fixes, refactors. **Reference**: See `reference.md` for agent prompt templates, example reports, and output formats. </objective> <essential_principles> **Auto-Pilot Behavior**: This skill triggers automatically when Go code work is detected. After permission is granted, announce: **"Using go-ldd workflow for this Go code work"** and proceed to pre-flight check. **Trigger Conditions**: - User requests Go code work (implement, fix, add, refactor, update, change, modify, etc.) - User mentions "ldd" or "@ldd" (shorthand for linter-driven-development) - Working directory contains Go project (go.mod or .go files) </essential_principles> <quick_start> **Immediate Action**: Run Pre-Flight Check, then execute phases sequentially until commit-ready. 1. **Pre-Flight**: Verify Go project, find test/lint commands, identify plan context 2. **Phase 1**: Design types (if needed) → Write tests → Implement code 3. **Phase 2**: Run quality-analyzer agent → Route based on status 4. **Phase 3**: Fix loop until CLEAN_STATE 5. **Phase 4**: Documentation 6. **Phase 5**: Present commit summary with options </quick_start> <workflow> <pre_flight_check> **ALWAYS RUN FIRST** <step name="confirm_intent"> Look for keywords: "implement", "ready", "execute", "do", "start", "continue", "next", "build", "create", "step 1", "task 2", or explicit "@linter-driven-development", "@ldd", "ldd" </step> <step name="verify_go_project"> Check that `go.mod` exists in the project root or parent directories. </step> <step name="find_commands"> **Search locations** (in order): 1. Project docs: `README.md`, `CLAUDE.md`, `agents.md` 2. Build configs: `Makefile`, `Taskfile.yaml`, `.golangci.yaml` 3. Git repository root for workspace-level commands **Extract commands**: - **Test command**: `go test`, `make test`, `task test` - **Lint command**: `golangci-lint ru