[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74GH1PRTHFNSHKAW0PMZAM6":3,"skill-same:01M74GH1PRTHFNSHKAW0PMZAM6":44},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M74GH1PRTHFNSHKAW0PMZAM6","deprecation-plan",null,"Plan a deprecation — two dates (warn + remove), telemetry-gated removal, comms cadence, exception path, code\u002Fheader markers. The lifecycle plan, not the customer notice (write-sunset-notice).","MohammadBafkar\u002Fpolymath","MohammadBafkar","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F34940462?v=4","01M74G540TQFZWK6KVAPKFVGNR","Mohammad Bafkar","01M74G541HG19QP9V5DQCJVKYE",0,"MIT","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-release\u002Fskills\u002Fdeprecation-plan\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: deprecation-plan\ndescription: Plan a deprecation — two dates (warn + remove), telemetry-gated removal, comms cadence, exception path, code\u002Fheader markers. The lifecycle plan, not the customer notice (write-sunset-notice).\n---\n\n# deprecation-plan\n\n> Deprecation is a contract with a timeline, not a surprise. Set two dates, prove usage actually dropped before you pull it, and give people a way out.\n\n**Mode:** analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked `[TBD]` or `[VERIFY]`, never filled in.\n\n## When to use\n\n- A capability (API, endpoint, flag, feature, config) is going away and you need the staged plan.\n- The user asks how to deprecate\u002Fsunset\u002Fretire something on a schedule.\n- A workflow invokes `polymath-release:deprecation-plan` (see also the `deprecationToRemoval` \u002F `sunsetCapability` workflows).\n\nThis is the *plan*. It is not the customer-facing notice copy (`polymath-communication:write-sunset-notice`), the consumer upgrade steps (`polymath-release:migration-guide`), or removing dead code (engineering).\n\n## Inputs\n\n- What is being deprecated and why; the replacement (or \"no replacement\").\n- Who depends on it (internal\u002Fexternal; known consumers) and current usage signal.\n- Constraints: contracts\u002FSLAs, support windows, regulatory.\n- Missing dates or usage data are never invented: dates the owner hasn't set are proposed and marked `[VERIFY: date]`; an unmeasured usage baseline is `[TBD: baseline — measure before announcing]`.\n\n## Procedure\n\n1. **Two dates** — *warn* (deprecation announced, still works) and *remove* (gone). State the support window between them and the rationale.\n2. **Telemetry gate** — define the usage metric and the threshold the metric must be under before removal proceeds; removal is gated on data, not just the calendar.\n3. **Markers** — how the deprecation is signalled in-product: `Deprecation`\u002F`Sunset` HTTP headers, log warnings, SDK deprecation annotations, changelog.\n4. **Comms cadence** — announce at warn, reminders at intervals, final notice before remove; route to the affected audience.\n5. **Exception path** — how a blocked consumer requests an extension, and who approves.\n6. **Migration** — link the upgrade path (`polymath-release:migration-guide`); deprecation without a migration path is just breakage.\n7. **Slug** from the capability name: a workflow's `${workflow.slug}` wins; otherwise lowercase it, replace each run of characters outside `a-z0-9` with `-`, trim `-` at the ends, and cut to ≤ 60 characters at a `-`. An existing file at the target path is updated in place (show the diff), never duplicated.\n8. Write `docs\u002Fdeprecations\u002F\u003Cslug>-plan.md` (the customer notice from `write-sunset-notice` lives beside it at `docs\u002Fdeprecations\u002F\u003Cslug>.md`).\n\n## Output\n\n`docs\u002Fdeprecations\u002F\u003Cslug>-plan.md`, in this shape:\n\n```text\nDeprecation plan: GET \u002Fv1\u002Fsearch  →  replacement: GET \u002Fv2\u002Fsearch\n\nDates:      warn 2026-11-02 · remove 2027-02-01  (90-day window: matches the public API support policy)\nGate:       remove only when v1 calls \u003C 0.5% of v2 calls for 14 consecutive days\n            metric: http_requests_total{route=\"\u002Fv1\u002Fsearch\"} — baseline [TBD: measure before announcing]\nMarkers:    Deprecation + Sunset headers on every v1 response; SDK @deprecated in 4.8; CHANGELOG Deprecated entry\nComms:      announce at warn → reminders at −60d, −30d, −7d → final notice at remove (owner: API PM)\nException:  extension requests via the API support form; approver: [VERIFY: approver role]; max +60 days\nMigration:  docs\u002Fmigrations\u002Fv1-search-guide.md\nIf the gate fails on the remove date: removal slips; re-check weekly; escalate the top 3 callers by name.\n```\n\n## Quality bar\n\n- Two explicit dates with a justified support window between them.\n- Removal is gated on a usage threshold, not the date alone; the metric is named.\n- An exception\u002Fextension path exists with an approver.\n- A migration path is linked; \"just stop using it\" is not a migration path.\n- What happens when the gate fails on the removal date is written down.\n\n## Anti-patterns to avoid\n\n- One date (\"deprecated as of today\") with no removal date — open-ended deprecations rot.\n- Removing on the calendar while usage is still above the gate.\n- An exception path with no approver or no maximum extension.\n- Inventing a usage baseline instead of measuring it.\n","# deprecation-plan\n\n> Deprecation is a contract with a timeline, not a surprise. Set two dates, prove usage actually dropped before you pull it, and give people a way out.\n\n**Mode:** analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked `[TBD]` or `[VERIFY]`, never filled in.\n\n## When to use\n\n- A capability (API, endpoint, flag, feature, config) is going away and you need the staged plan.\n- The user asks how to deprecate\u002Fsunset\u002Fretire something on a schedule.\n- A workflow invokes `polymath-release:deprecation-plan` (see also the `deprecationToRemoval` \u002F `sunsetCapability` workflows).\n\nThis is the *plan*. It is not the customer-facing notice copy (`polymath-communication:write-sunset-notice`), the consumer upgrade steps (`polymath-release:migration-guide`), or removing dead code (engineering).\n\n## Inputs\n\n- What is being deprecated and why; the replacement (or \"no replacement\").\n- Who depends on it (internal\u002Fexternal; known consumers) and current usage signal.\n- Constraints: contracts\u002FSLAs, support windows, regulatory.\n- Missing dates or usage data are never invented: dates the owner hasn't set are proposed and marked `[VERIFY: date]`; an unmeasured usage baseline is `[TBD: baseline — measure before announcing]`.\n\n## Procedure\n\n1. **Two dates** — *warn* (deprecation announced, still works) and *remove* (gone). State the support window between them and the rationale.\n2. **Telemetry gate** — define the usage metric and the threshold the metric must be under before removal proceeds; removal is gated on data, not just the calendar.\n3. **Markers** — how the deprecation is signalled in-product: `Deprecation`\u002F`Sunset` HTTP headers, log warnings, SDK deprecation annotations, changelog.\n4. **Comms cadence** — announce at warn, reminders at intervals, final notice before remove; route to the affected audience.\n5. **Exception path** — how a blocked consumer requests an extension, and who approves.\n6. **Migration** — link the upgrade path (`polymath-release:migration-guide`); deprecation without a migration path is just breakage.\n7. **Slug** from the capability name: a workflow's `${workflow.slug}` wins; otherwise lowercase it, replace each run of characters outside `a-z0-9` with `-`, trim `-` at the ends, and cut to ≤ 60 characters at a `-`. An existing file at the target path is updated in place (show the diff), never duplicated.\n8. Write `docs\u002Fdeprecations\u002F\u003Cslug>-plan.md` (the customer notice from `write-sunset-notice` lives beside it at `docs\u002Fdeprecations\u002F\u003Cslug>.md`).\n\n## Output\n\n`docs\u002Fdeprecations\u002F\u003Cslug>-plan.md`, in this shape:\n\n```text\nDeprecation plan: GET \u002Fv1\u002Fsearch  →  replacement: GET \u002Fv2\u002Fsearch\n\nDates:      warn 2026-11-02 · remove 2027-02-01  (90-day window: matches the public API support policy)\nGate:       remove only when v1 calls \u003C 0.5% of v2 calls for 14 consecutive days\n            metric: http_requests_total{route=\"\u002Fv1\u002Fsearch\"} — baseline [TBD: measure before announcing]\nMarkers:    Deprecation + Sunset headers on every v1 response; SDK @deprecated in 4.8; CHANGELOG Deprecated entry\nComms:      announce at warn → reminders at −60d, −30d, −7d → final notice at remove (owner: API PM)\nException:  extension requests via the API support form; approver: [VERIFY: approver role]; max +60 days\nMigration:  docs\u002Fmigrations\u002Fv1-search-guide.md\nIf the gate fails on the remove date: removal slips; re-check weekly; escalate the top 3 callers by name.\n```\n\n## Quality bar\n\n- Two explicit dates with a justified support window between them.\n- Removal is gated on a usage threshold, not the date alone; the metric is named.\n- An exception\u002Fextension path exists with an approver.\n- A migration path is linked; \"just stop using it\" is not a migration path.\n- What happens when the gate fails on the removal date is written down.\n\n## Anti-patterns to avoid\n\n- One date (\"deprecated as of today\") with no removal date — open-ended deprecations rot.\n- Removing on the calendar while usage is still above the gate.\n- An exception path with no approver or no maximum extension.\n- Inventing a usage baseline instead of measuring it.\n",{"name":5,"description":7},"main","23f6e21841a39580c9da2b5ec941f39dda17cd86","plugins\u002Fpolymath-release\u002Fskills\u002Fdeprecation-plan","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath","https:\u002F\u002Fgithub.com\u002FMohammadBafkar","2026-10-29 18:34:59",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add MohammadBafkar\u002Fpolymath --skill deprecation-plan",{"tool":36,"command":37},"bunx","bunx skills add MohammadBafkar\u002Fpolymath --skill deprecation-plan",{"tool":39,"command":40},"pnpm","pnpm dlx skills add MohammadBafkar\u002Fpolymath --skill deprecation-plan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-release\u002Fskills\u002Fdeprecation-plan\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M74GN87EBRHM9N87M7AP1HDD","runbook","Write or refresh an operational runbook for an alert\u002Fsymptom; structured as TL;DR + Pre-checks + Steps + Verification + Rollback + Escalation.","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Frunbook\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M74GN5GPKEC1JEKP2DFQNEQJ","rfc","Draft a lightweight design RFC to docs\u002Frfcs\u002F\u003Cslug>.md; Summary, Motivation, Detailed design, Drawbacks, Alternatives, Unresolved questions. A proposal to debate, not a recorded decision (adr).","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Frfc\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M74GN2F4CWPMV4X09TG4E304","editorial-pass","Review and tighten prose in a Markdown artifact for a target tone (terse, formal, friendly) without dropping information; preserve quotations and load-bearing constraints.","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Feditorial-pass\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M74GMZWGYMZ37C4DYGT6P23G","architecture-review-facilitation","Run an architecture review as a process — entry criteria, reviewer checklist, decision log, and follow-up actions — pairing the design artifact with a red-team pass.","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Farchitecture-review-facilitation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M74GMXVX0YX3ETDXS527XDGM","architecture-doc","Write a C4-style architecture document; System Context + Containers (+ Components when interesting) with mermaid diagrams. Describes structure, not a decision (adr) or proposal (rfc).","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Farchitecture-doc\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M74GMVG1WSMCK066S3KE6V5K","adr","Write an Architecture Decision Record (Michael Nygard format) to docs\u002Fadrs\u002FNNNN-\u003Cslug>.md; frontmatter validated by the ADR artifact schema. Records a made decision, not a proposal to debate (rfc).","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Fadr\u002FSKILL.md",[],[]]