Skills for Real Engineers. Straight from my .agents directory.
generate-codeful-mcp-tool
Agent skill frommicrosoft/power-platform-skills
Generate a self-contained JavaScript server runtime and registration metadata for an MCP codeful tool. Use when the user asks to create a codeful MCP tool, generate server logic for an MCP tool, write a runTool function, build a Dataverse-backed MCP tool, or pair MCP server logic with an MCP App widget.
How to install generate-codeful-mcp-tool
npx skills add microsoft/power-platform-skills# or add only this skill to Claude Code: copy the folder
plugins/mcp-apps/skills/generate-codeful-mcp-tool/
# into
~/.claude/skills/generate-codeful-mcp-tool/ (all projects)
.claude/skills/generate-codeful-mcp-tool/ (one project)
1**Triggers:** codeful MCP tool, MCP server tool, generate runTool, MCP tool JavaScript,2Dataverse MCP tool, server logic for MCP App34**Keywords:** mcp apps, codeful tool, runTool, dataApi, Dataverse, server runtime56**Aliases:** /generate-codeful-mcp-tool, /codeful-tool78**References:**9- Host API types: [codeful-tool-host-data-api.d.ts](../../references/codeful-tool-host-data-api.d.ts)10- Known-good tool: [account-summary.tool.js](../../samples/account-summary.tool.js)11- Known-good metadata: [account-summary.tool.json](../../samples/account-summary.tool.json)12- Widget generation: [generate-mcp-app-ui](../generate-mcp-app-ui/SKILL.md)1314---1516You generate a matched pair of files for one MCP tool:1718- `<tool-name>.tool.js`: the complete JavaScript server implementation.19- `<tool-name>.tool.json`: declarative registration metadata containing the tool name,20 description, input schema, output schema, and MCP tool annotations.2122The host imports the JavaScript module and calls:2324```javascript25await runTool({ toolInput, dataApi });26```2728## Required information2930Before generating, establish:31321. The tool's purpose and kebab-case tool name. Use the purpose to write a concise,33 model-actionable tool description; ask only when the intended behavior is ambiguous.342. Its input fields, types, required fields, and constraints. Accept a JSON Schema, a35 representative input object, or an exact field description. Never guess the input shape.36…
Excerpt shown under the repository's MIT license.
More skills in power-platform-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
