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.
In this repository56 other files it gives its agents.
- harness/CLAUDE.mdCLAUDE.md
- academic-research-routerSkill
- accessibilitySkill
- adaptive-project-harnessSkill
- anti-slopSkill
- apple-designSkill
- arenaSkill
- attention-spanSkill
- copywritingSkill
- crash-outSkill
- croSkill
- cybersecurity-skill-routerSkill
- design-isms-referenceSkill
- design-minimal-blue-pitchdeckSkill
- design-source-routerSkill
- design-specSkill
- diagnosing-bugsSkill
- emil-design-engSkill
- external-review-routerSkill
- frontend-designSkill
- gh-address-commentsSkill
- handoffSkill
- humanize-japaneseSkill
- hyperframes-animationSkill
- hyperframes-audioSkill
- hyperframes-cliSkill
- hyperframes-coreSkill
- hyperframes-creativeSkill
- hyperframes-keyframesSkill
- hyperframes-registrySkill
- hyperframesSkill
- hyperframes-studioSkill
- impeccableSkill
- implement-changeSkill
- leak-checkSkill
- library-docsSkill
- loop-librarySkill
- media-useSkill
- motion-graphicsSkill
- obsidian-memory-routerSkill
- openpencil-cliSkill
- ponytailSkill
- product-marketingSkill
- project-startSkill
- pr-ossSkill
- remove-ai-marksSkill
- requirements-clarificationSkill
- retroSkill
- review-changeSkill
- screenshotSkill
- security-auditSkill
- startup-evidenceSkill
- taste-guided-uiSkill
- team-patternsSkill
- understandSkill
- verification-before-completionSkill
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
- Distinctive: line 8
Use Astryx when a React project benefits from an accessible component system, coherent theming, application templates, or structured …
- Very specific: line 12
Read the target project's AGENTS.md, package manifest, existing design system, tokens, components, and DESIGN.md first.
- Distinctive: line 13
If another design system is already established, preserve it unless the user explicitly approves migration or coexistence.
- Very specific: line 15
Before recommending adoption, verify Node.js >=22.13.0, React and ReactDOM >=19, and @stylexjs/stylex ^0.19 against the target project.
- Distinctive: line 16
After that preflight, inspect the installed CLI capability manifest first, then use typed JSON output instead of scraping docs or assuming …
- Very specific: line 29
Before implementation, render the exact package/file change plan.
- Distinctive: line 30
Verify the implemented result with screenshots, responsive checks, keyboard navigation, accessibility checks, and the project's normal …
- Very specific: line 34
Treat these as project mutations.
- Distinctive: line 47
Prefer theme tokens before component wrappers or source ejection.
- Distinctive: line 50
Check the target audience against Astryx browser-support tiers before adoption.
- Very specific: line 51
Use stable CLI error codes and response type fields, never human-readable error text, in automation.
- Very specific: line 52
Do not connect the hosted Astryx MCP endpoint (https://astryx.atmeta.com/mcp) or another remote integration by default.
- Distinctive: line 53
Do not copy Meta branding, demo assets, or complete examples without checking license and product fit.
≈ “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
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
- Read the target project's
AGENTS.md, package manifest, existing design system, tokens, components, andDESIGN.mdfirst. - If another design system is already established, preserve it unless the user explicitly approves migration or coexistence.
- Before executing an installed Astryx CLI, inspect the target project's package manager,
package.jsonscripts (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. - Before recommending adoption, verify Node.js
>=22.13.0, React and ReactDOM>=19, and@stylexjs/stylex ^0.19against the target project. Treat a mismatch asreference onlyunless a separately approved migration resolves it. - 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- If the project has no reviewed script, use a physical
node_modules/@astryxdesign/cli/bin/astryx.mjsonly 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, floatingnpx, or network-backed invocation. Re-check the manifest when the installed version differs from the audited snapshot below. - 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.
- 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 usehn 적용 실행only after its P5 confirmation and approval checks. - 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;
swizzleor any source ejection;upgrade --applyor 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
typefields, 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.
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.

