AI assistance
The editable source is skills/yii2-bootstrap6-widgets/SKILL.md in this package. Its workflow covers Bootstrap 6 widget
selection, configuration, migration, assets, and output encoding. Guides stay in docs/; API contracts stay in PHPDoc
and the generated API reference. The documentation site consumes these sources to generate its published pages and skill
distribution. Edit the package sources, not generated copies.
Install in an application
Section titled “Install in an application”Automatic Composer installation
Section titled “Automatic Composer installation”Complete the
one-time application setup to enable
llm/skills and set auto-sync to true in skills.json. Approve yii2-extensions/bootstrap6 explicitly in
dependencies.composer.trusted. The installed package must include its skill bundle; its extra.skills.source declares
the directory.
composer installcomposer skills:showWith auto-sync enabled, later dependency installs and updates synchronize the skill automatically; no per-skill
installer is required. If auto-sync is false, run composer skills:update after dependency installation or updates.
Optional npx installation
Section titled “Optional npx installation”Run the pinned installer from the application root and select the clients you use:
npx skills@1.7.2 add yii2-extensions/bootstrap6 --skill yii2-bootstrap6-widgetsFor a local checkout, pass its directory instead:
npx skills@1.7.2 add /path/to/bootstrap6 --skill yii2-bootstrap6-widgetsTo inspect the source without installing, add --list. Omit --global for an application-specific installation. Review
the selected destination paths before proceeding; installing a Composer dependency in vendor/ does not make its skills
automatically discoverable from the application root.
Native discovery and activation
Section titled “Native discovery and activation”This package checkout includes links to the same canonical skill in .agents/skills/ and .claude/skills/. They
provide native project discovery without separate editable copies:
| Client | Project skill path | Explicit activation |
|---|---|---|
| Codex | .agents/skills/yii2-bootstrap6-widgets/SKILL.md | $yii2-bootstrap6-widgets or the skill selector |
| Claude Code | .claude/skills/yii2-bootstrap6-widgets/SKILL.md | /yii2-bootstrap6-widgets |
| OpenCode | .opencode/skills/, .agents/skills/, or .claude/skills/, followed by the skill folder | Native skill tool with yii2-bootstrap6-widgets |
OpenCode supports both shared paths; inspect its available skills and keep one effective entry if multiple aliases produce duplicates. The installer can create a destination or alias for the selected client. For project paths and client behavior, see Codex skills, Claude Code skills, and OpenCode skills.
Installation places files or links. Discovery exposes the skill’s name and description. Activation loads its
instructions, either explicitly or when the client’s selection matches the task. These are separate stages: installation
alone does not prove activation. After activation, the skill directs selective reading of the relevant local guides,
generated references, or published Markdown. A copied skill does not depend on ../../docs existing.
To check setup, start a fresh client session at the application root, inspect the available skills, then invoke the skill for one small widget task. Record discovery and activation separately from PHP lint, rendered output, and browser behavior. For automatic selection, repeat with a natural task prompt that does not name the skill.
Example prompts
Section titled “Example prompts”Start a fresh client session at the application root. The explicit example uses Codex’s $skill-name notation; use
/yii2-bootstrap6-widgets in Claude Code or the installed client’s native skill mechanism. Do not paste the skill body
and count that as native activation. These are tasks to execute and verify, not claims that an evaluation has passed.
Explicit invocation
Section titled “Explicit invocation”$yii2-bootstrap6-widgetsShow a Bootstrap 6 Toast that becomes visible after rendering and can be dismissed. Use the installed asset bundlemodule API rather than window.bootstrap. Include the rendered markup and a browser verification plan.Inspect the installed revision first. Do not install dependencies or change files without authorization.Natural selection
Section titled “Natural selection”I am migrating a Yii view from Bootstrap 5 to Bootstrap 6. How should I replace Modal and its initialization withoutassuming that namespaces are the only difference?Verify the outcome
Section titled “Verify the outcome”Check the installed widget API, module registration and actual show/dismiss behavior; PHP markup alone does not prove JavaScript interaction. Record native loading evidence separately from configuration review, executable checks and browser/runtime results. For a negative selection control, ask an unrelated question in a fresh session and confirm this package skill is not loaded. Keep evaluation traces private; report unavailable checks rather than treating discovery as execution.