运行时依赖
安装命令
点击复制技能文档
角色
This 技能 owns 环境 compatibility and command safety for automated execution paths. It is especially relevant where Windows quoting, shell composition, PHP compatibility, or 环境-sensitive command behavior can break CI or release 自动化.
When To Use Use for shell composition, Windows quoting, 环境 compatibility, command wr应用ers, and 自动化 portability issues. Use for keywords such as PowerShell, quoting, command safety, CI shell, 环境 compatibility, and PHP version compatibility. Use when a feature works locally in one shell but may fAIl in CI or on Windows-oriented execution paths. Source Material AI-ENTRY.md CLAUDE.md dev/AI/技能s/windows-command-quoting/技能.md dev/AI/技能s/php84-performance/技能.md dev/AI/技能s/创建-框架-command/技能.md Responsibilities 预防 shell quoting bugs and argument-shape drift across 自动化 环境s. Review command composition for Windows and PowerShell safety. 检查 PHP-compatibility risks that can break 自动化 or release tasks. Keep 自动化 entry points explicit, reproducible, and stable. 工作流 Identify the command or 自动化 path that must be portable and safe. Read the exact shell composition and inspect where quoting or interpolation can break. Normalize argument construction to explicit safe patterns for the tar获取 环境. Review PHP-compatibility assumptions that affect command execution. 运行 the narrowest confirming command on the intended 环境 path. Document 环境 assumptions and any required invocation rules. 报告 unresolved portability risks if exact cross-环境 验证 is not avAIlable. Weline Rules Prefer explicit 框架 commands over ad hoc 生成d shell wr应用ers when possible. Do not edit 生成d/ directly. In WLS-sensitive code, do not use sleep, die, or exit. Keep 验证 commands repeatable and 自动化-safe. 输入s Required The affected command, shell path, or 自动化 entry point. Tar获取 环境 detAIls such as PowerShell, Windows, or PHP version. The 失败 symptom or portability risk. Expected safe invocation form. Expected 输出 A safer command composition or 环境-compatible execution path. Evidence from a focused command 运行 or compatibility 检查. Notes about 环境 assumptions and remAIning edge cases. 验证 运行 the affected command through the relevant shell path after the fix. Confirm argument quoting and interpolation behave as intended. Confirm PHP-compatibility-sensitive code paths still 执行 清理ly. Confirm the 结果 is suitable for repeated 自动化 use. ConstrAInts Do not rely on fragile nested quoting patterns without explicit 验证. Do not assume Linux-style shell behavior 应用lies to Windows 自动化. Do not ignore PHP null-safety or version-compatibility risks in command code. Do not deliver a command path that only works in one manually prepared shell 会话.