review-tests
Skill by hashicorp
Reviews acceptance and unit test code in the Terraform AWS Provider. It checks required tests, naming, TestCase setup and related conventions for pull requests that change test files.
Install review-tests
Built from the published package, never by AI.
git clone --depth 1 https://github.com/hashicorp/terraform-provider-aws /tmp/terraform-provider-aws && mkdir -p ~/.claude/skills && cp -r /tmp/terraform-provider-aws/.agents/skills/review-tests ~/.claude/skills/review-testsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/hashicorp/terraform-provider-aws /tmp/terraform-provider-aws && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/terraform-provider-aws/.agents/skills/review-tests ~/.gemini/antigravity-cli/skills/review-testsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an assistant a checklist for reviewing Go test files in the Terraform AWS Provider, under internal/service. It covers required _basic and _disappears acceptance tests, TestAcc naming, and the essential TestCase fields such as PreCheck, ErrorCheck, ProtoV5ProviderFactories and CheckDestroy. It also covers random naming, the ImportState step, and the use of regexache and ARN check helpers.
It is written for maintainers reviewing a pull request that changes internal/service/**/*_test.go. The skill is loaded from a review-pr workflow and points to a companion skill, review-tests-helpers, for Exists and Destroy helpers and for data source, list and unit tests. Ephemeral resources, provider functions and actions are out of scope.
Written from the project's SKILL.md and checked against it.
What it can do
- Required test checkFlags new resources that lack a _basic or _disappears acceptance test.
- Naming reviewChecks TestAcc naming for resources, data sources and list resources.
- TestCase essentialsChecks for PreCheck, ErrorCheck, ProtoV5ProviderFactories and CheckDestroy.
- PreCheck patternFlags PreChecks with multiple API calls or without PreCheckSkipError.
- Random namingFlags hard-coded names and bare acctest.RandString calls.
- ImportState stepVerifies the _basic test ends with an import step and flags broad ignore lists.
- Disappears testChecks for the framework or SDKv2 disappears helper in the test.
- Regex and ARN checksFlags stdlib regexp imports and manual ARN assembly in tests.
- Generated tag testsFlags hand-written _tags or _Identity tests for new resources.
Try asking
- Review this PR that changes internal/service/s3/bucket_test.go
- Check whether my new resource has the required _basic and _disappears tests
- Does this acceptance test set PreCheck, ErrorCheck and CheckDestroy correctly?
Good to know
- Ephemeral resources, provider functions and actions are out of scope.
- Exists and Destroy helpers, data source, list and unit tests are covered by review-tests-helpers.
- Loaded from review-pr rather than used on its own.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/review-tests/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to review-tests
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
review-tests: common questions
What does the review-tests skill check?
It checks acceptance and unit test basics in the Terraform AWS Provider, including required tests, naming, TestCase fields, random naming, ImportState steps and regexache use.
When should I use this skill?
Use it when reviewing a pull request that changes internal/service/**/*_test.go files in the Terraform AWS Provider.
Does it cover data sources and list resources?
It covers their naming rules. Data source, list and unit test details are handled by the companion review-tests-helpers skill.
How do I install review-tests?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is review-tests free?
The code is published under the MPL-2.0 licence. The service it connects to may have its own pricing.
Is review-tests safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to review-tests?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
