AI assistance
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.
The editable skill is skills/ui-awesome-html-helper/SKILL.md.
It guides framework-agnostic attribute rendering, encoding, CSS classes, form naming, and template composition.
The documentation site imports this source unchanged; generated copies are not edited separately.
Install in an application
Section titled “Install in an application”Automatic Composer installation
Section titled “Automatic Composer installation”Use the Composer setup guide
to configure llm/skills in the application. Trust ui-awesome/html-helper explicitly in
dependencies.composer.trusted and enable auto-sync in skills.json if automatic updates are wanted.
The installed package must contain the bundle declared by extra.skills.source.
composer installcomposer skills:showWith automatic synchronization disabled, run composer skills:update explicitly. Package installation alone does not
make a skill in vendor/ discoverable from the application root. Metadata alone does not install the synchronizer.
Optional npx installation
Section titled “Optional npx installation”Alternatively, from the application root, list and install the complete bundle with the pinned optional installer:
npx skills@1.7.2 add /absolute/path/to/html-helper --listnpx skills@1.7.2 add /absolute/path/to/html-helper \ --skill ui-awesome-html-helper --agent claude-code codex opencodeThe path may point to a checkout or vendor/ui-awesome/html-helper when that installed version includes the skill.
Use a GitHub source only after listing confirms that its revision contains the bundle. Linked installations track
their source; copied installations must be refreshed after updates.
Verify discovery and behavior
Section titled “Verify discovery and behavior”This source checkout links .agents/skills/ui-awesome-html-helper and .claude/skills/ui-awesome-html-helper to
skills/ui-awesome-html-helper. Codex and OpenCode use the first discovery path; Claude Code uses the second.
Both links share the canonical source rather than maintaining separate client copies. The discovery directories are
excluded from distribution archives; consumers install the canonical bundle in their own application as described above.
For manual installation, copy or link the whole ui-awesome-html-helper directory to the project’s client skill
location: .claude/skills/ for Claude Code or .agents/skills/ for Codex and OpenCode. Do not maintain divergent
client-specific instruction copies.
- Verify that the installed directory contains
SKILL.mdand valid frontmatter. - Open a fresh client session at the application root and check its skill list.
- Invoke
/ui-awesome-html-helperin Claude Code,$ui-awesome-html-helperin Codex, or ask OpenCode to load it. - Confirm that the skill body was loaded, then test the generated PHP against the installed package.
Installer listing proves installer discovery, not client activation. Reading the file directly is useful but is not proof of native activation. Model evaluations and maintainer fixtures are private and are not part of the bundle.
Example prompts
Section titled “Example prompts”After native activation, use a task such as the examples below. In Codex, start with $ui-awesome-html-helper;
in Claude Code, invoke /ui-awesome-html-helper. In clients with a native skill tool, ask it to load
ui-awesome-html-helper before the task. These prompts do not replace installation or prove activation.
Render a button and prepare DOM attributes
Section titled “Render a button and prepare DOM attributes”Render a button from an untrusted label using ui-awesome/html-helper. Preserve false ARIA values, omit a false disabled attribute, and include a nested data-payload object. Also return raw attributes for DOMDocument and verify that the two output paths do not double-encode values.Update an attribute bag
Section titled “Update an attribute bag”Use ui-awesome/html-helper to update an existing attribute bag. Remove id with a closure returning null, resolve another closure value, and preserve a Stringable label until rendering. Verify the resulting values and explain which methods accept Stringable keys.Encode template values by context
Section titled “Encode template values by context”Use ui-awesome/html-helper to render a template with an untrusted title attribute and text content. Encode each value for its destination, preserve line breaks inside token values, and test quotes, ampersands and markup. Do not treat token substitution as sanitization.For an automatic-selection check, repeat a relevant task without naming the skill and compare it with an unrelated task. Record actual loading evidence and executable results separately; a correct answer alone is not proof of activation.