deprecation-statement

Prepend a standard deprecation notice to a specified file.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/isaackehle/skills --skill deprecation-statement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deprecation-statement
Source: https://github.com/isaackehle/skills/tree/main/deprecation-statement
Command: npx skills add https://github.com/isaackehle/skills --skill deprecation-statement

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires claude.

What problem does it solve?

Adding a deprecation notice to files manually is error‑prone and inconsistent; this Skill automates insertion of a standard notice.

Core Features & Use Cases

  • Automated Notice Insertion: Prepends a predefined deprecation block to any given file.
  • Interactive Prompt: If no path is supplied, the skill can ask the user for the file location.
  • Use Case: When a codebase component is being phased out, run this Skill to mark the source file with a clear deprecation warning.

Quick Start

Add a deprecation statement to 'utils.py'.

Frequently Asked Questions about deprecation-statement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a deprecation notice to a file without altering existing content?

To add a deprecation notice without altering existing content, this Skill prepends a standardized deprecation block to the top of any specified file. It safely inserts the warning while preserving the original code or documentation.

What is the best way to automate deprecation warnings in a codebase?

Automating deprecation warnings is best handled by running this Skill to prepend a predefined notice to source files. It ensures consistent phrasing across deprecated components and eliminates manual, error-prone text insertion.

Can I use Python to mark a specific code file as deprecated?

Yes, you can use this Python-based Skill to mark a specific code file as deprecated. By providing the file path, it automatically inserts a clear deprecation statement to indicate the component is being phased out.

When do I need to insert a deprecation statement into source code?

You need to insert a deprecation statement into source code when a component is being phased out or deprecated. This signals to developers that the functionality is obsolete and should not be used in future development.

Does the deprecation notice insertion work if no file path is supplied?

Yes, if no file path is supplied, the Skill uses an interactive prompt to ask the user for the file location. This ensures the deprecation notice is applied to the correct file even without prior input.