Run quality analysis only - invoke quality-analyzer agent and display combined report without auto-fixing
Runs comprehensive quality analysis on Go code with intelligent issue combining and prioritization.
/plugin marketplace add buzzdan/ai-coding-rules/plugin install go-linter-driven-development@ai-coding-rules[file_pattern]Run comprehensive quality analysis with intelligent combining of test results, linter findings, and code review feedback.
🔍 READ-ONLY COMMAND This command performs analysis only and makes NO changes to your code. For auto-fix capability, use
/go-ldd-quickfixinstead.
Execute these steps:
Search project documentation to find test and lint commands:
Read project files in order of preference:
CLAUDE.md (project-specific instructions)README.md (project documentation)Makefile (look for test: and lint: targets)Taskfile.yaml (look for test: and lintwithfix: tasks).golangci.yaml (linter configuration)Extract commands:
go test ./... -v -covermake testtask testgolangci-lint run --fixgolangci-lint run --config .golangci.yaml --new-from-rev=origin/dev --fix ./...make linttask lintwithfixFallback to defaults if not found:
go test ./...golangci-lint run --fix!git status --porcelain
!git diff --name-only --diff-filter=ACMR HEAD
If arguments provided ($ARGUMENTS):
./pkg/parser/*.go, ./pkg/parser/)Otherwise (default behavior):
git diff --name-only --diff-filter=ACMR HEAD | grep '\.go$'
.go files in the project (excluding vendor/, testdata/)Call the quality-analyzer agent with discovered commands and files:
Task(subagent_type: "quality-analyzer")
Prompt:
"Analyze code quality for this Go project.
Mode: full
Project commands:
- Test: [discovered test command]
- Lint: [discovered lint command]
Files to analyze:
[list of changed .go files, one per line]
Run all quality gates in parallel and return combined analysis."
The agent will return a structured report with one of four statuses:
TOOLS_UNAVAILABLE: Display the report and suggest installing missing tools TEST_FAILURE: Display test failures and suggest fixing them before quality analysis ISSUES_FOUND: Display combined report with overlapping issues analysis and prioritized fix order CLEAN_STATE: Display success message - all quality gates passed
The agent returns:
# Analyze all changed files (default)
/go-ldd-analyze
# Analyze specific package
/go-ldd-analyze ./pkg/parser/
# Analyze specific file
/go-ldd-analyze ./pkg/parser/parser.go
This will:
| Command | Purpose | Auto-Fix | Agent |
|---|---|---|---|
/go-ldd-autopilot | Complete workflow (Phase 1-6) | ✅ Yes | No |
/go-ldd-quickfix | Quality gates loop with auto-fix | ✅ Yes | No |
/go-ldd-review | Final verification, no auto-fix | ❌ No | No |
/go-ldd-analyze | Quality analysis with intelligent combining | ❌ No | ✅ Yes |
/go-ldd-status | Show workflow status | N/A | No |
/go-ldd-quickfix instead/go-ldd-review instead/go-ldd-autopilot instead