What problem does it solve? Adopting proven features from other repositories often leads to blind copy-pasting, license violations, and foreign patterns leaking into your codebase. This Skill enforces a structured workflow that requires understanding source code and passing a license/stack/scope/quality/maintenance challenge gate before any code is grafted. ## Core Features & Use Cases - Four Graft Modes: Port (rewrite for your stack), Compare (side-by-side analysis only), Copy (minimal-change transplant), and Improve (copy plus refactoring and optimization). - Mandatory Challenge Gate: Scores license compatibility, stack fit, scope, code quality, and maintenance health across five dimensions, blocking grafts with two or more failures. - Scoped Fetching: Uses sparse git checkout or raw file fetching to read only the 2-5 files implementing the target feature, preventing context overflow. - Use Case: You find an authentication middleware in a Next.js GitHub repo and want it in your own project. The Skill fetches only the relevant files, verifies the MIT license is compatible, maps Redux patterns to your Zustand setup, and rewrites the code to match your conventions. ## Quick Start Ask the agent to graft the authentication feature from a specific GitHub repository URL into this project using port mode.