Skip to content

askit-deprecate

Validates and records a component’s deprecation and keeps deprecated components validating until removal.

  • deprecate: set status: deprecated + record deprecated-by (replacement) + remove-in (removal version), per sec 3.7 / 7.5.
  • check: run the G6 deprecation check (contract complete; status valid) and confirm deprecated components still validate until remove-in.

A deprecated component MUST declare deprecated-by + remove-in; scripts/checks/deprecation.mjs enforces this over the library.json entries. Policy + lifecycle: deprecation-policy.

Removal at remove-in is a release action (askit-release); this skill owns the policy + the deprecation contract. See the deprecate-a-component how-to.