[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72336CK6JF3KXQNQP6H8XXY":3,"skill-same:01M72336CK6JF3KXQNQP6H8XXY":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M72336CK6JF3KXQNQP6H8XXY","askit-build-mcp",null,"Creates and improves MCP server definitions (a portable .mcp.json) for a plugin to the Advanced Skill Library Standard. Use when you need to add an MCP server to a plugin, author or extend .mcp.json, or wire the per-target mcpServers manifest pointer.","product-on-purpose\u002Fagent-skills-toolkit","product-on-purpose","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F253892650?v=4","01M7230Q4442AHBADCVFJCS277","Product on Purpose","01M7230Q4SFDBKY7586D5M7EFX",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: askit-build-mcp\ndescription: Creates and improves MCP server definitions (a portable .mcp.json) for a plugin to the Advanced Skill Library Standard. Use when you need to add an MCP server to a plugin, author or extend .mcp.json, or wire the per-target mcpServers manifest pointer.\nmetadata:\n  version: 0.1.0\n  tier: universal\n  audience: advanced\n---\n\n# askit-build-mcp\n\n## Purpose\nAuthor the plugin's MCP servers as one portable `.mcp.json` at the plugin root (the standard `{ \"mcpServers\": { ... } }` format) and wire the per-target `mcpServers` manifest pointer. Two modes: `create` adds a server; `improve` fixes findings. MCP is Universal-tier: the server definition is portable and both Claude and Codex ingest a bundled `.mcp.json` referenced by the native manifest's `mcpServers` pointer (Standard sec 3.9). Authoring depth is in [references\u002Fauthoring-mcp.md](references\u002Fauthoring-mcp.md). Follows the shared builder contract ([..\u002F..\u002Fdocs\u002Freference\u002Fbuilder-pattern.md](..\u002F..\u002Fdocs\u002Freference\u002Fbuilder-pattern.md)).\n\n## When to use\nWhen the user asks to add, scaffold, author, or improve an MCP server (tools, resources, or prompts via the Model Context Protocol) for a plugin.\n\n## create mode\n1. Brief interview: server name (kebab-case), transport (`stdio` or `http`), the `command` plus `args` (stdio) or the `url` (http), and any secrets as an env-var NAME (never an inline value). Skip the interview if these are already in context.\n2. Author or extend the root `.mcp.json`: add the server under `mcpServers`. Copy `templates\u002Fmcp.json` if the file does not exist yet.\n3. Register the server in `library.json` `components.mcpServers` as `{ name, version, tier, status }`.\n4. Wire the per-target pointer: run `node scripts\u002Fgenerators\u002Fgen-manifest.mjs \u003Cplugin-root> --write --target=all`. Each native manifest gains `\"mcpServers\": \".\u002F.mcp.json\"`.\n5. Assess with `node scripts\u002Fevaluate.mjs . --json` and iterate to 0 errors (mcp-valid, the S3 components index, and the S6 per-target pointer).\n\n## improve mode\n1. Run `node scripts\u002Fevaluate.mjs . --json` and read the report.\n2. For each finding: a malformed server (mcp-valid) -> add the missing `command` or `url`; a committed secret (mcp-valid) -> replace the inline value with an env-var reference or `bearer_token_env_var`; a missing pointer (S6) -> regenerate the manifests; an undeclared server (S3) -> add it to `components.mcpServers`. For any other finding, read its message and apply the fix it states.\n3. Re-run evaluate to confirm.\n\n## Scope\nThe root `.mcp.json` is the single authored source; the manifest pointers are generated, so never hand-edit a generated manifest. Secrets MUST be referenced from the environment, never committed (Standard sec 9). MCP is the one plugin-distributable component both agents ingest, and emission is just the manifest-pointer wiring (no per-type render engine, per the builder pattern).\n","# askit-build-mcp\n\n## Purpose\nAuthor the plugin's MCP servers as one portable `.mcp.json` at the plugin root (the standard `{ \"mcpServers\": { ... } }` format) and wire the per-target `mcpServers` manifest pointer. Two modes: `create` adds a server; `improve` fixes findings. MCP is Universal-tier: the server definition is portable and both Claude and Codex ingest a bundled `.mcp.json` referenced by the native manifest's `mcpServers` pointer (Standard sec 3.9). Authoring depth is in [references\u002Fauthoring-mcp.md](references\u002Fauthoring-mcp.md). Follows the shared builder contract ([..\u002F..\u002Fdocs\u002Freference\u002Fbuilder-pattern.md](..\u002F..\u002Fdocs\u002Freference\u002Fbuilder-pattern.md)).\n\n## When to use\nWhen the user asks to add, scaffold, author, or improve an MCP server (tools, resources, or prompts via the Model Context Protocol) for a plugin.\n\n## create mode\n1. Brief interview: server name (kebab-case), transport (`stdio` or `http`), the `command` plus `args` (stdio) or the `url` (http), and any secrets as an env-var NAME (never an inline value). Skip the interview if these are already in context.\n2. Author or extend the root `.mcp.json`: add the server under `mcpServers`. Copy `templates\u002Fmcp.json` if the file does not exist yet.\n3. Register the server in `library.json` `components.mcpServers` as `{ name, version, tier, status }`.\n4. Wire the per-target pointer: run `node scripts\u002Fgenerators\u002Fgen-manifest.mjs \u003Cplugin-root> --write --target=all`. Each native manifest gains `\"mcpServers\": \".\u002F.mcp.json\"`.\n5. Assess with `node scripts\u002Fevaluate.mjs . --json` and iterate to 0 errors (mcp-valid, the S3 components index, and the S6 per-target pointer).\n\n## improve mode\n1. Run `node scripts\u002Fevaluate.mjs . --json` and read the report.\n2. For each finding: a malformed server (mcp-valid) -> add the missing `command` or `url`; a committed secret (mcp-valid) -> replace the inline value with an env-var reference or `bearer_token_env_var`; a missing pointer (S6) -> regenerate the manifests; an undeclared server (S3) -> add it to `components.mcpServers`. For any other finding, read its message and apply the fix it states.\n3. Re-run evaluate to confirm.\n\n## Scope\nThe root `.mcp.json` is the single authored source; the manifest pointers are generated, so never hand-edit a generated manifest. Secrets MUST be referenced from the environment, never committed (Standard sec 9). MCP is the one plugin-distributable component both agents ingest, and emission is just the manifest-pointer wiring (no per-type render engine, per the builder pattern).\n",{"name":5,"metadata":24,"description":7},{"tier":25,"version":26,"audience":27},"universal","0.1.0","advanced","main","b0a696723b1155d08503a8441c981998f9d13c34","skills\u002Faskit-build-mcp",0,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit","https:\u002F\u002Fproduct-on-purpose.github.io\u002Fagent-skills-toolkit","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose","2026-11-14 15:02:57",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add product-on-purpose\u002Fagent-skills-toolkit --skill askit-build-mcp",{"tool":42,"command":43},"bunx","bunx skills add product-on-purpose\u002Fagent-skills-toolkit --skill askit-build-mcp",{"tool":45,"command":46},"pnpm","pnpm dlx skills add product-on-purpose\u002Fagent-skills-toolkit --skill askit-build-mcp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002FSKILL.md",true,[50,56,60,66,70,74,78,82,86],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Fanti-nonexistent-server-file.md","REFERENCE","参考文档",7272,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002Fexamples\u002Fanti-nonexistent-server-file.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"examples\u002Fgolden-1-stdio-server.md",7302,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002Fexamples\u002Fgolden-1-stdio-server.md",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"examples\u002Fgolden-1-stdio-server.mjs","SCRIPT","脚本",2852,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002Fexamples\u002Fgolden-1-stdio-server.mjs",{"path":67,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":68,"sourceHtmlUrl":69},"examples\u002Fgolden-2-http-server.md",8458,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002Fexamples\u002Fgolden-2-http-server.md",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"examples\u002Fgolden-2-http-server.mjs",3654,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002Fexamples\u002Fgolden-2-http-server.mjs",{"path":75,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":76,"sourceHtmlUrl":77},"examples\u002Fgolden-3-resources-server.md",8716,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002Fexamples\u002Fgolden-3-resources-server.md",{"path":79,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":80,"sourceHtmlUrl":81},"examples\u002Fgolden-3-resources-server.mjs",4033,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002Fexamples\u002Fgolden-3-resources-server.mjs",{"path":83,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":84,"sourceHtmlUrl":85},"README.md",657,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002FREADME.md",{"path":87,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fauthoring-mcp.md",10840,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Faskit-build-mcp\u002Freferences\u002Fauthoring-mcp.md",[91,98,103,108,115,122],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M723BRSVFQ2KRQ8KKY42R6XB","fx-demo","A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests\u002Funit\u002Fself-consistency.test.mjs.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fself-consistency\u002Frepaired\u002Fskills\u002Ffx-demo\u002FSKILL.md",[],[],{"skillNo":99,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M723BPZ1NQDZSEF21D3YP2VF","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fself-consistency\u002Fpre-fix\u002Fskills\u002Ffx-demo\u002FSKILL.md",[],[],{"skillNo":104,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M723BNCZXT3BM577HJYESV08","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fself-consistency\u002Fbody-drift\u002Fskills\u002Ffx-demo\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M723BKWKX9JG10YQ6NK79ZB6","sf-caller","Calls the worker subagent to do a thing. Use when delegating work to sf-worker.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgolden\u002Fsubagent-fixture\u002Fskills\u002Fsf-caller\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":19},"01M723BJNDZHEJTNBJP6ZJA8WM","sf-do-thing","Converts CSV input into a formatted summary. Use when the user asks to summarize or tabulate spreadsheet data.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgolden\u002Fsilver-fixture\u002Fskills\u002Fsf-do-thing\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":19},"01M723BH7BYXT0A05PG6QH6B98","root-skill-plugin","Summarizes a changelog section into one release-note sentence. Use when the user asks to condense a list of changelog bullets into a single announcement line.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgolden\u002Froot-skill-plugin\u002FSKILL.md",[],[]]