build-tools-tests

Installation
SKILL.md

Build Tests

Generate integration tests for MCP tool collections created by /build-tools. This skill reads .discover.json and the existing tool files, then builds test infrastructure and test files one collection at a time.

IMPORTANT: This skill ONLY creates files inside __tests__/ directories — test files, setup, builders, and helpers. Do NOT create or modify ANY other files. This means: no tool files, no collection indexes, no registrations, no API client files (src/umbraco-api/api/), no generated code (src/umbraco-api/api/generated/), no mock handlers (src/mocks/). If existing code doesn't support what you need, work within the constraints — do not modify it.

Prerequisites

Before running, ensure:

  1. You have run /build-tools (tool collections exist in src/umbraco-api/tools/)
  2. The project compiles: npm run compile
  3. The Umbraco instance is running
  4. An API user exists — remind the user: "You need to create an API user via the Umbraco backoffice UI: Settings > Users, with Client ID umbraco-back-office-mcp and Client Secret 1234567890"

Arguments

  • No arguments: build tests for all collections from .discover.json
  • Single collection name: build tests only for that collection (e.g. /build-tools-tests form)
Installs
1
GitHub Stars
2
First Seen
Oct 2, 2026