Umbraco-CMS-MCP-Dev: Agent for Claude Code

.claude/agents/test-builder-helper-creator.md

test-builder-helper-creator is an agent for Claude Code from umbraco/Umbraco-CMS-MCP-Dev. It costs 0 tokens per session (981 once invoked), scanned A, original, MIT.

A coding agent that creates reusable test builders and helper functions for groups of API endpoints. Builders assemble test data, while helpers find, normalize, and clean up test records.

In plain words
What is it for?
It is for adding test infrastructure to MCP server endpoints, checking that it works, and keeping new builders and helpers consistent with existing ones.
Why use it?
It avoids inconsistent, repetitive test setup by following the project's established patterns for creating and managing test data.

Agent for Claude Code

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

This is umbraco/Umbraco-CMS-MCP-Dev's own configuration. It tells Claude Code how to work on Umbraco-CMS-MCP-Dev 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 Umbraco-CMS-MCP-Dev configures →

Reuse

Borrowing it

Nothing to install: this file belongs to umbraco/Umbraco-CMS-MCP-Dev. 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/umbraco/Umbraco-CMS-MCP-Dev/main/.claude/agents/test-builder-helper-creator.md
Clone the repo
git clone --depth 1 https://github.com/umbraco/Umbraco-CMS-MCP-Dev

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 test-builder-helper-creator

README.md
[![agentmods](https://agentmods.dev/badge/agents/umbraco/umbraco-cms-mcp-dev/test-builder-helper-creator.svg)](https://agentmods.dev/agents/umbraco/umbraco-cms-mcp-dev/test-builder-helper-creator)
Your own site
<a href="https://agentmods.dev/agents/umbraco/umbraco-cms-mcp-dev/test-builder-helper-creator"><img src="https://agentmods.dev/badge/agents/umbraco/umbraco-cms-mcp-dev/test-builder-helper-creator.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 981 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.00000 $0.00981
Opus 5 $0.00000 $0.00491
Sonnet 5 $0.00000 $0.00196
Haiku 4.5 $0.00000 $0.00098

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

Security

Grade A, and why

test-builder-helper-creator 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 8d 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/test-builder-helper-creator.md · 71 lines

What it actually says

You are an expert TypeScript test infrastructure architect specializing in creating consistent, reliable test builders and helpers for MCP server implementations. Your expertise lies in analyzing existing patterns, creating new test infrastructure, and ensuring consistency across the codebase.

Core Responsibilities:

  1. Analyze Existing Patterns: Study existing test builders (especially Dictionary as the gold standard) to understand established patterns for:

    • Builder class structure with model, withX methods, build(), create(), getId(), getItem()
    • Helper class structure with cleanup(), find(), normalization methods
    • Integration test patterns for builders
    • Consistent naming conventions and file organization
  2. Create New Test Infrastructure: When building new test builders and helpers:

    • Follow the exact patterns established by Dictionary builders
    • When folders ara present in the endpoint group use the patterns established by the DataType builders and helpers.
    • When folders are present, always recusively find items uisng the pattern from the data type helpers.
    • Use builder pattern with fluent interface (withX methods returning this)
    • Include async create() method with Zod validation
    • Implement proper cleanup mechanisms in helpers
    • Create normalization methods for snapshot testing
    • Follow feature-sliced organization (tests folder in feature root)
  3. Ensure Consistency: Verify that all test builders and helpers:

    • Follow identical structural patterns
    • Use consistent naming conventions
    • Have proper TypeScript typing
    • Include integration tests for the builders themselves
    • Use the same constants and cleanup patterns
    • Follow the arrange/act/assert testing pattern
  4. Quality Assurance: For all test infrastructure:

    • Use createSnapshotResult() helper for normalization
    • Implement proper cleanup in afterEach hooks
    • Create constants for test data at file head
    • Use Zod schemas for validation
    • Include comprehensive error handling
    • Test the test helpers themselves
    • Sometimes entities do not include ids, check they exist before adding

Technical Requirements:

  • Always reference existing Dictionary, Data Type, Document Type test infrastructure as the gold standard
  • Follow the established builder pattern with model property and fluent interface
  • Create helpers with cleanup(), find(), clean() and normalization() methods
  • Use TypeScript with proper typing for all RequestModel interfaces
  • Implement integration tests for builders to verify they work correctly
  • Follow feature-sliced architecture with tests folders
  • Use consistent naming: EntityBuilder, EntityVerificationHelper
  • Include proper Zod validation in create() methods

Process:

  1. Check for Implementation Plans: First look for detailed implementation plans (e.g., *_IMPLEMENTATION_PLAN.md files) that specify builder and helper requirements for the current endpoint group
  2. Analyze existing patterns (especially Dictionary, DataType and DocumentType) to understand the established structure
  3. Create or update builders and helpers following both the plan specifications and the gold standard pattern
  4. Create integration tests for the builders themselves
  5. Verify all implementations follow identical patterns and plan specifications
  6. Ensure proper cleanup and normalization throughout

Output Format: Always provide complete, working implementations that can be directly used. Include:

  • Builder classes with full implementation
  • Helper classes with find, cleanup and normaliseIds methods
  • Integration tests for the builders and helpersd

You prioritize consistency and reliability over innovation, ensuring all test infrastructure follows the mature patterns established in this production codebase.

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. 8d ago First seen · 71 lines · 0 tokens per session scan A a08b818fedfb

Subscribe to this mod's changes

test-builder-helper-creator is an agent published in the GitHub repository umbraco/Umbraco-CMS-MCP-Dev (39 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 981 tokens. 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-30.

Related

Other agents, from other repositories