hook-contract-refactor-safety

Official

Ensure safe and consistent hook contract refactoring.

Authorai-shifu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps developers safely refactor hook return fields or parameters by coordinating changes to prevent errors due to mismatched naming or removed fields.

Core Features & Use Cases

  • Type Renaming and Parameter Removal Checks: Ensures synchronized updates across codebases when modifying hook contracts.
  • Codebase-wide Refactor Assistance: Guides users in refactoring type definitions, usage sites, and dependency arrays to maintain consistency.
  • Use Case: Developers refactor a hook's interface and need to update all call sites and related code sections to match the new contract seamlessly.

Quick Start

Use the skill to refactor hook contracts safely, by providing type changes and scanning for related updates across code.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hook-contract-refactor-safety
Download link: https://github.com/ai-shifu/ai-shifu/archive/main.zip#hook-contract-refactor-safety

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.