İçeriğe geç
PHP Ecosystem
Explore

AI assistance

Bu içerik henüz dilinizde mevcut değil.

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.

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:

Terminal window
composer skills:add yii2-extensions/docker-images --ref=main --skill=yii2-docker-environment
composer skills:show

If auto-sync is false, run composer skills:update after dependency installation or updates.

From the application root, use a local checkout until public listing confirms the skill exists on the default branch:

Terminal window
npx skills@1.7.2 add /absolute/path/to/docker-images --list
npx skills@1.7.2 add /absolute/path/to/docker-images \
--skill yii2-docker-environment --agent claude-code codex opencode

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

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.

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.

$yii2-docker-environment
Review my selected local Yii Docker image and propose an isolated validation plan. Separate image health from a
working 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.
The container health endpoint passes but the Yii page fails. Which image, mounts, permissions and application checks
would distinguish those outcomes without changing Docker daemon settings?

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.

Back to documentation