agentleFS
8starlabs8starlabs/ui/skills/8sl-consume-registry/SKILL.md

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.

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
  1. Very specific:

    Use this skill for downstream app work, not for maintaining the 8starlabs/ui repository itself.

    line 8
  2. Distinctive:

    If the project clearly differs, adapt.

    line 18
  3. Distinctive:

    Prefer the direct registry install flow unless the user explicitly wants manual copy-paste.

    line 31
  4. Very specific:

    Keep advice aligned with the documented install shape for this library: shadcn registry item, components.json, and Next.js-friendly usage.

    line 33
  5. Distinctive:

    Treat MCP as an accelerator, not the only supported path.

    line 35
  6. Very specific:

    Do not drift into maintainer workflow guidance like editing registry.json or registry/__index__.tsx.

    line 36
  7. Distinctive:

    Call out any usage caveats visible from the component's purpose, examples, or the user's app context.

    line 68
  8. Distinctive:

    Prefer the project's alias style instead of hardcoding import assumptions if local config says otherwise.

    line 78
  9. Distinctive:

    If the user only wants one installable component, do not bury the answer in MCP setup unless they asked for assistant tooling.

    line 80
  10. Very specific:

    Read references/component-guide.md for current component-selection and troubleshooting notes.

    line 92

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.json present

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

  1. Recommend an existing registry component before proposing custom build work.
  2. Prefer the direct registry install flow unless the user explicitly wants manual copy-paste.
  3. Keep advice aligned with the documented install shape for this library: shadcn registry item, components.json, and Next.js-friendly usage.
  4. Treat MCP as an accelerator, not the only supported path.
  5. Do not drift into maintainer workflow guidance like editing registry.json or registry/__index__.tsx.

Standard install flow

For direct install, use:

pnpm dlx shadcn@latest add https://ui.8starlabs.com/r/<name>.json

For 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

  1. Identify the actual user need: installation, component selection, integration, or troubleshooting.
  2. Choose the closest existing component instead of inventing a custom one when the registry already covers the job.
  3. Give the exact install command or registry name.
  4. Explain the likely import shape and where the generated files will land.
  5. Call out any usage caveats visible from the component's purpose, examples, or the user's app context.
  6. 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.json exists 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.md for current component-selection and troubleshooting notes.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.