Zum Inhalt springen
PHP Ecosystem
Explore

AI assistance

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

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.

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.

Terminal window
composer install
composer skills:show

With 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.

Run the pinned installer from the application root and select the clients you use:

Terminal window
npx skills@1.7.2 add yii2-extensions/bootstrap6 --skill yii2-bootstrap6-widgets

For a local checkout, pass its directory instead:

Terminal window
npx skills@1.7.2 add /path/to/bootstrap6 --skill yii2-bootstrap6-widgets

To 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.

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:

ClientProject skill pathExplicit 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 folderNative 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.

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.

$yii2-bootstrap6-widgets
Show a Bootstrap 6 Toast that becomes visible after rendering and can be dismissed. Use the installed asset bundle
module 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.
I am migrating a Yii view from Bootstrap 5 to Bootstrap 6. How should I replace Modal and its initialization without
assuming that namespaces are the only difference?

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.

Back to documentation