원클릭으로
lint
Run golangci-lint and static analysis on Go code. Use before pushing or to check code quality.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run golangci-lint and static analysis on Go code. Use before pushing or to check code quality.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run Go benchmarks and compare results to detect performance regressions. Use before and after performance-related changes.
Run pre-push quality checks (vet + lint + tests with race detector). Use before pushing code.
Run tests with coverage analysis and identify untested code paths. Use to find gaps before releases.
Check and tidy Go module dependencies. Use after adding/removing imports or before releases.
Run go generate to build templ templates and frontend assets. Use after changing templates or CSS/JS.
Run integration tests that require Docker (Postgres, MinIO via testcontainers). Use to validate database and storage behavior.
| name | lint |
| description | Run golangci-lint and static analysis on Go code. Use before pushing or to check code quality. |
| disable-model-invocation | false |
| argument-hint | package-path |
Run golangci-lint to check code quality and catch issues before CI.
/lint - Lint all packages/lint ./internal/repo/... - Lint a specific packageRun golangci-lint
golangci-lint run $ARGUMENTS 2>&1
If no arguments provided, run on all packages:
golangci-lint run ./... 2>&1
If golangci-lint is not installed, install it:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
Then re-run step 2.
Parse and report findings
Group issues by severity and file:
## Lint Results
### Errors
- [list of errors with file:line references]
### Warnings
- [list of warnings with file:line references]
### Summary
- Total issues: N
- Files affected: N
Offer to fix auto-fixable issues If issues are auto-fixable, offer to run:
golangci-lint run --fix $ARGUMENTS 2>&1
The project uses .golangci.yml in the repo root. Read this file to understand which linters are enabled/disabled before interpreting results.
Current exclusions:
internal/codesearch/ - excluded from linting and formatting (forked upstream code)The CI pipeline runs golangci-lint, go vet ./..., and gosec (see /security-scan skill).
Running /lint locally before pushing catches most CI failures.