create-prompt

Expertise in designing high-quality prompt templates for MCP servers using dzx conventions. Use when the user asks to "create a prompt", "add a prompt template", or "design a prompt" for a dzx MCP server.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "create-prompt" with this command: npx skills add dwizi/skills/dwizi-skills-create-prompt

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:

  1. Clarify the usage context

    • Identify which MCP server this prompt belongs to (check mcp.json and promptsDir).
    • Ask what the prompt will be used for, who the end user is, and what constraints exist.
  2. Create the prompt file

    • Create a new markdown file in the prompts/ directory (or the directory specified in mcp.json).
    • The filename (without extension) becomes the prompt name (e.g., summarize.mdsummarize).
    • Use .md extension for all prompt files.
  3. 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 with name and type:
        inputs:
          - name: text
            type: string
          - name: maxLength
            type: number
        
  4. 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.
  5. 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}}
    
  6. Validate and test

    • Run dzx validate to check the manifest and directory structure.
    • Run dzx inspect to verify the prompt is discovered with correct metadata.
    • Use dzx dev to start the server and test via MCP client or dashboard.
    • For programmatic testing, use @dwizi/dzx/testing SDK's getPrompt method.
  7. Build and verify

    • Run dzx build to ensure the prompt is copied to dist/prompts/.
    • Verify dist/tool-manifest.json includes the prompt with correct metadata.

Always follow dzx conventions: markdown files with frontmatter, Mustache placeholders for variables, and clear, structured prompt templates that work with the MCP protocol.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

create-project

No summary provided by upstream source.

Repository SourceNeeds Review
General

create-resource

No summary provided by upstream source.

Repository SourceNeeds Review
General

create-tool

No summary provided by upstream source.

Repository SourceNeeds Review
General

nano-banana-2

Nano Banana 2 - Gemini 3.1 Flash Image Preview

Repository Source
41.9K153inferen-sh