Agent skill

Bevy Text

by nolantait in nolantait/bevy-starter

Reference for text rendering in Bevy — Text vs Text2d, styling, text spans, changing text at runtime, clicking text, and font rendering.

MITAuto-check passed

Install Bevy Text

skills CLI
$ npx skills add nolantait/bevy-starter --skill bevy-text -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nolantait/bevy-starter bevy-text --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nolantait/bevy-starter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/bevy-text .claude/skills/bevy-text && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bevy-text
GitHub stars
132
Token cost
~559 tokens
SKILL.md length
83 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

Reference for text rendering in Bevy — Text vs Text2d, styling, text spans, changing text at runtime, clicking text, and font rendering.

  • SKILL.md covers Text vs Text2d, Creating text, Styling components and Multi-style text (TextSpan), plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Bevy Text is an agent skill from nolantait/bevy-starter. Reference for text rendering in Bevy — Text vs Text2d, styling, text spans, changing text at runtime, clicking text, and font rendering.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A minimalist starter for bevy and rust. The licence is MIT.

Example prompts

  • “/bevy-text”

What it can do on your machine

Read from SKILL.md and the folder at commit dd6f56b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are rust).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bevy Text loads about 559 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 83 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~559

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nolantait/bevy-starter at commit dd6f56b, republished under its MIT licence (© nolantait). 83 words, ~559 tokens.

Download SKILL.mdSave it as .claude/skills/bevy-text/SKILL.md (or your agent's skills folder).
name
bevy-text
description
Reference for text rendering in Bevy — Text vs Text2d, styling, text spans, changing text at runtime, clicking text, and font rendering.
metadata.crate
bevy_text
metadata.bevy
0.19

Text vs Text2d

ComponentUse case
TextUI text (fixed position, in HUD/inventory)
Text2dScene text (floating damage, world-space labels)

Creating text

rust
// In scene
commands.spawn((
  Text2d::new("Hello"),
  TextFont::from(font_handle).with_font_size(FontSize::Px(60.0)),
  TextColor::WHITE,
  // `TextLayout::justify` only aligns the lines *within* the block of text.
  TextLayout::justify(Justify::Center),
  // Wrapping and truncation are controlled by `TextBounds`, not by the `Node`.
  TextBounds::new_horizontal(300.0),
  // `Anchor` controls where the text sits relative to its `Transform`.
  Anchor::TOP_LEFT,
  Text2dShadow::default(),
));

// In UI
commands.spawn((
  Node { position_type: PositionType::Absolute, bottom: px(5.0), right: px(5.0), ..default() },
  Text::new("Hello"),
  TextFont::from(font_handle),
));

Styling components

  • TextLayout — alignment, line break behavior
  • TextFont — font, font size (with_font_size(FontSize::Px(..)))
  • TextColor — color override
  • TextBounds — wrapping/truncation (not the Node)
  • Anchor — where text sits relative to its Transform (Text2d)
  • Text2dShadow — shadow rendering for Text2d

Multi-style text (TextSpan)

rust
commands.spawn((
  Text::new("Here is some text. But "),
  TextFont::from(regular_font),
  children![(
    TextSpan::new("this part is bold"),
    TextFont::from(bold_font),
  )],
));

Changing text at runtime

rust
fn update(mut texts: Query<&mut Text, With<ItemName>>) {
  for mut text in &mut texts {
    text.0 = "New text".to_string();
  }
}

Clicking text

rust
fn handle_click(event: On<Pointer<Click>>, mut query: Query<&mut Text2d>) {
  query.get_mut(event.entity).unwrap().0 = "Clicked!".to_string();
}

commands.spawn(Text2d::new("Click me")).observe(handle_click);

Font files

Supported: ttf, otf. Default font: Fira Mono. Load via AssetServer.

Bevy 0.19+ supports OpenType font features.

© nolantait, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/bevy-text of nolantait/bevy-starter.

Open the folder on GitHubat commit dd6f56b

Compare with similar skills

Bevy Text next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bevy Text compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bevy Text this skillnolantait/bevy-starter132—~559Automated safety check: PassMIT
Styles Lintthedaviddias/Front-End-Checklist74k—~416Automated safety check: PassMIT
Focus Stylesthedaviddias/Front-End-Checklist74k—~639Automated safety check: PassMIT
Presentation Styling Referenceshanraisshan/claude-code-best-practice67k—~780Automated safety check: PassMIT
Inherit Legacy Styleaffaan-m/ECC276k1 repos~2.1kAutomated safety check: NotesMIT
Render Blockingthedaviddias/Front-End-Checklist74k—~430Automated safety check: PassMIT

Similar skills

  • Styles Lint

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Lint CSS and SCSS files.

    74k GitHub stars~416 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Focus Styles

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Provide visible custom focus indicators.

    74k GitHub stars~639 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Presentation Styling Reference

    shanraisshan/claude-code-best-practice

    Reference for the CSS classes, HTML slide patterns and code-block highlighting spans used in a project's presentation/index.html slide deck.

    67k GitHub stars~780 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Prevent AI style drift on legacy projects by scanning the codebase for implicit conventions, resolving conflicts with the operator one at a time, and writing an enforceable .ai-style-rules.md…

    276k GitHub starsUsed in 1 repo~2.1k tokens
    Agent WorkflowsAuto-check: notes
  • Render Blocking

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Eliminate render-blocking resources.

    74k GitHub stars~430 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Render

    LeoYeAI/openclaw-master-skills

    Deploy and operate apps on Render (Blueprint + one-click Dashboard deeplink, same flow as Codex render-deploy).

    2.2k GitHub stars~4.8k tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed

More from nolantait/bevy-starter

All 24 skills in this repo
  • Bevy Events

    nolantait/bevy-starter

    Reference for events, messages, and observers in Bevy — Message/MessageReader/MessageWriter, Event/EntityEvent, triggers, observers, and propagation.

    132 GitHub stars~867 tokensUpdated today
    Auto-check passed
  • Avian

    nolantait/bevy-starter

    Reference for Avian physics engine — rigid bodies, colliders, joints, spatial queries, collision events, character controllers, and debug rendering.

    132 GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Bevy Assets

    nolantait/bevy-starter

    Reference for loading, managing, and tracking assets in Bevy — AssetServer, handles, loading states, events, custom loaders, and hot reloading.

    132 GitHub stars~871 tokensUpdated today
    Auto-check passed
  • Bevy Audio

    nolantait/bevy-starter

    Reference for playing and controlling audio in Bevy — AudioPlayer, AudioSink, spatial audio, volume, and playback settings.

    132 GitHub stars~713 tokensUpdated today
    Auto-check passed
  • Bevy Bsn

    nolantait/bevy-starter

    Reference for Bevy Scene Notation (BSN) — the bsn!. An agent skill from nolantait/bevy-starter.

    132 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Bevy Cameras

    nolantait/bevy-starter

    Reference for cameras in Bevy — Camera2d, Camera3d, viewports, projection, render layers, mouse-to-world, and free camera controllers.

    132 GitHub stars~976 tokensUpdated today
    Auto-check passed

Questions about Bevy Text

What does Bevy Text do?

Reference for text rendering in Bevy — Text vs Text2d, styling, text spans, changing text at runtime, clicking text, and font rendering. Bevy Text is an agent skill from nolantait/bevy-starter. Reference for text rendering in Bevy — Text vs Text2d, styling, text spans, changing text at runtime, clicking text, and font rendering.

How do I install Bevy Text in Claude Code?

Run `npx skills add nolantait/bevy-starter --skill bevy-text -a claude-code`. Or copy the skill folder (.agents/skills/bevy-text in nolantait/bevy-starter) into .claude/skills/bevy-text in your project. Claude Code loads it when a task matches its description.

How do I install Bevy Text in Codex?

Run `npx skills add nolantait/bevy-starter --skill bevy-text -a codex`. Or copy the skill folder (.agents/skills/bevy-text in nolantait/bevy-starter) into .agents/skills/bevy-text in your project. Codex loads it when a task matches its description.

Can I use Bevy Text in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nolantait/bevy-starter --skill bevy-text -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bevy-text, .gemini/skills/bevy-text, .github/skills/bevy-text and .opencode/skills/bevy-text in your project.

What does Bevy Text need to run?

SKILL.md names no scripts, command-line tools or credentials: Bevy Text is instructions for the agent only.

Does Bevy Text access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bevy Text safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Bevy Text use?

Bevy Text is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bevy Text use?

About 559 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bevy Text?

Skills that share tags, products or a category with Bevy Text: Styles Lint (thedaviddias/Front-End-Checklist, 74k stars), Focus Styles (thedaviddias/Front-End-Checklist, 74k stars), Presentation Styling Reference (shanraisshan/claude-code-best-practice, 67k stars) and Inherit Legacy Style (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bevy Text?

nolantait (a GitHub user) maintains it in nolantait/bevy-starter, which has 132 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 8, 2026.

Source: nolantait/bevy-starter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.