Skill library

Agent skill UI design

Text Reveal

Refine how text looks and reads in a web interface.

  • Typography
  • Animation

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add https://github.com/arla6ka/skills/tree/main/vault/text-reveal/skill --skill text-reveal --agent claude-code --yes

Check this file in your project.claude/skills/text-reveal/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/arla6ka/skills/tree/main/vault/text-reveal/skill --skill text-reveal

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use a React project with TypeScript support, a local preview, and Node.js for the bundled source check.

View operation manual

What this skill helps with

  • Refine how text looks and reads in a web interface.

Good for

  • Type and readability
Starting point
Bundled assets/template/ and its local helper files.
Example destination
components/text-reveal
Parameters to try
TEXT_PAIRS, HOLD_MS
Visual acceptance
Use two text blocks of different lengths and check that both sharpen and remain legible during the hold.
Skill name
text-reveal
Repository
arla6ka/skills

Keep the effect’s behavior while adapting it to your page

Too little context

Use text-reveal to animate my homepage.

The assistant may copy only the visible component and miss the bundled helpers, or change parts of the animation that the publisher marks as fixed.

A reproducible preview

  1. Mount the bundled example on one local route and check the default behavior.
  2. Adjust the documented options starting with TEXT_PAIRS, HOLD_MS.
  3. Run the source check on your copy, then verify the rendered effect.

Text Reveal operation manual

Start from the published template, then adapt the knobs marked variable and verify the result in your existing site.

Find text-reveal in the assistant’s installed project Skills. Choose a local React route and an area where this effect serves a clear purpose.

  1. Mount the original template on a local route

    Establish a working baseline before adjusting the effect.

    • A local route renders the default effect.
    • The reserved area does not jump when the effect loads.
    Prompt · Step 1
    Use the text-reveal Skill from design.how. Read its Workflow and FIXED sections and inspect the installed assets/template/ directory. Copy the required template and bundled helpers to [Target folder], using components/text-reveal if it fits this project. Mount it in [Local preview route] and follow the Skill’s sizing, font and asset instructions. Keep the defaults for the first preview. Give me the working URL, changed files and any missing project dependency or asset.
  2. Change documented parameters

    Start with TEXT_PAIRS, HOLD_MS and preserve the behavior defined in FIXED.

    • Use two text blocks of different lengths and check that both sharpen and remain legible during the hold.
    Prompt · Step 2
    Continue in [Target folder] with the installed text-reveal Skill. Open the VARIABLE table, confirm where TEXT_PAIRS, HOLD_MS are set, and apply [Requested text, assets or tuning] using documented parameters. Use project-owned or authorized assets. Preserve the implementation choices listed under FIXED. Run the preview again. Use two text blocks of different lengths and check that both sharpen and remain legible during the hold.
  3. Run the bundled check and review the live preview

    The script checks the source contract. Browser checks confirm the real result.

    • The checker exits successfully.
    • The effect fits on narrow screens.
    • Reduced motion and any interactive behavior are checked in the browser.
    Prompt · Step 3
    From [Project root], run node "[Installed skill directory]/scripts/check.mjs" "[Target folder]" for the copied text-reveal component. Replace both paths with their actual locations. Report its output. In [Local preview route], check [Desktop viewport], [Mobile viewport] and reduced motion. Use two text blocks of different lengths and check that both sharpen and remain legible during the hold. Check the component recovers when remounted and that any required controls remain usable. Report the checks you actually ran and any missing runtime checks.

Look up a specific effect problem

Compare the preview and the copied source against the publisher’s documented contract.

Find where to adjust the effectVARIABLE
Command or reference
TEXT_PAIRS, HOLD_MS
Examples
Use two text blocks of different lengths and check that both sharpen and remain legible during the hold.
Validate the copied sourcecheck.mjs
Command or reference
scripts/check.mjs
Examples
node "[Installed skill directory]/scripts/check.mjs" "[Target folder]"

Troubleshooting and FAQ

Why is the preview blank or missing a piece?

Open the installed Workflow and check the required helper imports, styles and local assets. Render the unchanged template first to isolate the difference.

What does the script validate?

It checks detectable source patterns such as reduced motion and cleanup. Use the browser to verify the actual visual result and interaction.