[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABHHK6SKPSC6W8JRG6KY3P":3,"skill-same:01M7ABHHK6SKPSC6W8JRG6KY3P":48},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7ABHHK6SKPSC6W8JRG6KY3P","mcp-planning",null,"Plan: MCP SDK v2 design decisions before implementation; mcp-router owns workflows, mcp-server and mcp-client own builds.","j0hanz\u002Fj0hanz-marketplace","j0hanz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F159924955?v=4","01M7ABFK415CKHXYV9GZRJ16T7","Linus Johansson","01M7ABFK52FCPP2PNBH1YR7ZPA",0,"MIT","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fmcp-hub\u002Fskills\u002Fmcp-planning\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mcp-planning\ndescription: 'Plan: MCP SDK v2 design decisions before implementation; mcp-router owns workflows, mcp-server and mcp-client own builds.'\nuser-invocable: false\nmetadata:\n  category: technique\n---\n\n# MCP Planning\n\n**Decide-first.** Record implementation choices before write MCP server or client code.\n\n## Steps\n\n1. **Inspect project**: Find every `@modelcontextprotocol\u002F` dependency and import. v2 use several scoped packages, so inspect each rather than search one package name.\n\n   **Done:** Existing MCP code, dependencies, schema libraries, runtime constraints identified.\n\n2. **Resolve decision set**: Evaluate every trigger in [Decisions](#decisions). Ask about each triggered decision; apply stated default to every other decision.\n\n   **Done:** All 16 decisions have explicit value, every remote HTTP Auth value explicit, every non-default value traced to question.\n\n3. **Ask tight**: Ask one triggered question per turn. Offer two stated choices; Auth ask its access gate first, three method choices only when authenticated, Era has three choices. Re-ask one vague answer, then use first listed choice. Treat \"you choose\" as that default choice.\n\n   **Done:** Each asked decision has one unambiguous selected value.\n\n4. **Write record**: List all 16 decisions in [record format](#record-format), mark each `(asked)` or `(default)`.\n\n   **Done:** Record exhaustive, every entry carries one source tag.\n\n5. **Append dated section**: Add completed record to `docs\u002Fmcp-decisions.md`, create when absent, preserve every earlier dated section.\n\n   **Done:** `docs\u002Fmcp-decisions.md` has new complete dated section, prior sections unchanged.\n\n6. **Present result**: Show completed record before implementation begins.\n\n   **Done:** User has exact recorded decisions guiding implementation.\n\n## Decisions\n\n1. **Scope** (default `server`) — Ask when codebase not establish server versus client. Choices: Server | Client.\n2. **Transport** (default `stdio`) — Ask for remote, multi-user, or deployed use. Choices: stdio | Streamable HTTP. **Gotcha:** current SSE and WebSocket transports absent; frozen SSE remains at `@modelcontextprotocol\u002Fserver-legacy\u002Fsse`.\n3. **Auth** (default `none` for local or stdio use) — For every remote HTTP deployment, ask: Authenticated | Private no-auth. Record `none` only for explicit private deployment; public endpoints use [mcp-auth](..\u002Fmcp-auth\u002FSKILL.md). When authenticated, choose: OAuth (client `OAuthClientProvider`; server `requireBearerAuth`) | Custom bearer (client `AuthProvider`; server `verifyAccessToken`) | Legacy authorization-server helpers (`server-legacy\u002Fauth`) | Machine auth (client `ClientCredentialsProvider` for `client_credentials` grant, `PrivateKeyJwtProvider` for `private_key_jwt` (RFC 7523), or `CrossAppAccessProvider` for cross-app access (SEP-990); for non-human callers such as jobs, backends, service accounts). **Gotchas:** token endpoints require `https:` except loopback (`InsecureTokenEndpointError`, SEP-2207); key credentials by `ctx.issuer` (SEP-2352).\n4. **Tool Surface** (default `Few simple`) — Ask for more than three tools or complex operations. Choices: Many simple | Few big with settings.\n5. **Input Schemas** (default Standard Schema via `zod ^4.2.0`) — Silently retain project's existing Standard Schema library; otherwise use zod. Use `fromJsonSchema()` only for existing raw JSON Schema.\n6. **Interaction** (default `Request-response`) — Ask for long-running work or required user input. Choices: Progress\u002FCancel | Multi-round-trip.\n7. **Prompts** (default `None`) — Ask for reusable or UI-integrated prompts. Choices: Static | Completable.\n8. **Error Strategy** (default `Protocol errors only`) — Apply without question.\n9. **Distribution** (default `Local`) — Ask for publishing or sharing. Choices: npm | Local.\n10. **Testing** (default `1 test per tool`) — Apply without question.\n11. **Session\u002FResumability** (default `Stateless`) — Ask when HTTP need multi-request client state. Choices: Stateless | `EventStore`-backed resumable sessions.\n12. **Notifications** (default `None`) — Ask when clients need list or data change updates. Choices: `subscriptions\u002Flisten` stream | None.\n13. **Era \u002F Protocol Revision** (default both eras, `legacy: 'stateless'`) — Ask only when modern 2026 behavior required. **Three choices:** Both eras (`legacy: 'stateless'`) | Modern only (`legacy: 'reject'`) | 2025-era only (hand-wired `*StreamableHTTPServerTransport`; no `createMcpHandler` or `legacy:` setting).\n14. **Runtime** (default Node ≥20, ESM-first) — Apply without question; v2 also ships CommonJS build.\n15. **Staging** (default `one-shot`) — Ask when large, multi-directory codebase already uses SDK v1. Choices: one-shot | stage by directory. Execute selected posture in [mcp-migration](..\u002Fmcp-migration\u002FSKILL.md) step 1.\n16. **Elicitation** (default `None`) — Ask when handler must question end user mid-call. Choices: `ctx.mcpReq.elicitInput` (form mode with `requestedSchema`, or URL mode with `url` + `elicitationId`; client must declare matching `elicitation` capability) | None. For tools\u002Fcall, prompts\u002Fget, and resources\u002Fread handlers requesting input mid-call on older protocol revisions where `elicitInput` throws, return `input_required` result type instead.\n\n## Record Format\n\nAppend dated section to `docs\u002Fmcp-decisions.md` listing every decision:\n\n```markdown\n# MCP Decision Record — YYYY-MM-DD\n\n1. Scope: server exposing 4 tools. (asked)\n2. Transport: stdio. (default)\n3. Auth: none. (default)\n4. Tool Surface: few simple tools. (default)\n5. Input Schemas: zod ^4.2.0. (default)\n6. Interaction: request-response. (default)\n7. Prompts: none. (default)\n8. Error Strategy: protocol errors only. (default)\n9. Distribution: local. (default)\n10. Testing: 1 test per tool. (default)\n11. Session\u002FResumability: stateless. (default)\n12. Notifications: none. (default)\n13. Era \u002F Protocol Revision: both eras (legacy: 'stateless'). (default)\n14. Runtime: Node ≥ 20, ESM-first. (default)\n15. Staging: one-shot. (default)\n16. Elicitation: none. (default)\n```\n","# MCP Planning\n\n**Decide-first.** Record implementation choices before write MCP server or client code.\n\n## Steps\n\n1. **Inspect project**: Find every `@modelcontextprotocol\u002F` dependency and import. v2 use several scoped packages, so inspect each rather than search one package name.\n\n   **Done:** Existing MCP code, dependencies, schema libraries, runtime constraints identified.\n\n2. **Resolve decision set**: Evaluate every trigger in [Decisions](#decisions). Ask about each triggered decision; apply stated default to every other decision.\n\n   **Done:** All 16 decisions have explicit value, every remote HTTP Auth value explicit, every non-default value traced to question.\n\n3. **Ask tight**: Ask one triggered question per turn. Offer two stated choices; Auth ask its access gate first, three method choices only when authenticated, Era has three choices. Re-ask one vague answer, then use first listed choice. Treat \"you choose\" as that default choice.\n\n   **Done:** Each asked decision has one unambiguous selected value.\n\n4. **Write record**: List all 16 decisions in [record format](#record-format), mark each `(asked)` or `(default)`.\n\n   **Done:** Record exhaustive, every entry carries one source tag.\n\n5. **Append dated section**: Add completed record to `docs\u002Fmcp-decisions.md`, create when absent, preserve every earlier dated section.\n\n   **Done:** `docs\u002Fmcp-decisions.md` has new complete dated section, prior sections unchanged.\n\n6. **Present result**: Show completed record before implementation begins.\n\n   **Done:** User has exact recorded decisions guiding implementation.\n\n## Decisions\n\n1. **Scope** (default `server`) — Ask when codebase not establish server versus client. Choices: Server | Client.\n2. **Transport** (default `stdio`) — Ask for remote, multi-user, or deployed use. Choices: stdio | Streamable HTTP. **Gotcha:** current SSE and WebSocket transports absent; frozen SSE remains at `@modelcontextprotocol\u002Fserver-legacy\u002Fsse`.\n3. **Auth** (default `none` for local or stdio use) — For every remote HTTP deployment, ask: Authenticated | Private no-auth. Record `none` only for explicit private deployment; public endpoints use [mcp-auth](..\u002Fmcp-auth\u002FSKILL.md). When authenticated, choose: OAuth (client `OAuthClientProvider`; server `requireBearerAuth`) | Custom bearer (client `AuthProvider`; server `verifyAccessToken`) | Legacy authorization-server helpers (`server-legacy\u002Fauth`) | Machine auth (client `ClientCredentialsProvider` for `client_credentials` grant, `PrivateKeyJwtProvider` for `private_key_jwt` (RFC 7523), or `CrossAppAccessProvider` for cross-app access (SEP-990); for non-human callers such as jobs, backends, service accounts). **Gotchas:** token endpoints require `https:` except loopback (`InsecureTokenEndpointError`, SEP-2207); key credentials by `ctx.issuer` (SEP-2352).\n4. **Tool Surface** (default `Few simple`) — Ask for more than three tools or complex operations. Choices: Many simple | Few big with settings.\n5. **Input Schemas** (default Standard Schema via `zod ^4.2.0`) — Silently retain project's existing Standard Schema library; otherwise use zod. Use `fromJsonSchema()` only for existing raw JSON Schema.\n6. **Interaction** (default `Request-response`) — Ask for long-running work or required user input. Choices: Progress\u002FCancel | Multi-round-trip.\n7. **Prompts** (default `None`) — Ask for reusable or UI-integrated prompts. Choices: Static | Completable.\n8. **Error Strategy** (default `Protocol errors only`) — Apply without question.\n9. **Distribution** (default `Local`) — Ask for publishing or sharing. Choices: npm | Local.\n10. **Testing** (default `1 test per tool`) — Apply without question.\n11. **Session\u002FResumability** (default `Stateless`) — Ask when HTTP need multi-request client state. Choices: Stateless | `EventStore`-backed resumable sessions.\n12. **Notifications** (default `None`) — Ask when clients need list or data change updates. Choices: `subscriptions\u002Flisten` stream | None.\n13. **Era \u002F Protocol Revision** (default both eras, `legacy: 'stateless'`) — Ask only when modern 2026 behavior required. **Three choices:** Both eras (`legacy: 'stateless'`) | Modern only (`legacy: 'reject'`) | 2025-era only (hand-wired `*StreamableHTTPServerTransport`; no `createMcpHandler` or `legacy:` setting).\n14. **Runtime** (default Node ≥20, ESM-first) — Apply without question; v2 also ships CommonJS build.\n15. **Staging** (default `one-shot`) — Ask when large, multi-directory codebase already uses SDK v1. Choices: one-shot | stage by directory. Execute selected posture in [mcp-migration](..\u002Fmcp-migration\u002FSKILL.md) step 1.\n16. **Elicitation** (default `None`) — Ask when handler must question end user mid-call. Choices: `ctx.mcpReq.elicitInput` (form mode with `requestedSchema`, or URL mode with `url` + `elicitationId`; client must declare matching `elicitation` capability) | None. For tools\u002Fcall, prompts\u002Fget, and resources\u002Fread handlers requesting input mid-call on older protocol revisions where `elicitInput` throws, return `input_required` result type instead.\n\n## Record Format\n\nAppend dated section to `docs\u002Fmcp-decisions.md` listing every decision:\n\n```markdown\n# MCP Decision Record — YYYY-MM-DD\n\n1. Scope: server exposing 4 tools. (asked)\n2. Transport: stdio. (default)\n3. Auth: none. (default)\n4. Tool Surface: few simple tools. (default)\n5. Input Schemas: zod ^4.2.0. (default)\n6. Interaction: request-response. (default)\n7. Prompts: none. (default)\n8. Error Strategy: protocol errors only. (default)\n9. Distribution: local. (default)\n10. Testing: 1 test per tool. (default)\n11. Session\u002FResumability: stateless. (default)\n12. Notifications: none. (default)\n13. Era \u002F Protocol Revision: both eras (legacy: 'stateless'). (default)\n14. Runtime: Node ≥ 20, ESM-first. (default)\n15. Staging: one-shot. (default)\n16. Elicitation: none. (default)\n```\n",{"name":5,"metadata":24,"description":7,"user-invocable":20},{"category":25},"technique","main","534498267dccbe415f22f31fceac9da6771c195f","plugins\u002Fmcp-hub\u002Fskills\u002Fmcp-planning","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace","https:\u002F\u002Fj0hanz-marketplace.vercel.app","https:\u002F\u002Fgithub.com\u002Fj0hanz","linus-johansson-cv-d308be9b73e1.herokuapp.com","2026-11-15 02:42:07",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add j0hanz\u002Fj0hanz-marketplace --skill mcp-planning",{"tool":40,"command":41},"bunx","bunx skills add j0hanz\u002Fj0hanz-marketplace --skill mcp-planning",{"tool":43,"command":44},"pnpm","pnpm dlx skills add j0hanz\u002Fj0hanz-marketplace --skill mcp-planning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fmcp-hub\u002Fskills\u002Fmcp-planning\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7ABP78JFYBMCXJ9GMETCYZM","unslop","Use when writing or editing prose a person will read, or when text sounds AI-generated.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7ABP52BNV7NRPNBR6PCNZWC","show-me","Use when asked to show, diagram, or walk through how code fits together or what a change does, or before explaining a multi-file flow in prose.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Fshow-me\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7ABP3EPN4KFB4HPJNMY31NR","pr","Use when writing or updating a pull request description, or before running `gh pr create`.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Fpr\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7ABP08MXTHPZYTG4HKEP7WQ","commit","Use when writing a commit message, or before running `git commit`.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Fcommit\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7ABNV9J7DN1AFRBGDBHVBY2","write-specs","Spec a feature's observable behavior. Use when asked for requirements, when a request says what the system should do but not how, or to capture what a built system already guarantees. Not for how to build it (write-plan).","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fwrite-specs\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7ABNPK2GVG8EB3SSEAMK4FZ","write-skills","Write, fix, or audit a skill's frontmatter, trigger description, and body. Use when a skill is asked for, never fires, or fires at the wrong moment. Not for a hook (write-hooks) or the plugin manifest and catalog.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fwrite-skills\u002FSKILL.md",[],[]]