GitHub
Translate

Opens Google Translate in a new tab. Website translation availability varies by region. Details

LLM DOCUMENTATION · AGENT SKILL

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.

What the AI resources do They provide context and step-by-step integration guidance to an AI coding assistant. Code generation happens in the assistant you choose. FluxFX only runs the browser animations in your web project.

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

ResourceContentsBest forOpen
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

  1. Start with llms.txt and ask the assistant to follow the most relevant guide.
  2. Use llms-full.txt if the assistant cannot fetch links or needs a broader overview.
  3. For exact props and defaults, link the specific effect page and the Engine API; these are the human-readable references.
  4. 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:

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:

Terminal • bash
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

  1. Tell the assistant your framework, target component, desired effect, and device constraints.
  2. Ask it to read the effect reference and the relevant framework guide before editing code.
  3. Have it use the package entry points and options documented for the installed FluxFX version.
  4. Review the client boundary, non-zero WebGL container size, cleanup path, and reduced-motion behavior.
  5. Build and test in your application on the browsers and devices you support.
Review generated code The docs help an assistant produce a better starting point; they do not verify its changes. Check generated code against the installed package, especially when the package version and online docs differ.

Prompt template

Include the project context and ask the assistant to verify its assumptions:

Prompt • text
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.