Mcp add prompt
Add a prompt template to an MCP serverFrom its SKILL.md
npx -y skills add randyquaye/forge-mcp --skill mcp-add-promptAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, as published. Nobody here has run it
/mcp-add-prompt — Add a Prompt Template
Guide the user through adding a reusable prompt template.
Instructions
Step 1: Understand the Prompt
Ask:
- What workflow does this prompt support? (code review, debugging, data analysis, etc.)
- What arguments does it need? Parameters the AI provides when requesting the prompt.
- What messages should it generate? The conversation structure to return.
Prompts are useful for:
- Common multi-step workflows that combine reading resources and calling tools
- Providing context to the AI about how to use the server effectively
- Standardizing interaction patterns
Step 2: Design Arguments Schema
const argsSchema = z.object({
topic: z.string().describe("The topic to analyze"),
depth: z.enum(["brief", "detailed"]).default("brief").describe("Analysis depth"),
});
Step 3: Generate the Prompt
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}`,
},
},
],
};
};
Step 4: Register, Test, Verify
Register in src/index.ts with .prompt(), generate tests, run typecheck + tests.