AI Usage Guide
When generating code with an AI assistant, give it these rules. They prevent the most common integration mistakes.
LLM-Readable Docs
This site publishes Markdown files for AI tools during rspress build.
/llms.txt: compact documentation index with page links and summaries. Use this when the agent should choose only the relevant pages./llms-full.txt: full English documentation in one Markdown file. Use this when the agent has enough context budget and should understand the whole API surface./ko/llms.txtand/ko/llms-full.txt: Korean equivalents.
Before the public docs URL is available, build locally and read the generated
files from docs/doc_build/.
Recommended Prompt
Good Factory Shape
Common Mistakes To Avoid
- Do not call
createSwipeDeck()inside a component render path. - Do not use hooks from one factory to control a Root from another factory.
- Do not use array indexes as keys when items can be inserted, removed, or reordered.
- Do not use
useDeckInteractionfor committed business logic; use events for committed model changes. - Do not turn on
undoEnabledunless the deck exposes undo controls.
