The AIWG Hook Migrator is a specialized utility designed to transition projects from the older full-injection method to the modern modular hook-file architecture. It automatically scans platform-specific context files—such as CLAUDE.md, .cursorrules, and .github/copilot-instructions.md—to identify AIWG-specific blocks. The skill safely extracts these blocks into dedicated hook files (like AIWG.md) and replaces them with a single reference directive. This keeps your primary configuration files clean, reduces context clutter, and ensures that user-written instructions are preserved verbatim while maintaining powerful AI guidance.
主な機能
01Verbatim preservation of all user and team-specific content
02146 GitHub stars
03Safety-first workflow with dry-run modes and automatic backup creation
04Automatic detection of AIWG blocks using high-confidence structural heuristics
05Multi-platform support including Claude Code, Cursor, Copilot, and Warp
06Safe extraction of framework logic into external modular hook files
ユースケース
01Reducing the line count of CLAUDE.md files to improve readability for human developers
02Upgrading a legacy AI-augmented project to the latest AIWG modular standards
03Standardizing AI behavior across multiple IDEs and terminals simultaneously