AI assistance
Ta treść nie jest jeszcze dostępna w Twoim języku.
The editable source is skills/yii2-psr-bridge-worker/SKILL.md in this
package. It helps an agent integrate request isolation, lazy sessions, and the response emission/finalization lifecycle.
The documentation site consumes the package guides and skill; its published files are generated outputs.
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/psr-bridge 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’s root, selecting the clients you use:
npx skills@1.7.2 add /absolute/path/to/psr-bridge --listnpx skills@1.7.2 add /absolute/path/to/psr-bridge \ --skill yii2-psr-bridge-worker --agent claude-code codex opencodeThe source can be a package checkout or ./vendor/yii2-extensions/psr-bridge when that installed release includes the
skill. For published GitHub releases, list before installing:
npx skills@1.7.2 add yii2-extensions/psr-bridge --listnpx skills@1.7.2 add yii2-extensions/psr-bridge \ --skill yii2-psr-bridge-worker --agent claude-code codex opencodeUse the GitHub command only after listing confirms the skill: unpublished local changes are not on the default branch.
Keep project scope. The installer uses links by default; --copy creates an installation snapshot that must be
refreshed when upgrading. Installed copies are outputs, not another editable source.
Installing the Composer package alone does not expose skills in vendor/ to an agent opened at the application root.
Install the skill explicitly. Guides excluded from Composer archives remain available as published Markdown.
Paths and activation
Section titled “Paths and activation”| Client | Project path | Explicit activation |
|---|---|---|
| Claude Code | .claude/skills/yii2-psr-bridge-worker/SKILL.md | /yii2-psr-bridge-worker |
| Codex | .agents/skills/yii2-psr-bridge-worker/SKILL.md | $yii2-psr-bridge-worker or the skill picker |
| OpenCode | .opencode/skills/yii2-psr-bridge-worker/SKILL.md, or .agents/skills/ | Ask it to load yii2-psr-bridge-worker through its skill tool |
The verified skills 1.7.2 installer uses .agents/skills/ for Codex and OpenCode, and .claude/skills/ for Claude.
For manual installation, copy or link the complete skill directory, retaining <name>/SKILL.md. Avoid separately edited
copies or multiple installations of the same name within a client’s search paths.
This source checkout exposes links in .agents/skills/ and .claude/skills/ to the canonical skills/ directory. No
per-client version of the instructions is maintained. When using OpenCode, verify how the installed version handles the
two aliases; the installer needs only its .agents/skills/ installation.
Verify each stage
Section titled “Verify each stage”- Installation: the directory and frontmatter exist in the chosen client path.
- Discovery: open a fresh client session at the application root and check its skill list or picker.
- Activation: invoke the skill and verify the client loaded its body. Automatic selection is model-dependent;
reading
SKILL.mdmanually is separate evidence. - Selective consultation: use the relevant local guide, or the skill’s direct published Markdown links, rather than loading the entire documentation index.
- Functional result: test sequential visitors, missing/malformed cookies, upload reset, and successful/failed emission.
--list verifies the installer’s discovery only; it does not run Claude, Codex, or OpenCode. Application instructions
and permissions still apply when a skill is activated.
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-psr-bridge-worker 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-psr-bridge-workerShow a PSR-7 request handling cycle with emission followed by exactly one finalize(success) call. Cover successfulemission, an emission exception and a HEAD response without losing stream lifetime.Inspect the installed revision first. Do not install dependencies or change files without authorization.Natural selection
Section titled “Natural selection”A lazy session in my long-lived Yii application appears to retain a previous visitor ID. How can I test missing ortampered cookies across two requests while keeping cookie and CSRF validation enabled?Verify the outcome
Section titled “Verify the outcome”Assert lifecycle ordering, finalization count, response bytes and request isolation; mocked emitters do not establish a live server integration. 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.