skills/create-verifier-skills/SKILL.md
Prompt for creating verifier skills for the Verify agent to automatically verify code changes
npx skillsauth add mkusaka/ccskills create-verifier-skillsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use the ${ENABLE_TASKS_FEATURE()?TASKCREATE_TOOL_NAME:TODOWRITE_TOOL_NAME} tool to track your progress through this multi-step task.
Create one or more verifier skills that can be used by the Verify agent to automatically verify code changes in this project or folder. You may create multiple verifiers if the project has different verification needs (e.g., both web UI and API endpoints).
Do NOT create verifiers for unit tests or typechecking. Those are already handled by the standard build/test workflow and don't need dedicated verifier skills. Focus on functional verification: web UI (Playwright), CLI (Tmux), and API (HTTP) verifiers.
Analyze the project to detect what's in different subdirectories. The project may contain multiple sub-projects or areas that need different verification approaches (e.g., a web frontend, an API backend, and shared libraries all in one repo).
Scan top-level directories to identify distinct project areas:
For each area, detect:
a. Project type and stack
b. Application type
c. Existing verification tools
d. Dev server configuration
Installed verification packages (for web apps)
Based on what was detected in Phase 1, help the user set up appropriate verification tools.
If browser automation tools are already installed/configured, ask the user which one they want to use:
If NO browser automation tools are detected, ask if they want to install/configure one:
If user chooses to install Playwright, run the appropriate command based on package manager:
npm install -D @playwright/test && npx playwright installyarn add -D @playwright/test && yarn playwright installpnpm add -D @playwright/test && pnpm exec playwright installbun add -D @playwright/test && bun playwright installIf user chooses Chrome DevTools MCP or Claude Chrome Extension:
MCP Server Setup (if applicable):
which asciinema)http command)Based on the areas detected in Phase 1, you may need to create multiple verifiers. For each distinct area, use the AskUserQuestion tool to confirm:
Verifier name - Based on detection, suggest a name but let user choose:
If there is only ONE project area, use the simple format:
If there are MULTIPLE project areas, use the format verifier-<project>-<type>:
The <project> portion should be a short identifier for the subdirectory or project area (e.g., the folder name or package name).
Custom names are allowed but MUST include "verifier" in the name — the Verify agent discovers skills by looking for "verifier" in the folder name.
Project-specific questions based on type:
For web apps (playwright):
For CLI tools:
For APIs:
Authentication & Login (for web apps and APIs):
Use AskUserQuestion to ask: "Does your app require authentication/login to access the pages or endpoints being verified?"
If the user selects login required (or partial), ask follow-up questions:
TEST_USER, TEST_PASSWORD) rather than hardcodingAll verifier skills are created in the project root's .claude/skills/ directory. This ensures they are automatically loaded when Claude runs in the project.
Write the skill file to .claude/skills/<verifier-name>/SKILL.md.
---
name: <verifier-name>
description: <description based on type>
allowed-tools:
# Tools appropriate for the verifier type
---
# <Verifier Title>
You are a verification executor. You receive a verification plan and execute it EXACTLY as written.
## Project Context
<Project-specific details from detection>
## Setup Instructions
<How to start any required services>
## Authentication
<If auth is required, include step-by-step login instructions here>
<Include login URL, credential env vars, and post-login verification>
<If no auth needed, omit this section>
## Reporting
Report PASS or FAIL for each step using the format specified in the verification plan.
## Cleanup
After verification:
1. Stop any dev servers started
2. Close any browser sessions
3. Report final summary
## Self-Update
If verification fails because this skill's instructions are outdated (dev server command/port/ready-signal changed, etc.) — not because the feature under test is broken — or if the user corrects you mid-run, use AskUserQuestion to confirm and then Edit this SKILL.md with a minimal targeted fix.
verifier-playwright:
allowed-tools:
- Bash(npm *)
- Bash(yarn *)
- Bash(pnpm *)
- Bash(bun *)
- mcp__playwright__*
- Read
- Glob
- Grep
verifier-cli:
allowed-tools:
- Tmux
- Bash(asciinema *)
- Read
- Glob
- Grep
verifier-api:
allowed-tools:
- Bash(curl *)
- Bash(http *)
- Bash(npm *)
- Bash(yarn *)
- Read
- Glob
- Grep
After writing the skill file(s), inform the user:
.claude/skills/)development
Shape-specific /design-sync instructions for syncing a React design system from Storybook stories and built package output
development
Skill definition for syncing a React design system to claude.ai/design, including project selection, source-shape detection, converter configuration, validation, upload planning, and self-check behavior
development
Shape-specific /design-sync instructions for syncing a React design system from a built package without Storybook
development
Skill instructions for answering Claude Code configuration questions by checking the running build, bundled references, and current documentation