/ck-skills:ck:xia <github-url-or-owner/repo|local-path> [feature] [--compare|--copy|--improve|--port] [--auto|--fast]from ck-skills
Extracts, compares, ports, or adapts features from GitHub repos or local paths into the current project. Supports modes for copy, improve, port, and compare with auto-approval options.
Ships in ck-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Extract, analyze, and port features from any GitHub repository or local repo path into your project.
Principles: understand before copy | challenge before implement | adapt, don't transplant
Scope: feature extraction, cross-stack porting, implementation comparison, architectural adaptation.
Not for: full project cloning (ck:bootstrap), simple file copy, or package installation.
/ck:xia <github-url|owner/repo|local-path> [feature-description] [--compare|--copy|--improve|--port] [--auto|--fast]
Modes:
--compare: side-by-side analysis only, no implementation plan--copy: transplant with minimal changes--improve: copy plus refactor for the local codebase--port: rewrite idiomatically for the local stack (default)Speed:
--fast: skip research and challenge phases, auto-approve--auto: keep the full workflow, auto-approve gatesIntent detection:
--compare--copy--improve--port[1. Recon] -> [2. Map] -> [3. Analyze] -> [4. Challenge] -> [5. Plan] -> [6. Deliver]
Hard gate: Phase 4 must complete before Phase 5. Do not plan implementation before confronting trade-offs.
Understand the source repo and locate the target feature.
Security boundary:
/ck:repomix.
researcher agent to understand purpose, trade-offs, and community context./ck:scout on the local project to map architecture, similar features, and integration points.Output:
Dissect the feature into layers:
EXISTS, NEW, CONFLICT).Estimate the work: files to create, files to modify, config changes, migrations, and likely risks.
If you delegate to researcher, scout, or planner, pass:
DONE, DONE_WITH_CONCERNS, BLOCKED, NEEDS_CONTEXT)Understand why the source works the way it does, not just how it is written.
For each core component:
For complex features with 3+ layers or stateful workflows:
/ck:sequential-thinking to trace multi-step flowsMode-specific focus:
--compare: architectural differences and trade-offs--copy: compatibility gaps and the minimum adaptation needed--improve: anti-patterns to replace during adoption--port: idiomatic translation into local patternsLoad references/challenge-framework.md.
Produce at least 5 challenge questions. For each one, include:
If there are 3 or more competing concerns, use the brainstormer agent or an inline trade-off exercise.
Do not invoke /ck:brainstorm from inside xia; that skill can create its own planning handoff and break xia's phase ownership.
If intent is ambiguous, default to --compare before recommending implementation work.
Present a decision matrix:
| Decision | Source's way | Our way | Recommendation |
|---|---|---|---|
| Auth | Their auth stack | Existing local auth | Prefer local stack |
| Persistence | Their schema | Existing schema | Adapt, do not transplant |
In non-fast mode, get approval before continuing.
Delegate to /ck:plan with:
Rules:
--compare: produce a comparison report onlyxia is a front door, not a second orchestration stack. Keep planning and delivery ownership in plan and cook.This skill does not implement code. It produces the analysis and plan, then hands off.
--compare: write the report to plans/reports/ and stop/ck:cookImplementation handoff text:
Plan ready at ./plans/<plan-dir>/plan.md. To implement, run /ck:cook <plan-path>.
The handoff must include:
# Feature Comparison: [name]
## Source: [owner/repo]
## Local Project: [name]
## Head-to-Head
| Aspect | Source | Local | Recommendation |
| --- | --- | --- | --- |
## Recommendation
--compare.references/challenge-framework.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub bestagentkits/ck-skills --plugin ck-skills14 skills in this plugin
/ck:ai-artistGenerate images via Nano Banana with 129 curated prompts. Mandatory validation interview refines style/mood/colors (use --skip to bypass). 3 modes: search, creative, wild. Styles: Ukiyo-e, Bento grid, cyberpunk, cinematic, vintage patent./ck:brainstormBrainstorm solutions with trade-off analysis and brutal honesty. Use for ideation, architecture decisions, technical debates, feature exploration, feasibility assessment, design discussions./ck:planPlan implementations, design architectures, create technical roadmaps with detailed phases. Use for feature planning, system design, solution architecture, implementation strategy, phase documentation./ck:code-reviewReview code quality with adversarial rigor. Supports input modes: pending changes, PR number, commit hash, codebase scan. Always-on red-team analysis finds security holes, false assumptions, and failure modes./ck:codexUse OpenAI Codex CLI (GPT-5.5 + gpt-image-2) programmatically: second-opinion code review, GitHub PR audit, plan/spec auditing, edge-case discovery, style/persona prompting, and subscription-billed image generation for visual assets, decorations, infographics, banners. Activate whenever the user says 'codex', 'second opinion', 'audit plan', 'review PR with codex', 'generate image', 'create banner/illustration/visual asset', or wants a careful adversarial reader to catch what Claude (especially Opus) might skim past./ck:cookALWAYS activate this skill before implementing EVERY feature, plan, or fix.