Index of every page on this site: llms.txt
All skills
vuejs-ai avatar

/vue-jsx-best-practices

@198f0cd official
by Vue AIvuejs-ai/skills3.4k stars
199
Run it yourself

JSX syntax in Vue (e.g., class vs className, JSX plugin config).

Use this Skill: https://skilld.dev/gh/vuejs-ai/skills/vue-jsx-best-practices

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈22 tokens for metadata: the name and description. ≈55 when used: this file. ≈1k more on demand in 1 file.

Description uses 1.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈89 characters, or 1.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Vue JSX best practices and differences from React JSX.

JSX

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides educational documentation and configuration examples for using JSX in Vue projects. It contains no malicious code, unauthorized network access, or sensitive data handling.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer8mo

    2 files scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 198f0cd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Activeupdated 10 months ago
version
2.0.0
author
github.com/vuejs-ai

README badge

README badge for vuejs-ai/skills/vue-jsx-best-practices

Explains Vue JSX syntax differences from React, including attribute naming (class vs className) and plugin configuration. Use this when migrating React JSX components to Vue or resolving attribute type errors in Vue's JSX setup.

Generated from the current SKILL.md.

How does Vue JSX differ from React JSX?
Vue uses different attribute syntax (e.g., class instead of className) and has different JSX plugin configuration. The skill covers these differences and the migration path from React JSX.
Will this help me migrate React JSX code to Vue?
Yes. The skill includes guidance on migrating React JSX to Vue, including attribute name changes and syntax adjustments.
Does this address JSX attribute type errors in Vue?
Yes. The skill covers common attribute type errors that occur when writing JSX in Vue and how to resolve them.

Generated from the current SKILL.md. These answers refresh after source changes.