AI assistance
Это содержимое пока не доступно на вашем языке.
The canonical source is skills/yii2-docker-environment/SKILL.md. It
guides image selection, application setup, isolated validation and cleanup. Its helper tests a dependency-free PHP
fixture; validating an actual Yii application remains a separate step.
Install and activate
Section titled “Install and activate”Composer installation
Section titled “Composer installation”This bundle is not a Composer package. After the
one-time plugin setup, set auto-sync
to true in skills.json and register its Git source once. Subsequent Composer install/update operations synchronize
it automatically while auto-sync is enabled:
composer skills:add yii2-extensions/docker-images --ref=main --skill=yii2-docker-environmentcomposer skills:showIf auto-sync is false, run composer skills:update after dependency installation or updates.
Optional npx installation
Section titled “Optional npx installation”From the application root, use a local checkout until public listing confirms the skill exists on the default branch:
npx skills@1.7.2 add /absolute/path/to/docker-images --listnpx skills@1.7.2 add /absolute/path/to/docker-images \ --skill yii2-docker-environment --agent claude-code codex opencodeFor published sources, first run npx skills@1.7.2 add yii2-extensions/docker-images --list, then use that source
instead of the local path. Installation remains project-scoped. Keep the complete skill directory, including its
scripts/; installing the skill does not install Docker or pull an image.
The pinned installer uses .agents/skills/ for Codex and OpenCode and .claude/skills/ for Claude Code. This source
checkout provides aliases in those two locations to the single canonical skills/ source. Verify discovery in a fresh
client session, then explicitly invoke $yii2-docker-environment in Codex, /yii2-docker-environment in Claude Code,
or ask OpenCode to load it using its skill tool.
An installer listing, a manual SKILL.md read, native discovery, native activation and a successful container test are
separate evidence. Do not claim native client activation from a helper test. The documentation site distributes
unchanged skill bundles with provenance and checksums; it does not own another editable copy.
Verify the environment
Section titled “Verify the environment”Run the isolated helper, then run the application’s own checks with its actual dependencies and test configuration. Record the image ID, relevant assertions and missing prerequisites. A successful helper run proves its stack checks; native skill discovery and activation require separate client evidence and are not established by reading the skill manually.
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-docker-environment 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-docker-environmentReview my selected local Yii Docker image and propose an isolated validation plan. Separate image health from aworking application route, preserve host UID permissions, and do not pull, start or remove resources without permission.Inspect the installed revision first. Do not install dependencies or change files without authorization.Natural selection
Section titled “Natural selection”The container health endpoint passes but the Yii page fails. Which image, mounts, permissions and application checkswould distinguish those outcomes without changing Docker daemon settings?Verify the outcome
Section titled “Verify the outcome”Record actual image identity and inspect both health and application results. A planned check or mutable tag does not establish runtime success. 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.