From claude-resources
Copies patterns, setup, or structure from another project into the current session. Also supports fix-and-PR mode to submit bug fixes to referenced projects.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-resources:refer-another-project [-u|--update] <slug|path> [slug2 ...] — repo slug (e.g. zmod) or full path[-u|--update] <slug|path> [slug2 ...] — repo slug (e.g. zmod) or full pathThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **DO NOT auto-invoke this skill.** Referencing another project exposes its contents to the current session, which may leak private/client information across project boundaries. Always ask for user confirmation before proceeding.
DO NOT auto-invoke this skill. Referencing another project exposes its contents to the current session, which may leak private/client information across project boundaries. Always ask for user confirmation before proceeding.
Use this command when you need to reference, copy, or learn from another project's setup, structure, or patterns.
Arguments can be slugs (short names) or full paths. Multiple slugs/paths can be provided, space-separated.
Slug resolution rule:
For each slug argument (any argument that is NOT an absolute path starting with /):
$HOME/repos/*/{slug} (one level of category directories)Examples:
/refer-another-project zmod → resolves $HOME/repos/*/zmod → e.g. $HOME/repos/zp/zmod/refer-another-project zmod dotfiles → resolves both slugs independently/refer-another-project $HOME/repos/zp/zmod → uses full path directly# Resolution command for each slug
ls -d $HOME/repos/*/{slug} 2>/dev/null
-u / --update)When -u or --update is passed, this skill switches to fix-and-PR mode: you've found a problem in the referenced project and want to fix it there directly.
cd into the resolved project path/x-as-pr -co from the main branch with the fix instructions/x-as-pr workflow handles branching, implementing, reviewing, and opening a draft PR/x-as-prcd back to the original project and resume workThe PR on the referenced project must:
/refer-another-project -u zmod fix the broken export path in package.json
This will:
zmod → $HOME/repos/*/zmodcd into that directory/x-as-pr -co fix the broken export path in package.json-u (you can't fix multiple projects at once)-u, report an error and stopWhen referencing another project, you MUST protect project-specific sensitive information. Never copy concrete content or secrets - only copy patterns, structures, and configurations.
NEVER leak the referenced project's name or directory path into the current project's artifacts. This includes:
The referenced project may belong to a work client. Exposing client names or project identifiers in public or semi-public artifacts (issues, PRs, commits) causes real problems. Always use generic descriptions like "another project" or "reference implementation" instead.
.env values, API tokens, passwordsParse $ARGUMENTS to extract:
-u or --update flag: If present, switch to update mode (see "Update Mode" above)/x-as-pr -co-u flag)When copying Docusaurus setup from $HOME/foo/bar/:
Safe to reference:
docusaurus.config.js structure and plugin configurationsdocs/, src/, static/)Must NOT copy:
Always ask yourself: "Does this contain information specific to the source project?" If yes, do not copy it directly. Extract the pattern and apply it fresh to the target project.
npx claudepluginhub takazudo/claude-resources --plugin claude-resourcesScouts GitHub repos for patterns, features, and ideas to improve your project by cloning, analyzing architecture and code, comparing with your codebase, and delivering actionable recommendations.
Clones, ports, or converts features from any GitHub repo into your project with 4 modes: port (rewrite), compare (analysis), copy (transplant), improve (copy + optimize). Enforces license and fit checks before adoption.
Searches internal codebase patterns and GitHub for open-source implementation references, filtering repos by quality and extracting code excerpts.