How this skill is triggered — by the user, by Claude, or both
Slash command
/forge-mcp:mcp-add-promptThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guide the user through adding a reusable prompt template.
Guide the user through adding a reusable prompt template.
Ask:
Prompts are useful for:
const argsSchema = z.object({
topic: z.string().describe("The topic to analyze"),
depth: z.enum(["brief", "detailed"]).default("brief").describe("Analysis depth"),
});
Create src/prompts/<name>.ts:
import { z } from "zod";
export const <name>Args = z.object({
// ... schema
});
export function <name>Handler(args: z.infer<typeof <name>Args>) {
return {
description: "Description of what this prompt does",
messages: [
{
role: "user",
content: {
type: "text",
text: `Your prompt text using ${args.topic}`,
},
},
],
};
};
Register in src/index.ts with .prompt(), generate tests, run typecheck + tests.
npx claudepluginhub randyquaye/forge-mcp --plugin forge-mcpScaffolds an MCP prompt template file with proper registration pattern for the @cyanheads/mcp-ts-core framework.
Guides configuration and usage of MCP (Model Context Protocol) servers in Claude Code via CLI commands and .mcp.json files, covering HTTP/SSE/stdio transports, scopes, env vars, and 300+ external tools.
Guides building MCP (Model Context Protocol) servers in Python and TypeScript to give Claude new tools, resources, and prompts.