AI RESOURCES
AI Agent Resources
Copy-ready context and a complete documentation map for coding agents working with Plumeria.
Plumeria's documentation is available as plain Markdown for Claude, Codex, Gemini, ChatGPT, and other coding agents. Start with installation, then add only the references the task needs.
Installation comes first
Always load the installation guide before asking an agent to write Plumeria. The compiler and bundler integration are part of the programming model, not optional setup around it.
Start here
Copy this into your agent's prompt. It establishes the correct reading order and gives the agent the complete Plumeria rule set before it edits code.
Read these Plumeria documents in order before making changes:
1. Installation — https://plumeria.dev/docs/installation.md
2. Rules for AI agents — https://plumeria.dev/docs/ai.md
3. Introduction and core usage — https://plumeria.dev/docs.md
Follow AI.md as authoritative. Inspect the existing project's bundler and framework,
then read the matching integration guide before changing configuration. Do not apply
runtime CSS-in-JS conventions to Plumeria: its styles are compiled statically.The installation guide covers the package, styling-prop declaration, ESLint setup, and the compiler integration required for Next.js and Vite. For another bundler, append its guide from Integrations.
https://plumeria.dev/docs/installation.md
https://plumeria.dev/docs/ai.md
https://plumeria.dev/docs.mdClaude Code plugin
Install the Plumeria plugin in Claude Code directly from its GitHub repository:
/plugin marketplace add zss-labs/plumeria
/plugin install plumeria@plumeriaIts skill is generated from AI.md, so it stays in sync with these rules, and Claude loads it whenever a task touches Plumeria styles.
Add context for the task
Keep the three documents above, then append one of these focused sets.
Writing components and styles
Use this set for everyday component work, selectors, composition, dynamic values, themes, animations, and style props.
https://plumeria.dev/docs/selector-rules.md
https://plumeria.dev/docs/specificity.md
https://plumeria.dev/docs/thinking-in-plumeria.md
https://plumeria.dev/docs/api/packages/wind.md
https://plumeria.dev/docs/api/javascript/create.md
https://plumeria.dev/docs/api/javascript/createStatic.md
https://plumeria.dev/docs/api/javascript/createTheme.md
https://plumeria.dev/docs/api/javascript/keyframes.md
https://plumeria.dev/docs/api/javascript/marker.md
https://plumeria.dev/docs/api/javascript/positionTry.md
https://plumeria.dev/docs/api/javascript/use.md
https://plumeria.dev/docs/api/javascript/varType.md
https://plumeria.dev/docs/api/javascript/viewTransitionClass.mdTooling, testing, and migration
Use this set when configuring linting, testing compiler output, or migrating an existing codebase.
https://plumeria.dev/docs/editor-integration.md
https://plumeria.dev/docs/testing.md
https://plumeria.dev/docs/testing/vitest.md
https://plumeria.dev/docs/testing/jest.md
https://plumeria.dev/docs/api/plugins/eslint-plugin.md
https://plumeria.dev/docs/api/plugins/eslint-plugin/optional-rules.md
https://plumeria.dev/docs/api/migrate/init.md
https://plumeria.dev/docs/api/migrate/migrate.md
https://plumeria.dev/docs/api/migrate/codemod.mdComponents and distribution
Use this set for component libraries, framework components, or development inspection.
https://plumeria.dev/docs/integration/frameworks.md
https://plumeria.dev/docs/creating-packages.md
https://plumeria.dev/docs/api/packages/headlessui.md
https://plumeria.dev/docs/api/packages/inspector.mdIntegrations
Load the guide that matches the project. Each page includes installation and a working configuration.
Next.js https://plumeria.dev/docs/integration/next.md
Vite https://plumeria.dev/docs/integration/vite.md
Bun https://plumeria.dev/docs/integration/bun.md
esbuild https://plumeria.dev/docs/integration/esbuild.md
Farm https://plumeria.dev/docs/integration/farm.md
Rollup https://plumeria.dev/docs/integration/rollup.md
Rolldown https://plumeria.dev/docs/integration/rolldown.md
Rspack https://plumeria.dev/docs/integration/rspack.md
webpack https://plumeria.dev/docs/integration/webpack.md
Frameworks https://plumeria.dev/docs/integration/frameworks.mdThe lower-level plugin references document every configuration option:
Next.js plugin https://plumeria.dev/docs/api/plugins/next-plugin.md
Unplugin https://plumeria.dev/docs/api/plugins/unplugin.md
ESLint plugin https://plumeria.dev/docs/api/plugins/eslint-plugin.mdComplete documentation map
Use this map when an agent needs to discover material outside the focused sets above. It covers every documentation section, from concepts through the API reference.
| Area | What it contains | Markdown |
|---|---|---|
| Getting started | Installation, selector rules, editor and ESLint setup | Open section · Markdown |
| Core concepts | Why Plumeria, compile-time behavior, modules, composition | Introduction · Why Plumeria · Thinking in Plumeria · Composition laws |
| JavaScript API | create, static styles, themes, keyframes, markers, transitions, typed custom properties, position fallbacks, and use | Open section · Markdown |
| Types | Style and the types that narrow or read it | Open section · Markdown |
| Components | Headless UI integration and the development inspector | Open section · Markdown |
| Wind | Tailwind CSS design values as static tokens | Open section · Markdown |
| Plugins and tools | Next.js, unplugin, Jest, ESLint, init, and codemods | Open section · Markdown |
| Integrations | Nine bundlers, frameworks, and package distribution | Open section · Markdown |
| Testing | Components in Vitest and Jest, jsdom, and type testing | Open section · Markdown |
| Specificity | How atomic classes rank when styles conflict | Open section · Markdown |
Fetch Markdown
Add .md to any documentation URL to get the page as raw Markdown. The response includes its title and canonical URL.
https://plumeria.dev/docs/testing.md
https://plumeria.dev/docs/api/javascript/create.md
https://plumeria.dev/docs/integration/webpack.mdFor broad research, use the generated machine-readable indexes:
llms.txt
Every page with its title, URL, and description
llms-full.txt
The complete documentation concatenated into one file
AI.md
Authoritative rules and mental models for agents
Working examples
The examples/ directory contains compiling projects for Next.js, Vite, Rollup, Rspack, webpack, esbuild, Bun, Farm, and Rolldown, plus React Router, Waku, Vue, Svelte, Solid, Qwik, Preact, Astro, and Storybook. Point an agent to the matching example when it needs a complete configuration rather than an isolated snippet.