8sl-consume-registry
Skill143 starsChanged 4 months agoMITView on GitHub
Use when users want to install, integrate, or adapt 8StarLabs UI components in a Next.js plus shadcn project. Covers registry selection, install paths, import guidance, MCP-aware flows, and practical integration checks.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- migrate-radix-to-baseSkill
- shadcnSkill
- transitions-devSkill
- 8sl-component-shipSkill
- 8sl-pattern-reviewSkill
- frontend-designSkill
- pr-commentSkill
- transitions-devSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill for downstream app work, not for maintaining the 8starlabs/ui repository itself.
- Distinctive: line 18
If the project clearly differs, adapt.
- Distinctive: line 31
Prefer the direct registry install flow unless the user explicitly wants manual copy-paste.
- Very specific: line 33
Keep advice aligned with the documented install shape for this library: shadcn registry item, components.json, and Next.js-friendly usage.
- Distinctive: line 35
Treat MCP as an accelerator, not the only supported path.
- Very specific: line 36
Do not drift into maintainer workflow guidance like editing registry.json or registry/__index__.tsx.
- Distinctive: line 68
Call out any usage caveats visible from the component's purpose, examples, or the user's app context.
- Distinctive: line 78
Prefer the project's alias style instead of hardcoding import assumptions if local config says otherwise.
- Distinctive: line 80
If the user only wants one installable component, do not bury the answer in MCP setup unless they asked for assistant tooling.
- Very specific: line 92
Read references/component-guide.md for current component-selection and troubleshooting notes.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
8StarLabs Consume Registry
Use this skill for downstream app work, not for maintaining the 8starlabs/ui
repository itself.
Default assumptions
- Next.js app
- Tailwind CSS
- shadcn/ui initialized
components.jsonpresent
If the project clearly differs, adapt. Otherwise use these defaults instead of asking broad setup questions.
Apply this skill when
- a user wants to install an
@8starlabs/*component - a user asks which 8StarLabs UI component fits a use case
- a user wants MCP or registry-based assistant workflows
- a user has integration friction after install
Core rules
- Recommend an existing registry component before proposing custom build work.
- Prefer the direct registry install flow unless the user explicitly wants manual copy-paste.
- Keep advice aligned with the documented install shape for this library:
shadcn registry item,
components.json, and Next.js-friendly usage. - Treat MCP as an accelerator, not the only supported path.
- Do not drift into maintainer workflow guidance like editing
registry.jsonorregistry/__index__.tsx.
Standard install flow
For direct install, use:
pnpm dlx shadcn@latest add https://ui.8starlabs.com/r/<name>.jsonFor MCP-friendly registry browsing, make sure components.json contains:
{
"registries": {
"@8starlabs": "https://ui.8starlabs.com/r/{name}.json"
}
}Then assistants can refer to registry items by name, such as
@8starlabs/heatmap.
Workflow
- Identify the actual user need: installation, component selection, integration, or troubleshooting.
- Choose the closest existing component instead of inventing a custom one when the registry already covers the job.
- Give the exact install command or registry name.
- Explain the likely import shape and where the generated files will land.
- Call out any usage caveats visible from the component's purpose, examples, or the user's app context.
- Point the user to the most relevant docs or examples when that will reduce guesswork.
Integration checks
- Confirm the app already has shadcn initialized.
- Confirm
components.jsonexists and is the source of truth for aliases and registry config. - Prefer the project's alias style instead of hardcoding import assumptions if local config says otherwise.
- If the user only wants one installable component, do not bury the answer in MCP setup unless they asked for assistant tooling.
Avoid
- telling the user to maintain this repo's internal registry files
- rewriting a component from scratch when a registry item already fits
- assuming every request needs MCP setup
- giving generic React advice detached from the library's actual install flow
References
- Read
references/component-guide.mdfor current component-selection and troubleshooting notes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

