agentleFS
taljeontaljeon/plzdo/skills/astryx-design-system/SKILL.md

astryx-design-system

Skill9 starsChanged 17 days agoMITView on GitHub

Use Meta's Astryx design system for a specific React/StyleX project as a component, theme, template, and agent-readable CLI source. Trigger when the user mentions Astryx, @astryxdesign packages, Astryx components or themes, or asks whether Astryx should be used for a frontend. Start with catalog/source assessment; execute an installed CLI only after local script/config code-execution preflight, and route target mutations through the governing project gate.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Astryx when a React project benefits from an accessible component system, coherent theming, application templates, or structured …

    line 8
  2. Very specific:

    Read the target project's AGENTS.md, package manifest, existing design system, tokens, components, and DESIGN.md first.

    line 12
  3. Distinctive:

    If another design system is already established, preserve it unless the user explicitly approves migration or coexistence.

    line 13
  4. Very specific:

    Before recommending adoption, verify Node.js >=22.13.0, React and ReactDOM >=19, and @stylexjs/stylex ^0.19 against the target project.

    line 15
  5. Distinctive:

    After that preflight, inspect the installed CLI capability manifest first, then use typed JSON output instead of scraping docs or assuming …

    line 16
  6. Very specific:

    Before implementation, render the exact package/file change plan.

    line 29
  7. Distinctive:

    Verify the implemented result with screenshots, responsive checks, keyboard navigation, accessibility checks, and the project's normal …

    line 30
  8. Very specific:

    Treat these as project mutations.

    line 34
  9. Distinctive:

    Prefer theme tokens before component wrappers or source ejection.

    line 47
  10. Distinctive:

    Check the target audience against Astryx browser-support tiers before adoption.

    line 50
  11. Very specific:

    Use stable CLI error codes and response type fields, never human-readable error text, in automation.

    line 51
  12. Very specific:

    Do not connect the hosted Astryx MCP endpoint (https://astryx.atmeta.com/mcp) or another remote integration by default.

    line 52
  13. Distinctive:

    Do not copy Meta branding, demo assets, or complete examples without checking license and product fit.

    line 53

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

Astryx Design System

Use Astryx when a React project benefits from an accessible component system, coherent theming, application templates, or structured component documentation for agents.

Route

  1. Read the target project's AGENTS.md, package manifest, existing design system, tokens, components, and DESIGN.md first.
  2. If another design system is already established, preserve it unless the user explicitly approves migration or coexistence.
  3. Before executing an installed Astryx CLI, inspect the target project's package manager, package.json scripts (preastryx, astryx, postastryx), astryx.config.*, and configured integration module paths. Astryx can import and execute user-authored config/integration code even on commands with no intended file writes. If that code is untrusted or cannot be reviewed, stop at catalog/source assessment.
  4. Before recommending adoption, verify Node.js >=22.13.0, React and ReactDOM >=19, and @stylexjs/stylex ^0.19 against the target project. Treat a mismatch as reference only unless a separately approved migration resolves it.
  5. After that preflight, inspect the installed CLI capability manifest first, then use typed JSON output instead of scraping docs or assuming a command shape. Use the project's existing package manager; the examples below use a previously reviewed npm script:
npm run astryx -- manifest --json
npm run astryx -- search "<need>" --json
npm run astryx -- component <Name> --json
npm run astryx -- template --list --json
npm run astryx -- docs <topic> --json
npm run astryx -- doctor --json
  1. If the project has no reviewed script, use a physical node_modules/@astryxdesign/cli/bin/astryx.mjs only when that exact dependency already exists and its package metadata has been inspected. If the package manager uses another layout, stop rather than synthesizing a global, floating npx, or network-backed invocation. Re-check the manifest when the installed version differs from the audited snapshot below.
  2. Select the smallest relevant component, pattern, or template. Translate the result into the project's own design constraints rather than making every product look like the demo site.
  3. Before implementation, render the exact package/file change plan. Under PlzDo Core, do not mutate a target repository directly: route the plan through hn 적용 계획, then use hn 적용 실행 only after its P5 confirmation and approval checks.
  4. Verify the implemented result with screenshots, responsive checks, keyboard navigation, accessibility checks, and the project's normal frontend tests.

Mutation Boundary

Treat these as project mutations. Under PlzDo Core they require the P5 plan/apply path above, not a direct skill action:

  • installing @astryxdesign/* packages;
  • astryx init;
  • copying a template into the project;
  • swizzle or any source ejection;
  • upgrade --apply or codemods;
  • theme builds that write generated files.

Before one of those actions, report the target project, exact package versions, registry provenance/integrity evidence when available, lockfile impact, files to be written, rollback path, browser-support implications, and coexistence or migration plan. Preserve the Astryx MIT copyright and permission notice when copying or swizzling a substantial portion of upstream source.

Design Rules

  • Prefer theme tokens before component wrappers or source ejection.
  • Preserve the target product's purpose, density, brand, and existing navigation model.
  • Astryx is currently beta; pin compatible package versions and keep all @astryxdesign/* packages aligned.
  • Check the target audience against Astryx browser-support tiers before adoption.
  • Use stable CLI error codes and response type fields, never human-readable error text, in automation.
  • Do not connect the hosted Astryx MCP endpoint (https://astryx.atmeta.com/mcp) or another remote integration by default. It is provider egress and needs an explicit project/provider preflight; the reviewed local CLI path is sufficient for normal agent-readable discovery.
  • Do not copy Meta branding, demo assets, or complete examples without checking license and product fit.

Output

Return:

  • Fit: adopt, reference only, coexist, or reject, with the reason;
  • Use: selected components, theme, template, or CLI docs;
  • Mutation: exact packages/files requiring approval;
  • Verify: visual, accessibility, responsive, and test evidence;
  • Risk: beta/version, browser, migration, or source-ejection risk.

Audited snapshot: facebook/astryx@2e2e960468150aa9373aed9f6b02e3b2a6d8d07b (observed 2026-07-19), @astryxdesign/cli@0.1.6, MIT. Official sources: https://github.com/facebook/astryx and https://astryx.atmeta.com.

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.