ワンクリックで
provider-golangci-lint-uplift
>-
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
>-
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Internal helper contract for calling the codex-companion runtime from Claude Code
Comprehensive guide for Terraform code style, formatting, and best practices based on HashiCorp's official standards and Azure Verified Modules (AVM) requirements. Use when writing or reviewing Terraform configurations, formatting code, organizing files and modules, establishing team conventions, managing version control, ensuring code quality and consistency across infrastructure projects, or developing Azure Verified Modules.
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Design engineering for Codex. Build interfaces with craft, memory, and enforcement. Maintains consistent design decisions across sessions - make choices once, enforce them automatically.
Implement plan using concurrent opus agents and verify completion
Deterministic integration test coverage analysis using off-the-shelf tooling. Use this skill whenever the user asks about test coverage, coverage gaps, untested code, what needs testing, or wants to improve integration test coverage. Also trigger when the user says 'run coverage', 'check coverage', 'coverage report', 'what's untested', 'find gaps', or has just implemented a feature and wants to know what integration tests are missing. This skill runs real tools and produces data-driven reports — not guesswork.
| name | provider-golangci-lint-uplift |
| description | >- |
| source | image |
Fetch the latest golangci-lint config from the HashiCorp
terraform-provider-scaffolding-framework repo and additively merge any
missing linters, settings, and sections into the local project's config. Local
customizations are always preserved.
Teams invest effort tuning their lint config — extra linters, custom thresholds, project-specific exclusions. Removing or overwriting those decisions causes friction and breaks trust. The scaffolding config represents a minimum standard; anything the local project already has beyond that baseline is the team's prerogative.
| Scenario | Action | Reason |
|---|---|---|
| Item in baseline, missing locally | Add | Bring up to minimum standard |
| Item in local, not in baseline | Keep | Local exceeds baseline |
| Item in both, values differ | Keep local | Local customization wins |
This applies uniformly across linters, settings, formatters, exclusions, and top-level sections. Never remove, replace, or overwrite existing config.
The remote scaffolding repo is always the source of truth. Fetch it first:
gh api repos/hashicorp/terraform-provider-scaffolding-framework/contents/.golangci.yml --jq '.content' | base64 -d
If the fetch fails (no network, rate limit, auth issue), fall back to the
snapshot in references/baseline.yml — but inform the user that you're using a
cached version and suggest they retry with network access later.
Read .golangci.yml (or the path provided as argument).
version key, uses linters-settings instead of
linters.settings): Inform the user that a v1-to-v2 migration is needed
before this skill can be applied, and stop. The golangci-lint v2 migration
guide is at https://golangci-lint.run/product/migration-guide/.Compare the local config against the fetched baseline. Present a delta report before making any changes:
To add — items in baseline, missing locally:
Already present — items in both configs (no action needed)
Local extras — items in local only (will be preserved as-is)
Wait for user confirmation before proceeding to changes.
linters.enable, maintaining
alphabetical order.linters.settings. For
compound settings like depguard, merge missing deny rules into existing
rule groups without duplicating or removing existing rules.issues, formatters).linters.exclusions.formatters.enable.Run both checks and report results:
go build ./...
For linting, use whichever is available:
golangci-lint run ./...
# or if not on PATH:
go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest run ./...
Create a spec history file at spec/history/NNN-uplift-golangci-lint-config.md
with:
Use the next available number prefix.