Agent skill

Adding Deprecation Warnings

by Comfy-Org in Comfy-Org/ComfyUI_frontend

Adds deprecation warnings for renamed or removed properties/APIs.

GPL-3.0Auto-check passedDevelopment

Install Adding Deprecation Warnings

skills CLI
$ npx skills add Comfy-Org/ComfyUI_frontend --skill adding-deprecation-warnings -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Comfy-Org/ComfyUI_frontend adding-deprecation-warnings --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Comfy-Org/ComfyUI_frontend.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/adding-deprecation-warnings .claude/skills/adding-deprecation-warnings && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
adding-deprecation-warnings
GitHub stars
2.1k
Token cost
~775 tokens
SKILL.md length
290 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
GPL-3.0

At a glance

Adds deprecation warnings for renamed or removed properties/APIs.

  • Works in 4 steps: Search the Custom Node Ecosystem → Apply the Deprecation → Checklist → …
  • Deprecation warning
  • SKILL.md covers When to Use, Steps, How defineDeprecatedProperty… and Edge Cases
  • Calls pnpm

What it does

Adding Deprecation Warnings is an agent skill from Comfy-Org/ComfyUI_frontend. Adds deprecation warnings for renamed or removed properties/APIs. Searches custom node ecosystem for usage, applies defineDeprecatedProperty helper, adds JSDoc. Triggers on: deprecate, deprecation warning, rename property, backward compatibility.

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Technical documentation. It works with ComfyUI. The repository describes itself as: Official front-end implementation of ComfyUI. The licence is GPL-3.0.

When your agent uses it

  • Deprecation warning
  • Rename property
  • Backward compatibility

Example prompts

  • “/adding-deprecation-warnings”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Search the Custom Node Ecosystem
  2. Apply the Deprecation
  3. Checklist
  4. PR Comment

What it can do on your machine

Read from SKILL.md and the folder at commit 03bca8a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Adding Deprecation Warnings loads about 775 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 290 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~775

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Comfy-Org/ComfyUI_frontend at commit 03bca8a, republished under its GPL-3.0 licence (© Comfy-Org). 290 words, ~775 tokens.

Download SKILL.mdSave it as .claude/skills/adding-deprecation-warnings/SKILL.md (or your agent's skills folder).
name
adding-deprecation-warnings
description
Adds deprecation warnings for renamed or removed properties/APIs. Searches custom node ecosystem for usage, applies defineDeprecatedProperty helper, adds JSDoc. Triggers on: deprecate, deprecation warning, rename property, backward compatibility.

Adding Deprecation Warnings

Adds backward-compatible deprecation warnings for renamed or removed properties using the defineDeprecatedProperty helper in src/lib/litegraph/src/utils/feedback.ts.

When to Use

  • A property or API has been renamed and custom nodes still use the old name
  • A property is being removed but needs a grace period
  • Backward compatibility must be preserved while nudging adoption

Steps

1. Search the Custom Node Ecosystem

Before implementing, assess impact by searching for usage of the deprecated property across ComfyUI custom nodes:

text
Use the comfy_codesearch tool to search for the old property name.
Search for both `widget.oldProp` and just `oldProp` to catch all patterns.

Document the usage patterns found (property access, truthiness checks, caching to local vars, style mutation, etc.) — these all must continue working.

2. Apply the Deprecation

Use defineDeprecatedProperty from src/lib/litegraph/src/utils/feedback.ts:

typescript
import { defineDeprecatedProperty } from '@/lib/litegraph/src/utils/feedback'

/** @deprecated Use {@link obj.newProp} instead. */
defineDeprecatedProperty(
  obj,
  'oldProp',
  'newProp',
  'obj.oldProp is deprecated. Use obj.newProp instead.'
)
3. Checklist
  • Ecosystem search completed — all usage patterns are compatible
  • defineDeprecatedProperty call added after the new property is assigned
  • JSDoc @deprecated tag added above the call for IDE support
  • Warning message names both old and new property clearly
  • pnpm typecheck passes
  • pnpm lint passes
4. PR Comment

Add a PR comment summarizing the ecosystem search results: which repos use the deprecated property, what access patterns were found, and confirmation that all patterns are compatible with the ODP getter/setter.

How defineDeprecatedProperty Works

  • Creates an Object.defineProperty getter/setter on the target object
  • Getter returns this[currentKey], setter assigns this[currentKey]
  • Both log via warnDeprecated, which deduplicates (once per unique message per session via a Set)
  • enumerable: false keeps the alias out of Object.keys() / for...in / JSON.stringify
  • configurable: true allows further redefinition if needed

Edge Cases

  • Truthiness checks (if (widget.oldProp)) — works, getter fires
  • Caching to local var (const el = widget.oldProp) — works, warns once then the cached ref is used directly
  • Style/property mutation (widget.oldProp.style.color = 'red') — works, getter returns the real object
  • Serialization (JSON.stringify) — enumerable: false excludes it
  • Heavy access in loops — warnDeprecated deduplicates, only warns once per session regardless of call count

© Comfy-Org, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/adding-deprecation-warnings of Comfy-Org/ComfyUI_frontend.

Open the folder on GitHubat commit 03bca8a

Compare with similar skills

Adding Deprecation Warnings next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Adding Deprecation Warnings compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Adding Deprecation Warnings this skillComfy-Org/ComfyUI_frontend2.1k—~775Automated safety check: PassGPL-3.0
Diagram Designcathrynlavery/diagram-design45k1 repos~7.5kAutomated safety check: PassMIT
Simple Englishmoeru-ai/airi50k2 repos~4.6kAutomated safety check: PassMIT
Get API Docs with chubandrewyng/context-hub14k2 repos~775Automated safety check: PassMIT
Doc SyncJetBrains/ideavim10k2 repos~2.6kAutomated safety check: PassMIT
Mailspring App ScreenshotsFoundry376/Mailspring18k—~1.5kAutomated safety check: PassGPL-3.0

Similar skills

  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    45k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Get API Docs with chub

    andrewyng/context-hub

    Fetches current documentation for third-party APIs and SDKs with the chub CLI before the agent writes code against them, instead of relying on remembered API shapes.

    14k GitHub starsUsed in 2 repos~775 tokens
    DevelopmentAuto-check passed
  • Doc Sync

    JetBrains/ideavim

    Official

    Keeps IdeaVim documentation in sync with code changes. An agent skill from JetBrains/ideavim.

    10k GitHub starsUsed in 2 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Mailspring App Screenshots

    Foundry376/Mailspring

    Captures screenshots of the running Mailspring dev app for docs, PRs or visual checks by launching it with a debugging port, driving the UI and clipping to an element.

    18k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes

More from Comfy-Org/ComfyUI_frontend

All 22 skills in this repo
  • Agent Integration Replay

    Comfy-Org/ComfyUI_frontend

    Replay recorded agent conversations as Playwright tests against the real chat panel and canvas.

    2.1k GitHub stars~805 tokensUpdated today
    Auto-check: notes
  • Codegen Transform

    Comfy-Org/ComfyUI_frontend

    Transforms raw Playwright codegen output into ComfyUI convention-compliant tests.

    2.1k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Comment Sicko

    Comfy-Org/ComfyUI_frontend

    Dispatches the comment-sicko subagent to hunt gratuitous comments in a PR/diff, triages its raw findings, and posts a polite, professional writeup.

    2.1k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Hardening Flaky E2E Tests

    Comfy-Org/ComfyUI_frontend

    Diagnoses and fixes flaky Playwright e2e tests by replacing race-prone patterns with retry-safe alternatives.

    2.1k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Perf Fix With Proof

    Comfy-Org/ComfyUI_frontend

    Ships performance fixes with CI-proven improvement using stacked PRs.

    2.1k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Publishing A New Package

    Comfy-Org/ComfyUI_frontend

    Publishes a new package from this monorepo to npm under @comfyorg and proves it is consumable from another repo.

    2.1k GitHub stars~1.8k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Adding Deprecation Warnings

What does Adding Deprecation Warnings do?

Adds deprecation warnings for renamed or removed properties/APIs. Adding Deprecation Warnings is an agent skill from Comfy-Org/ComfyUI_frontend. Adds deprecation warnings for renamed or removed properties/APIs.

When should I use Adding Deprecation Warnings?

Adding Deprecation Warnings fits situations like: deprecation warning; rename property; backward compatibility.

How do I install Adding Deprecation Warnings in Claude Code?

Run `npx skills add Comfy-Org/ComfyUI_frontend --skill adding-deprecation-warnings -a claude-code`. Or copy the skill folder (.claude/skills/adding-deprecation-warnings in Comfy-Org/ComfyUI_frontend) into .claude/skills/adding-deprecation-warnings in your project. Claude Code loads it when a task matches its description.

How do I install Adding Deprecation Warnings in Codex?

Run `npx skills add Comfy-Org/ComfyUI_frontend --skill adding-deprecation-warnings -a codex`. Or copy the skill folder (.claude/skills/adding-deprecation-warnings in Comfy-Org/ComfyUI_frontend) into .agents/skills/adding-deprecation-warnings in your project. Codex loads it when a task matches its description.

Can I use Adding Deprecation Warnings in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Comfy-Org/ComfyUI_frontend --skill adding-deprecation-warnings -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/adding-deprecation-warnings, .gemini/skills/adding-deprecation-warnings, .github/skills/adding-deprecation-warnings and .opencode/skills/adding-deprecation-warnings in your project.

What does Adding Deprecation Warnings need to run?

Going by SKILL.md and its folder, Adding Deprecation Warnings needs the command-line tools its instructions call (pnpm).

Does Adding Deprecation Warnings access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Adding Deprecation Warnings safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Adding Deprecation Warnings use?

Adding Deprecation Warnings is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Adding Deprecation Warnings use?

About 775 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Adding Deprecation Warnings?

Skills that share tags, products or a category with Adding Deprecation Warnings: Diagram Design (cathrynlavery/diagram-design, 45k stars), Simple English (moeru-ai/airi, 50k stars), Get API Docs with chub (andrewyng/context-hub, 14k stars) and Doc Sync (JetBrains/ideavim, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Adding Deprecation Warnings?

Comfy-Org (a GitHub organization) maintains it in Comfy-Org/ComfyUI_frontend, which has 2,055 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 8, 2026.

Source: Comfy-Org/ComfyUI_frontend on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.