.claude/skills/extract/SKILL.md
Extract and consolidate reusable components, design tokens, and patterns into your design system. Identifies opportunities for systematic reuse and enriches your component library.
npx skillsauth add nico-deforge/directiv extractInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Identify reusable patterns, components, and design tokens, then extract and consolidate them into the design system for systematic reuse.
Analyze the target area to identify extraction opportunities:
Find the design system: Locate your design system, component library, or shared UI directory (grep for "design system", "ui", "components", etc.). Understand its structure:
CRITICAL: If no design system exists, ask before creating one. Understand the preferred location and structure first.
Identify patterns: Look for:
Assess value: Not everything should be extracted. Consider:
Create a systematic extraction plan:
IMPORTANT: Design systems grow incrementally. Extract what's clearly reusable now, not everything that might someday be reusable.
Build improved, reusable versions:
Components: Create well-designed components with:
Design tokens: Create tokens with:
Patterns: Document patterns with:
NEVER:
Replace existing uses with the new shared versions:
Update design system documentation:
Remember: A good design system is a living system. Extract patterns as they emerge, enrich them thoughtfully, and maintain them consistently.
documentation
Produce a technical plan for a Linear task. Use this skill when the user asks to plan, design, or write a plan for a Linear ticket before implementation. Triggers: 'technical plan', 'plan the implementation', 'draft the plan for [ticket]', or any request to fill the Plan section of a Linear issue. Also use when creating a new Linear task that needs a plan from scratch.
development
Execute the implementation plan for a Linear task. Use this skill when the user wants to code a Linear ticket, implement a planned task, or start development on a Linear issue. Triggers: 'code this ticket', 'implement [ticket]', 'start coding [issue]', 'execute the plan for [ticket]'.
testing
Find failing CI jobs, inspect logs, and apply focused fixes
tools
Use when I ask you to create the Github Pull Request.