askit-deprecate
Validates and records a component's deprecation (status, replacement, and removal target) and keeps deprecated components validating until removal. Use when deprecating a component, recording its replacement, or checking the deprecation contract.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- askit-deprecate
- metadata
- { "tier": "universal", "version": "0.1.0", "audience": "advanced" }
- description
- Validates and records a component's deprecation (status, replacement, and removal target) and keeps deprecated components validating until removal. Use when deprecating a component, recording its replacement, or checking the deprecation contract.
02 资源文件 2
- 参考文档README.md503 B
- 参考文档references/deprecation-policy.md1.6 KB
03 SKILL.md 正文
askit-deprecate
Purpose
Manage a component's end-of-life cleanly. Two modes: deprecate marks a component status: deprecated and records its replacement (deprecated-by) and the version it will be removed in (remove-in), per Standard sec 3.7 / 7.5; check runs the G6 deprecation check (the contract is complete) and confirms a deprecated component still validates until its remove-in version, so consumers get a migration window rather than a sudden break. Policy and the lifecycle are in references/deprecation-policy.md.
When to use
When deprecating a component, recording its replacement, or checking that deprecated components still validate before their removal version.
deprecate mode
- Set the component's
statustodeprecatedinlibrary.json(and the component frontmattermetadata.status). - Record
deprecated-by(the replacement component) andremove-in(the target plugin version for removal). - Point users at the replacement in the component's description or body; do not delete it yet.
check mode
- Run
node scripts/check.mjs(the aggregate gate, which includes the G6deprecationcheck): everydeprecatedcomponent declaresdeprecated-by+remove-in, and no component carries an invalid status. - Confirm each deprecated component still passes its tier checks until
remove-in(a deprecated component must keep validating during the migration window).
Scope
The G6 deprecation check enforces the contract deterministically; this skill is the front door and the policy. Actual removal at the remove-in version is a release-time action driven by askit-release (and recorded in the CHANGELOG). Deprecation is the Gold G6 baseline; a dedicated removal-automation skill is roadmap (the policy and frontmatter handling are what v1 requires).
04 同仓库更多 Skills
fx-demo
A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests/unit/self-consistency.test.mjs.
fx-demo
A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests/unit/self-consistency.test.mjs.
fx-demo
A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests/unit/self-consistency.test.mjs.
sf-caller
Calls the worker subagent to do a thing. Use when delegating work to sf-worker.
sf-do-thing
Converts CSV input into a formatted summary. Use when the user asks to summarize or tabulate spreadsheet data.
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.