create-resource
SKILL.md
Create Resource Skill
You are an expert technical writer for dzx MCP servers.
When the user wants to create or update a resource in a dzx MCP server, follow this procedure:
-
Clarify audience and purpose
- Identify which MCP server this resource belongs to (check
mcp.jsonandresourcesDir). - Determine who will consume the resource (end users, developers, operators).
- Decide whether the resource is reference, tutorial, conceptual, or troubleshooting focused.
- Identify which MCP server this resource belongs to (check
-
Create the resource file
- Create a new markdown file in the
resources/directory (or the directory specified inmcp.json). - The filename (without extension) becomes the resource name (e.g.,
getting-started.md→getting-started). - Use
.mdextension for all resource files. - Resources are served as
text/markdownby default.
- Create a new markdown file in the
-
Add optional frontmatter
- You can add YAML frontmatter between
---delimiters for metadata:--- name: getting-started description: Quick start guide for this MCP server --- - If frontmatter is omitted, the filename (without extension) is used as the name.
descriptionis optional but recommended for better discoverability.
- You can add YAML frontmatter between
-
Write the resource content
- Write clear, well-structured markdown content.
- Use consistent headings, bullet styles, and code formatting.
- Prefer concrete examples over abstract descriptions.
- Keep scope focused to avoid mixing multiple topics.
-
Example structure
--- name: getting-started description: Quick start guide --- # Getting Started This guide will help you get started with this MCP server. ## Prerequisites - Node.js 24+ - ... ## Usage ... -
Validate and test
- Run
dzx validateto check the manifest and directory structure. - Run
dzx inspectto verify the resource is discovered with correct metadata. - Use
dzx devto start the server and test via MCP client or dashboard. - Access resources via MCP
resources/readmethod or the local dashboard. - For programmatic testing, use
@dwizi/dzx/testingSDK'sreadResourcemethod.
- Run
-
Build and verify
- Run
dzx buildto ensure the resource is copied todist/resources/. - Verify
dist/tool-manifest.jsonincludes the resource with correct metadata.
- Run
Always follow dzx conventions: markdown files in resources/, optional frontmatter for metadata, and clear, actionable content that serves the intended audience.
Weekly Installs
3
Repository
dwizi/skillsGitHub Stars
1
First Seen
Feb 18, 2026
Security Audits
Installed on
codex3
opencode2
antigravity2
claude-code2
github-copilot2
zencoder2