원클릭으로
verify-and-fix
Run formatting, linters, unit tests, and build checks, then fix violations.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run formatting, linters, unit tests, and build checks, then fix violations.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Accountability for identifying deprecated Lightdash API usage in the provider by comparing code patterns against the official OpenAPI specification. Use when tasked to audit the codebase for technical debt or outdated API dependencies.
Guide the execution of Lightdash Terraform provider acceptance tests, ensuring correct environment setup and targeted test execution.
Implement verified Lightdash API clients with documentation research and live schema verification.
Research and investigate Lightdash API endpoints to understand request/response schemas and behavior.
Implement Terraform Resources and Data Sources in `internal/provider` with comprehensive testing.
Comprehensive security review of the Terraform provider codebase using gosec, trunk, osv-scanner, and trivy.
| name | verify-and-fix |
| description | Run formatting, linters, unit tests, and build checks, then fix violations. |
Automate the process of ensuring code quality, functional correctness, and buildability within the Terraform Provider Lightdash project. This skill provides a comprehensive local verification loop using trunk, make, and pre-commit.
make testacc or any command that sets TF_ACC=1. This skill is intended for fast, local feedback loops (linting, building, unit testing) and should not interact with live infrastructure.Start by ensuring consistent code formatting across the repository.
trunk fmt --allExecute the project's linting suite to identify violations.
make linttrunk check --all and pre-commit run --all-files.Execute the project's unit tests to ensure functional correctness.
make testgo test on the internal packages without setting TF_ACC.If linter violations are detected, attempt to resolve them automatically.
make lint reports fixable issues.trunk check --all --fixEnsure the project compiles successfully and passes security/deadcode checks.
make buildgen-docs, go-tidy, gosec, deadcode, and finally go build.If issues remain after automated attempts, proceed with manual intervention.
trunk check, make test, or make build.Edit tool to address the root causes of the violations in the source code.make lint returns no errors.make test returns no failures.make build completes successfully.trunk check --all.trunk fmt --all (Success).make lint (Success).make test (Fails in internal/lightdash/api/utils_test.go).internal/lightdash/api/utils.go to fix the logic.make test. (Success).make build. (Success).