agentleFS
product-on-purposeproduct-on-purpose/agent-skills-toolkit/skills/askit-deprecate/SKILL.md

askit-deprecate

Skill2 starsChanged 2 months agoApache-2.0View on GitHub

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.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When deprecating a component, recording its replacement, or checking that deprecated components still validate before their removal version.

    line 16
  2. Very specific:

    Run node scripts/check.mjs (the aggregate gate, which includes the G6 deprecation check): every deprecated component declares deprecated-by …

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
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

  1. Set the component's status to deprecated in library.json (and the component frontmatter metadata.status).
  2. Record deprecated-by (the replacement component) and remove-in (the target plugin version for removal).
  3. Point users at the replacement in the component's description or body; do not delete it yet.

check mode

  1. Run node scripts/check.mjs (the aggregate gate, which includes the G6 deprecation check): every deprecated component declares deprecated-by + remove-in, and no component carries an invalid status.
  2. 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).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.