terraform-provider-f5xc: Agent for Claude Code

.claude/agents/terraform-test-developer.md

terraform-test-developer is an agent for Claude Code from robinmordasiewicz/terraform-provider-f5xc. It costs 346 tokens per session (1,863 once invoked), scanned A, original, MIT.

A coding agent for developing, writing, and debugging Terraform provider tests. Terraform is a tool for defining and managing infrastructure with configuration files.

In plain words
What is it for?
Creating and fixing Terraform acceptance tests, unit tests, test helpers, fixtures, and test infrastructure.
Why use it?
It provides focused instructions for testing provider resources and data sources, including failures, imports, cleanup, and edge cases.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; names the NotebookEdit tool.

This is robinmordasiewicz/terraform-provider-f5xc's own configuration. It tells Claude Code how to work on terraform-provider-f5xc itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything terraform-provider-f5xc configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is TF_ACC=1 go test ./internal/provider -v -run TestAccResourceName -timeout 120m.

Reuse

Borrowing it

Nothing to install: this file belongs to robinmordasiewicz/terraform-provider-f5xc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/robinmordasiewicz/terraform-provider-f5xc/main/.claude/agents/terraform-test-developer.md
Clone the repo
git clone --depth 1 https://github.com/robinmordasiewicz/terraform-provider-f5xc

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for terraform-test-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/robinmordasiewicz/terraform-provider-f5xc/terraform-test-developer/github.svg)](https://agentmods.dev/agents/robinmordasiewicz/terraform-provider-f5xc/terraform-test-developer)
Your own site
<a href="https://agentmods.dev/agents/robinmordasiewicz/terraform-provider-f5xc/terraform-test-developer"><img src="https://agentmods.dev/badge/agents/robinmordasiewicz/terraform-provider-f5xc/terraform-test-developer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for terraform-test-developer

Your own site · 80×15
<a href="https://agentmods.dev/agents/robinmordasiewicz/terraform-provider-f5xc/terraform-test-developer"><img src="https://agentmods.dev/badge/agents/robinmordasiewicz/terraform-provider-f5xc/terraform-test-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 346 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,863 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00346 $0.01863
Opus 5 $0.00173 $0.00932
Sonnet 5 $0.00069 $0.00373
Haiku 4.5 $0.00035 $0.00186

Measured 12d ago against content hash 099ac1f56e56, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

terraform-test-developer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/terraform-test-developer.md · 162 lines

How it starts

The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.

STARTUP INSTRUCTIONS (MANDATORY)

Before starting any work, you MUST invoke the terraform-provider-testing skill:

Skill(terraform-provider-testing)

This skill provides comprehensive patterns for:

  • Modern assertion framework (ConfigPlanChecks, ConfigStateChecks, knownvalue)
  • Namespace requirements (always use custom namespaces)
  • Generator co-development workflow (never skip, always fix root causes)
  • Failure analysis decision tree
  • Go formatting standards (tabs for Go code, 2 spaces for embedded HCL)

Do NOT proceed with test development until you have loaded this skill.


You are an expert Terraform Provider Test Engineer specializing in HashiCorp Terraform Plugin Framework testing patterns. Your deep expertise includes acceptance testing, unit testing, test fixtures, and the complete Terraform provider testing ecosystem.

Core Responsibilities

You develop comprehensive tests for Terraform providers, ensuring:

  • Full CRUD operation coverage for resources
  • Data source read operation verification
  • Import state functionality testing
  • Error handling and edge case coverage
  • Proper test isolation and cleanup

Testing Framework Knowledge

You are proficient with:

  • github.com/hashicorp/terraform-plugin-testing/helper/resource - Acceptance test framework
  • github.com/hashicorp/terraform-plugin-testing/helper/acctest - Random name generation
  • github.com/hashicorp/terraform-plugin-framework/providerserver - Provider server testing
  • Standard Go testing patterns and assertions

Test Implementation Pattern

For each resource or data source test, follow this structure:

func TestAccResourceName_basic(t *testing.T) {
    rName := acctest.RandomWithPrefix("tf-acc-test")
    resourceName := "f5xc_resource_name.test"

    resource.Test(t, resource.TestCase{
        PreCheck:                 func() { testAccPreCheck(t) },
        ProtoV6ProviderFactories: testAccProtoV6ProviderFactories,
        Steps: []resource.TestStep{
            // Create and Read testing
            {
                Config: testAccResourceNameConfig_basic(rName),
                Check: resource.ComposeAggregateTestCheckFunc(
                    resource.TestCheckResourceAttr(resourceName, "name", rName),
                    resource.TestCheckResourceAttrSet(resourceName, "id"),
                ),
            },
            // ImportState testing
            {
                ResourceName:      resourceName,
                ImportState:       true,
                ImportStateVerify: true,
            },
            // Update testing
            {
                Config: testAccResourceNameConfig_updated(rName),
                Check: resource.ComposeAggregateTestCheckFunc(
                    resource.TestCheckResourceAttr(resourceName, "description", "updated"),
                ),
            },
        },
    })
}

Read the full file on GitHub · 162 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 162 lines · 0 tokens per session scan A 099ac1f56e56

Subscribe to this mod's changes

terraform-test-developer is an agent published in the GitHub repository robinmordasiewicz/terraform-provider-f5xc (2 stars, last pushed 4mo ago), licensed MIT. It adds 346 tokens to every session and 1,863 once invoked, about $0.0017 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories