[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75F7EBD3178RQMD7RZ3FJBA":3,"skill-same:01M75F7EBD3178RQMD7RZ3FJBA":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75F7EBD3178RQMD7RZ3FJBA","mcp-server-builder",null,"Design and ship production-ready MCP (Model Context Protocol) servers from OpenAPI contracts instead of hand-written tool wrappers. Python and TypeScript support, schema validation, safe evolution. Use when exposing an existing API as an MCP server, building tool integrations for Claude or Codex or Cursor, or scaffolding an MCP project from scratch.","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-server-builder\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: \"mcp-server-builder\"\ndescription: \"Design and ship production-ready MCP (Model Context Protocol) servers from OpenAPI contracts instead of hand-written tool wrappers. Python and TypeScript support, schema validation, safe evolution. Use when exposing an existing API as an MCP server, building tool integrations for Claude or Codex or Cursor, or scaffolding an MCP project from scratch.\"\n---\n\n# MCP Server Builder\n\n**Tier:** POWERFUL  \n**Category:** Engineering  \n**Domain:** AI \u002F API Integration\n\n## Overview\n\nUse this skill to design and ship production-ready MCP servers from API contracts instead of hand-written one-off tool wrappers. It focuses on fast scaffolding, schema quality, validation, and safe evolution.\n\nThe workflow supports both Python and TypeScript MCP implementations and treats OpenAPI as the source of truth.\n\n## Core Capabilities\n\n- Convert OpenAPI paths\u002Foperations into MCP tool definitions\n- Generate starter server scaffolds (Python or TypeScript)\n- Enforce naming, descriptions, and schema consistency\n- Validate MCP tool manifests for common production failures\n- Apply versioning and backward-compatibility checks\n- Separate transport\u002Fruntime decisions from tool contract design\n\n## When to Use\n\n- You need to expose an internal\u002Fexternal REST API to an LLM agent\n- You are replacing brittle browser automation with typed tools\n- You want one MCP server shared across teams and assistants\n- You need repeatable quality checks before publishing MCP tools\n- You want to bootstrap an MCP server from existing OpenAPI specs\n\n## Key Workflows\n\n### 1. OpenAPI to MCP Scaffold\n\n1. Start from a valid OpenAPI spec.\n2. Generate tool manifest + starter server code.\n3. Review naming and auth strategy.\n4. Add endpoint-specific runtime logic.\n\n```bash\npython3 scripts\u002Fopenapi_to_mcp.py \\\n  --input openapi.json \\\n  --server-name billing-mcp \\\n  --language python \\\n  --output-dir .\u002Fout \\\n  --format text\n```\n\nSupports stdin as well:\n\n```bash\ncat openapi.json | python3 scripts\u002Fopenapi_to_mcp.py --server-name billing-mcp --language typescript\n```\n\n### 2. Validate MCP Tool Definitions\n\nRun validator before integration tests:\n\n```bash\npython3 scripts\u002Fmcp_validator.py --input out\u002Ftool_manifest.json --strict --format text\n```\n\nChecks include duplicate names, invalid schema shape, missing descriptions, empty required fields, and naming hygiene.\n\n### 3. Runtime Selection\n\n- Choose **Python** for fast iteration and data-heavy backends.\n- Choose **TypeScript** for unified JS stacks and tighter frontend\u002Fbackend contract reuse.\n- Keep tool contracts stable even if transport\u002Fruntime changes.\n\n### 4. Auth & Safety Design\n\n- Keep secrets in env, not in tool schemas.\n- Prefer explicit allowlists for outbound hosts.\n- Return structured errors (`code`, `message`, `details`) for agent recovery.\n- Avoid destructive operations without explicit confirmation inputs.\n\n### 5. Versioning Strategy\n\n- Additive fields only for non-breaking updates.\n- Never rename tool names in-place.\n- Introduce new tool IDs for breaking behavior changes.\n- Maintain changelog of tool contracts per release.\n\n## Script Interfaces\n\n- `python3 scripts\u002Fopenapi_to_mcp.py --help`\n  - Reads OpenAPI from stdin or `--input`\n  - Produces manifest + server scaffold\n  - Emits JSON summary or text report\n- `python3 scripts\u002Fmcp_validator.py --help`\n  - Validates manifests and optional runtime config\n  - Returns non-zero exit in strict mode when errors exist\n\n## Common Pitfalls\n\n1. Tool names derived directly from raw paths (`get__v1__users___id`)\n2. Missing operation descriptions (agents choose tools poorly)\n3. Ambiguous parameter schemas with no required fields\n4. Mixing transport errors and domain errors in one opaque message\n5. Building tool contracts that expose secret values\n6. Breaking clients by changing schema keys without versioning\n\n## Best Practices\n\n1. Use `operationId` as canonical tool name when available.\n2. Keep one task intent per tool; avoid mega-tools.\n3. Add concise descriptions with action verbs.\n4. Validate contracts in CI using strict mode.\n5. Keep generated scaffold committed, then customize incrementally.\n6. Pair contract changes with changelog entries.\n\n## Reference Material\n\n- [references\u002Fopenapi-extraction-guide.md](references\u002Fopenapi-extraction-guide.md)\n- [references\u002Fpython-server-template.md](references\u002Fpython-server-template.md)\n- [references\u002Ftypescript-server-template.md](references\u002Ftypescript-server-template.md)\n- [references\u002Fvalidation-checklist.md](references\u002Fvalidation-checklist.md)\n- [README.md](README.md)\n\n## Architecture Decisions\n\nChoose the server approach per constraint:\n\n- Python runtime: faster iteration, data pipelines, backend-heavy teams\n- TypeScript runtime: shared types with JS stack, frontend-heavy teams\n- Single MCP server: easiest operations, broader blast radius\n- Split domain servers: cleaner ownership and safer change boundaries\n\n## Contract Quality Gates\n\nBefore publishing a manifest:\n\n1. Every tool has clear verb-first name.\n2. Every tool description explains intent and expected result.\n3. Every required field is explicitly typed.\n4. Destructive actions include confirmation parameters.\n5. Error payload format is consistent across all tools.\n6. Validator returns zero errors in strict mode.\n\n## Testing Strategy\n\n- Unit: validate transformation from OpenAPI operation to MCP tool schema.\n- Contract: snapshot `tool_manifest.json` and review diffs in PR.\n- Integration: call generated tool handlers against staging API.\n- Resilience: simulate 4xx\u002F5xx upstream errors and verify structured responses.\n\n## Deployment Practices\n\n- Pin MCP runtime dependencies per environment.\n- Roll out server updates behind versioned endpoint\u002Fprocess.\n- Keep backward compatibility for one release window minimum.\n- Add changelog notes for new\u002Fremoved\u002Fchanged tool contracts.\n\n## Security Controls\n\n- Keep outbound host allowlist explicit.\n- Do not proxy arbitrary URLs from user-provided input.\n- Redact secrets and auth headers from logs.\n- Rate-limit high-cost tools and add request timeouts.\n","# MCP Server Builder\n\n**Tier:** POWERFUL  \n**Category:** Engineering  \n**Domain:** AI \u002F API Integration\n\n## Overview\n\nUse this skill to design and ship production-ready MCP servers from API contracts instead of hand-written one-off tool wrappers. It focuses on fast scaffolding, schema quality, validation, and safe evolution.\n\nThe workflow supports both Python and TypeScript MCP implementations and treats OpenAPI as the source of truth.\n\n## Core Capabilities\n\n- Convert OpenAPI paths\u002Foperations into MCP tool definitions\n- Generate starter server scaffolds (Python or TypeScript)\n- Enforce naming, descriptions, and schema consistency\n- Validate MCP tool manifests for common production failures\n- Apply versioning and backward-compatibility checks\n- Separate transport\u002Fruntime decisions from tool contract design\n\n## When to Use\n\n- You need to expose an internal\u002Fexternal REST API to an LLM agent\n- You are replacing brittle browser automation with typed tools\n- You want one MCP server shared across teams and assistants\n- You need repeatable quality checks before publishing MCP tools\n- You want to bootstrap an MCP server from existing OpenAPI specs\n\n## Key Workflows\n\n### 1. OpenAPI to MCP Scaffold\n\n1. Start from a valid OpenAPI spec.\n2. Generate tool manifest + starter server code.\n3. Review naming and auth strategy.\n4. Add endpoint-specific runtime logic.\n\n```bash\npython3 scripts\u002Fopenapi_to_mcp.py \\\n  --input openapi.json \\\n  --server-name billing-mcp \\\n  --language python \\\n  --output-dir .\u002Fout \\\n  --format text\n```\n\nSupports stdin as well:\n\n```bash\ncat openapi.json | python3 scripts\u002Fopenapi_to_mcp.py --server-name billing-mcp --language typescript\n```\n\n### 2. Validate MCP Tool Definitions\n\nRun validator before integration tests:\n\n```bash\npython3 scripts\u002Fmcp_validator.py --input out\u002Ftool_manifest.json --strict --format text\n```\n\nChecks include duplicate names, invalid schema shape, missing descriptions, empty required fields, and naming hygiene.\n\n### 3. Runtime Selection\n\n- Choose **Python** for fast iteration and data-heavy backends.\n- Choose **TypeScript** for unified JS stacks and tighter frontend\u002Fbackend contract reuse.\n- Keep tool contracts stable even if transport\u002Fruntime changes.\n\n### 4. Auth & Safety Design\n\n- Keep secrets in env, not in tool schemas.\n- Prefer explicit allowlists for outbound hosts.\n- Return structured errors (`code`, `message`, `details`) for agent recovery.\n- Avoid destructive operations without explicit confirmation inputs.\n\n### 5. Versioning Strategy\n\n- Additive fields only for non-breaking updates.\n- Never rename tool names in-place.\n- Introduce new tool IDs for breaking behavior changes.\n- Maintain changelog of tool contracts per release.\n\n## Script Interfaces\n\n- `python3 scripts\u002Fopenapi_to_mcp.py --help`\n  - Reads OpenAPI from stdin or `--input`\n  - Produces manifest + server scaffold\n  - Emits JSON summary or text report\n- `python3 scripts\u002Fmcp_validator.py --help`\n  - Validates manifests and optional runtime config\n  - Returns non-zero exit in strict mode when errors exist\n\n## Common Pitfalls\n\n1. Tool names derived directly from raw paths (`get__v1__users___id`)\n2. Missing operation descriptions (agents choose tools poorly)\n3. Ambiguous parameter schemas with no required fields\n4. Mixing transport errors and domain errors in one opaque message\n5. Building tool contracts that expose secret values\n6. Breaking clients by changing schema keys without versioning\n\n## Best Practices\n\n1. Use `operationId` as canonical tool name when available.\n2. Keep one task intent per tool; avoid mega-tools.\n3. Add concise descriptions with action verbs.\n4. Validate contracts in CI using strict mode.\n5. Keep generated scaffold committed, then customize incrementally.\n6. Pair contract changes with changelog entries.\n\n## Reference Material\n\n- [references\u002Fopenapi-extraction-guide.md](references\u002Fopenapi-extraction-guide.md)\n- [references\u002Fpython-server-template.md](references\u002Fpython-server-template.md)\n- [references\u002Ftypescript-server-template.md](references\u002Ftypescript-server-template.md)\n- [references\u002Fvalidation-checklist.md](references\u002Fvalidation-checklist.md)\n- [README.md](README.md)\n\n## Architecture Decisions\n\nChoose the server approach per constraint:\n\n- Python runtime: faster iteration, data pipelines, backend-heavy teams\n- TypeScript runtime: shared types with JS stack, frontend-heavy teams\n- Single MCP server: easiest operations, broader blast radius\n- Split domain servers: cleaner ownership and safer change boundaries\n\n## Contract Quality Gates\n\nBefore publishing a manifest:\n\n1. Every tool has clear verb-first name.\n2. Every tool description explains intent and expected result.\n3. Every required field is explicitly typed.\n4. Destructive actions include confirmation parameters.\n5. Error payload format is consistent across all tools.\n6. Validator returns zero errors in strict mode.\n\n## Testing Strategy\n\n- Unit: validate transformation from OpenAPI operation to MCP tool schema.\n- Contract: snapshot `tool_manifest.json` and review diffs in PR.\n- Integration: call generated tool handlers against staging API.\n- Resilience: simulate 4xx\u002F5xx upstream errors and verify structured responses.\n\n## Deployment Practices\n\n- Pin MCP runtime dependencies per environment.\n- Roll out server updates behind versioned endpoint\u002Fprocess.\n- Keep backward compatibility for one release window minimum.\n- Add changelog notes for new\u002Fremoved\u002Fchanged tool contracts.\n\n## Security Controls\n\n- Keep outbound host allowlist explicit.\n- Do not proxy arbitrary URLs from user-provided input.\n- Redact secrets and auth headers from logs.\n- Rate-limit high-cost tools and add request timeouts.\n",{"name":5,"description":7},"main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Fmcp-server-builder",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add agisota\u002Fold-one --skill mcp-server-builder",{"tool":38,"command":39},"bunx","bunx skills add agisota\u002Fold-one --skill mcp-server-builder",{"tool":41,"command":42},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill mcp-server-builder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-server-builder\u002FSKILL.md",true,[],[47,54,61,70,77,84],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]