Discover version-aligned Jangle UI guidance without replacing application instructions.
Agent guidance
Jangle UI includes consumer guidance inside the Components package. A short hub routes to relevant component instructions, setup, themes, and release history. Developers can read the same files directly; agents do not need to scrape Storybook or access Jangle's source repository.
Set up discovery once
After installing Components, run the matching command from the application package directory:
| Tool | Command | Jangle-owned discovery file |
|---|---|---|
| GitHub Copilot | pnpm exec jangle-guidance setup copilot | .github/instructions/jangle-ui.instructions.md |
| Codex | pnpm exec jangle-guidance setup codex | .agents/skills/jangle-ui/SKILL.md |
| Claude Code | pnpm exec jangle-guidance setup claude | .claude/rules/jangle-ui.md |
| Cursor | pnpm exec jangle-guidance setup cursor | .cursor/rules/jangle-ui.mdc |
With npm, replace pnpm exec with npx --no-install. Run setup for each tool your team uses, then commit those files. Setup never edits AGENTS.md, CLAUDE.md, .github/copilot-instructions.md, or your editor settings, and refuses to replace a differing file or follow symlinked instruction paths.
These files point to the installed package rather than copying component guidance. Normal package upgrades refresh the guidance at that location; no repeat setup is needed while the workspace structure stays the same. Package installation alone does not configure every agent. Restart the agent session after setup or upgrades.
Understand discovery
Copilot uses its instruction-file mechanism; Claude Code and Cursor use their supported project-rule locations. Tool settings and versions may affect discovery. Codex discovers the jangle-ui skill and can load it when relevant; skill discovery does not mean all component rules are loaded into every turn. Invoke the skill explicitly when needed.
Confirm discovery in your tool's instruction or skill view, then ask it which installed Jangle guidance it is using. A file appearing on disk proves installation, not that an agent has loaded or followed it.
For an unlisted tool, open node_modules/@jangle-ui/components/dist/guidance/AGENTS.md and configure that tool to read it. We do not claim automatic support for every agent.
Workspaces and ownership
In a monorepo, run setup in each application package with a direct Components dependency. The generated paths are relative to that application. Open the application as the workspace or configure parent-repository discovery in tools that support it. Do not create several competing global bridges pointing at different installed versions.
Your application's explicit instructions take precedence. Keep local product rules and exceptions in application-owned files. The package owns component APIs, supported composition, and its documentation. Do not edit package contents or generated discovery files to customize component behavior.
The separately versioned Knowledge package remains available for teams that need an independent documentation bundle. Its version need not equal Components; read the installed manifest and package lockfile. Optional CLI commands remain a separate distribution and are not required by this setup.
Documentation surfaces
- Public documentation explains access, installation, themes, and integration.
- Public Storybook demonstrates component behavior, composition, accessibility responsibilities, and APIs.
- Installed guidance and contracts describe the version your application uses and remain available locally.
- Release notes explain what shipped and any upgrade action. Historical entries do not override current installed component guidance.
Tool references
Codex instruction discovery · VS Code instruction files · Claude Code memory · Cursor rules