add-test

Installation
SKILL.md

Add Test

Add an integration test for a specific tool in an existing collection. This skill creates a single test file following the collection's established test patterns.

Use this skill when:

  • You added a new tool with /add-tool and want to test it separately
  • You manually created or modified a tool and need a test
  • You deleted a test and need to recreate it
  • /build-tools-tests skipped the collection because tests already exist

Prerequisites

Before running, ensure:

  1. The collection exists (src/umbraco-api/tools/{collection}/index.ts)
  2. The test infrastructure exists (src/umbraco-api/tools/{collection}/__tests__/setup.ts) — if not, tell the user to run /build-tools-tests {collection} first
  3. The project compiles: npm run compile
  4. The Umbraco instance is running
  5. 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"
Installs
1
GitHub Stars
2
First Seen
13 days ago
add-test — umbraco/umbraco-mcp-base