Bevy Help
Use this skill for any Bevy-related question, not just exact symbol lookup. It should be the default tool for Bevy API questions, feature design, architecture, and implementation-pattern questions such as "how do I add snow particles?" The local docs cache includes many examples that often provide the best pattern to copy. Keep answers targeted to the caller's question.
Single-version policy:
- Support the Bevy release installed in this skill's local docs cache.
- When the repo upgrades Bevy, update this skill forward and republish.
- Do not carry legacy compatibility guidance unless the caller explicitly asks about migration.
- If the project cannot be resolved to one current Bevy version, or it clearly targets a different release than the installed docs, stop and ask instead of blending sources from multiple versions.
This skill assumes the local docs cache is already installed. Do not try to install, refresh, or retarget it from inside this skill.
Required local paths:
${BEVY_HELP_SKILL_DIR}/docs/rustdoc/
${BEVY_HELP_SKILL_DIR}/docs/bevy/
${BEVY_HELP_SKILL_DIR}/docs/bevy-website/
If any required path is missing or unreadable, stop with an error and say the local bevy-help docs cache is unavailable.
Resolve the installed docs release from ${BEVY_HELP_SKILL_DIR}/docs/bevy/, then compare it with the target project's Bevy dependency from Cargo.toml, workspace manifests, and Cargo.lock when present.
If the project is not a Cargo package or workspace yet, or the Bevy version still cannot be resolved exactly, stop and ask what release to target.
Lookup order:
${BEVY_HELP_SKILL_DIR}/docs/rustdoc/
${BEVY_HELP_SKILL_DIR}/docs/bevy/ plus examples/ for the installed release
${BEVY_HELP_SKILL_DIR}/docs/bevy-website/ Learn content for the current release
- Small local notes in this skill, if any
- Web fallback only when the caller explicitly asks for it or the local stack is unavailable
Use only the minimum source needed:
- Exact API or symbol names: rustdoc first, then source if implementation details matter
- "How do I do X?": examples first, then rustdoc for exact names and signatures
- Feature-design or architecture question: examples first, then Learn content, then rustdoc for the exact types and signatures you recommend
- Recommendation or best-practice: examples, then rustdoc, then Learn content
- Behavior, warnings, or "why did Bevy do this?": crate source first, then rustdoc if you need the public surface
- Migration questions: only compare old and new APIs if the caller asked for migration help
Problem-shape heuristics:
- Pattern or architecture question -> examples first
- Warning, propagation, auto-inserted behavior, or hierarchy/debug question -> crate source first
- Exact symbol, trait bound, or signature question -> rustdoc first
Bevy-specific source traps:
- If behavior seems automatic, inspect component attributes such as
#[require(...)] and #[component(on_insert = ...)] in crate source.
- Rustdoc is best for public names and signatures, but it often hides the internal reason a behavior occurs.
- Learn content is advisory. If it disagrees with examples or crate source for the checked-out release, trust examples and source.
Common entry points:
- App setup:
App, Plugin, schedules, states, runners, DefaultPlugins
- ECS:
Commands, Component, Bundle, Query, resources, messages/events/observers, run conditions
- Assets and scenes:
AssetServer, handles, Assets<T>, scene loading and spawning types
- Cameras and rendering: camera setup, render layers, clear color, lighting examples
- UI:
bevy_ui node, text, button, image, layout, and interaction types
- Spatial setup:
Transform, GlobalTransform, hierarchy helpers, 2D vs 3D camera patterns
When answering:
- Start with the concrete answer, not version boilerplate.
- Name the exact files or pages you checked.
- Separate doc facts from inference.
- Mention feature gates or crate boundaries only when they affect the answer.
- If you give code, use only symbols you verified in the current sources.
- If compiler output or runtime behavior disagrees with the local docs, call out a likely version mismatch or stale local cache instead of guessing.
Mandatory action after every successful lookup:
- Append one short entry to
./.bevy-help.log before returning. Create the file if it does not exist, and always append rather than replace existing entries.
- Record only:
requested: what the caller asked for
comment: a short note on the pattern, recommendation, or resolution
result_files: links or concrete file paths to the docs/examples you used
- Do not paste the full answer, long excerpts, or large code blocks into the log. Keep each entry short enough to scan later when compiling an FAQ.
Do not dump whole rustdoc pages or enumerate large directories.
1---2name: bevy-help3description: Look up current Bevy engine APIs, crates, examples, and patterns. Use for any Bevy-related question, including API lookup, feature design, architecture, and implementation patterns.4---56# Bevy Help78Use this skill for any Bevy-related question, not just exact symbol lookup. It should be the default tool for Bevy API questions, feature design, architecture, and implementation-pattern questions such as "how do I add snow particles?" The local docs cache includes many examples that often provide the best pattern to copy. Keep answers targeted to the caller's question.910Single-version policy:1112- Support the Bevy release installed in this skill's local docs cache.13- When the repo upgrades Bevy, update this skill forward and republish.14- Do not carry legacy compatibility guidance unless the caller explicitly asks about migration.15- If the project cannot be resolved to one current Bevy version, or it clearly targets a different release than the installed docs, stop and ask instead of blending sources from multiple versions.1617This skill assumes the local docs cache is already installed. Do not try to install, refresh, or retarget it from inside this skill.1819Required local paths:2021- `${BEVY_HELP_SKILL_DIR}/docs/rustdoc/`22- `${BEVY_HELP_SKILL_DIR}/docs/bevy/`23- `${BEVY_HELP_SKILL_DIR}/docs/bevy-website/`2425If any required path is missing or unreadable, stop with an error and say the local `bevy-help` docs cache is unavailable.2627Resolve the installed docs release from `${BEVY_HELP_SKILL_DIR}/docs/bevy/`, then compare it with the target project's Bevy dependency from `Cargo.toml`, workspace manifests, and `Cargo.lock` when present.2829If the project is not a Cargo package or workspace yet, or the Bevy version still cannot be resolved exactly, stop and ask what release to target.3031Lookup order:32331. `${BEVY_HELP_SKILL_DIR}/docs/rustdoc/`342. `${BEVY_HELP_SKILL_DIR}/docs/bevy/` plus `examples/` for the installed release353. `${BEVY_HELP_SKILL_DIR}/docs/bevy-website/` Learn content for the current release364. Small local notes in this skill, if any375. Web fallback only when the caller explicitly asks for it or the local stack is unavailable3839Use only the minimum source needed:4041- Exact API or symbol names: rustdoc first, then source if implementation details matter42- "How do I do X?": examples first, then rustdoc for exact names and signatures43- Feature-design or architecture question: examples first, then Learn content, then rustdoc for the exact types and signatures you recommend44- Recommendation or best-practice: examples, then rustdoc, then Learn content45- Behavior, warnings, or "why did Bevy do this?": crate source first, then rustdoc if you need the public surface46- Migration questions: only compare old and new APIs if the caller asked for migration help4748Problem-shape heuristics:4950- Pattern or architecture question -> examples first51- Warning, propagation, auto-inserted behavior, or hierarchy/debug question -> crate source first52- Exact symbol, trait bound, or signature question -> rustdoc first5354Bevy-specific source traps:5556- If behavior seems automatic, inspect component attributes such as `#[require(...)]` and `#[component(on_insert = ...)]` in crate source.57- Rustdoc is best for public names and signatures, but it often hides the internal reason a behavior occurs.58- Learn content is advisory. If it disagrees with examples or crate source for the checked-out release, trust examples and source.5960Common entry points:6162- App setup: `App`, `Plugin`, schedules, states, runners, `DefaultPlugins`63- ECS: `Commands`, `Component`, `Bundle`, `Query`, resources, messages/events/observers, run conditions64- Assets and scenes: `AssetServer`, handles, `Assets<T>`, scene loading and spawning types65- Cameras and rendering: camera setup, render layers, clear color, lighting examples66- UI: `bevy_ui` node, text, button, image, layout, and interaction types67- Spatial setup: `Transform`, `GlobalTransform`, hierarchy helpers, 2D vs 3D camera patterns6869When answering:7071- Start with the concrete answer, not version boilerplate.72- Name the exact files or pages you checked.73- Separate doc facts from inference.74- Mention feature gates or crate boundaries only when they affect the answer.75- If you give code, use only symbols you verified in the current sources.76- If compiler output or runtime behavior disagrees with the local docs, call out a likely version mismatch or stale local cache instead of guessing.7778Mandatory action after every successful lookup:7980- Append one short entry to `./.bevy-help.log` before returning. Create the file if it does not exist, and always append rather than replace existing entries.81- Record only:82 - `requested`: what the caller asked for83 - `comment`: a short note on the pattern, recommendation, or resolution84 - `result_files`: links or concrete file paths to the docs/examples you used85- Do not paste the full answer, long excerpts, or large code blocks into the log. Keep each entry short enough to scan later when compiling an FAQ.8687Do not dump whole rustdoc pages or enumerate large directories.