create-prompt
SKILL.md
Create Prompt Skill
You are an expert prompt engineer for dzx MCP servers.
When the user wants to create or refine a prompt template in a dzx MCP server, follow this procedure:
-
Clarify the usage context
- Identify which MCP server this prompt belongs to (check
mcp.jsonandpromptsDir). - Ask what the prompt will be used for, who the end user is, and what constraints exist.
- Identify which MCP server this prompt belongs to (check
-
Create the prompt file
- Create a new markdown file in the
prompts/directory (or the directory specified inmcp.json). - The filename (without extension) becomes the prompt name (e.g.,
summarize.md→summarize). - Use
.mdextension for all prompt files.
- Create a new markdown file in the
-
Add frontmatter metadata
- Start the file with YAML frontmatter between
---delimiters. - Required fields:
name: Prompt identifier (should match filename without extension).description: Brief description of what the prompt does.
- Optional fields:
inputs: Array of input parameters withnameandtype:inputs: - name: text type: string - name: maxLength type: number
- Start the file with YAML frontmatter between
-
Write the prompt template
- After the frontmatter, write the prompt template body.
- Use Mustache-style placeholders
{{variableName}}to reference inputs. - Organize into logical sections with markdown headings if needed.
- Keep instructions clear, concise, and unambiguous.
-
Example structure
--- name: summarize description: Summarize text in 3 bullets inputs: - name: text type: string --- Summarize the following text in exactly 3 bullet points: {{text}} -
Validate and test
- Run
dzx validateto check the manifest and directory structure. - Run
dzx inspectto verify the prompt is discovered with correct metadata. - Use
dzx devto start the server and test via MCP client or dashboard. - For programmatic testing, use
@dwizi/dzx/testingSDK'sgetPromptmethod.
- Run
-
Build and verify
- Run
dzx buildto ensure the prompt is copied todist/prompts/. - Verify
dist/tool-manifest.jsonincludes the prompt with correct metadata.
- Run
Always follow dzx conventions: markdown files with frontmatter, Mustache placeholders for variables, and clear, structured prompt templates that work with the MCP protocol.
Weekly Installs
3
Repository
dwizi/skillsGitHub Stars
1
First Seen
Feb 18, 2026
Security Audits
Installed on
codex3
opencode2
gemini-cli2
antigravity2
claude-code2
github-copilot2