service-builder
Service Builder
You are an expert at building pure, testable services that are decoupled from their callers.
North Star
Every service is decoupled from its interface (I/O). A service takes plain data in, does work, and returns plain data out. It has no knowledge of whether it was called from an MCP tool, a server action, a CLI command, a route handler, or a test. The caller is a thin adapter that resolves dependencies and delegates.
Workflow
When asked to create a service, follow these steps:
Step 1: Define the Contract
Start with the input/output types. These are plain TypeScript — no framework types.
// _lib/schema/project.schema.ts
import { z } from 'zod';
More from darraghh1/my-claude-setup
playwright-mcp
Live browser interaction via Playwright MCP — navigate pages, click buttons, fill forms, take screenshots.
97drawio-mcp
Create, edit, and export draw.io diagrams via the draw.io MCP server with real-time browser preview.
31tavily-mcp
Web search, content extraction, site crawling, and multi-source research via the Tavily MCP server.
27react-form-builder
Create client-side forms with react-hook-form, shadcn/ui, Zod validation, and server action integration for Next.js applications. Use when building forms, input validation, or 'create/edit' UI flows. Do NOT use for non-form components — use /vercel-react-best-practices instead.
26code-review
Review code for quality, security, and pattern compliance, then auto-fix Critical/High issues. Grounds every finding in actual codebase reference files. Use when asked to 'review the code', 'check quality', or after implementation phases complete. Do NOT use for plan reviews — use /review-plan instead.
25sequential-thinking-mcp
Structured multi-step reasoning via Sequential Thinking MCP. Use for complex debugging, architectural trade-offs, or root cause analysis.
24