Using FluxFX with AI coding assistants
FluxFX publishes machine-readable technical references and a focused integration skill for coding agents. These resources help tools find the correct installation, effect, options, and lifecycle guidance. FluxFX itself is a browser animation engine; it does not include AI models or an AI API.
LLM-ready documentation
The plain-text files are designed for retrieval and context windows. Use the small index when the agent can follow links, or give it the full text when you want a self-contained reference. Each file is served directly from the documentation site, without requiring an HTML page parser.
Which resource to use
| Resource | Contents | Best for | Open |
|---|---|---|---|
llms.txt | What FluxFX is, compatibility notes, and curated links to canonical guides. | Finding the right reference without loading everything. | Open index |
llms-full.txt | Install steps, framework examples, effects, engine methods, performance limits, and adoption notes. | Giving an assistant one larger technical context. | Open full reference |
SKILL.md | Agent instructions for effect selection, documented options, integration, and cleanup. | Repeated FluxFX coding tasks in a project or supported agent. | Open skill |
Give an LLM the right amount of context
- Start with llms.txt and ask the assistant to follow the most relevant guide.
- Use llms-full.txt if the assistant cannot fetch links or needs a broader overview.
- For exact props and defaults, link the specific effect page and the Engine API; these are the human-readable references.
- Ask the assistant to state which docs it relied on and flag anything the docs do not specify.
FluxFX agent skill
An agent skill is a SKILL.md file with a short description and
task-specific instructions. The FluxFX skill tells a coding agent when to
use it and gives it a workflow for integrating the library. It covers:
- Choosing between WebGL2 effects and DOM effects.
- Finding the correct HTML, React, Next.js, or Astro guide.
- Checking package exports and supported options instead of guessing.
- Handling element sizing, framework cleanup, reduced motion, and WebGL2 fallback.
- Avoiding fixed-FPS promises and distinguishing FluxFX from AI generation tools.
The skill is available as a direct
SKILL.md download.
Its source is also in the docs repository's skills/fluxfx/
directory so skill tools can discover it.
Install the skill in a coding agent
If the docs repository is public on GitHub, the Skills CLI can install the FluxFX skill into supported agents. Replace the placeholder with the owner and repository that host the FluxFX docs:
npx skills add <owner>/<fluxfx-docs-repository> --skill fluxfx
The CLI asks which agent and whether to install for this project or for your
user account. To check supported agents and other installation options, see
the Skills CLI documentation.
If you do not use the CLI, download SKILL.md and place it in
the skill directory recognized by your coding agent. Skill folder names
differ between tools, so follow that agent's documentation.
Recommended workflow
- Tell the assistant your framework, target component, desired effect, and device constraints.
- Ask it to read the effect reference and the relevant framework guide before editing code.
- Have it use the package entry points and options documented for the installed FluxFX version.
- Review the client boundary, non-zero WebGL container size, cleanup path, and reduced-motion behavior.
- Build and test in your application on the browsers and devices you support.
Prompt template
Include the project context and ask the assistant to verify its assumptions:
Integrate FluxFX into my [framework] project.
I want [effect name] on [component or section].
Read https://fluxfx.dev/llms.txt and the matching effect/framework pages first.
Use only exports and options supported by my installed FluxFX version.
Include lifecycle cleanup, reduced-motion behavior, and a WebGL2 fallback plan.
Do not promise a fixed frame rate. List anything I should verify locally. Continue with Getting Started, browse the effect catalog, or read the Engine API.