From claude-resources
References another project's patterns, setup, or structure without leaking sensitive data. Resolves repo slugs/paths; supports -u update mode to fix issues via PR.
npx claudepluginhub takazudo/claude-resources[-u|--update] <slug|path> [slug2 ...] — repo slug (e.g. zmod) or full pathThis skill uses the workspace's default tool permissions.
> **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.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
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.