一键导入
lando-php-workflow
Development workflow for StaticForge using strict PHP and the Lando environment wrapper.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Development workflow for StaticForge using strict PHP and the Lando environment wrapper.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Protocols for handling content, shortcodes, YAML frontmatter, and Twig within StaticForge.
Critical security and deployment protocols for editing code, handling credentials, and publishing StaticForge.
Architectural guidelines for developing new self-contained Features in StaticForge.
| name | lando-php-workflow |
| description | Development workflow for StaticForge using strict PHP and the Lando environment wrapper. |
| applyTo | **/*.php |
This skill encapsulates the fundamental environment and language execution constraints for the StaticForge project.
Lando Environment Prefix:
Every single command MUST be prefixed with lando when working locally.
lando php bin/staticforge.php site:render | lando composer install | lando phpunitphp bin/staticforge.php | composer require phpunit/phpunitProhibited Lando Commands:
You may never run: lando start, lando restart, lando destroy, or lando rebuild.
Strict Constraints / Anti-Patterns:
npm, or package.json for managing the source. Do not install or suggest them.lando php script.php and immediately chain an && rm script.php on the same line. Race conditions with Lando bindings will cause fails. Run execution and deletion as distinct steps.PHP Coding Standards (PSR-12):
declare(strict_types=1);.PascalCase for classes, camelCase for methods, and UPPER_SNAKE_CASE for constants.Dependency Management:
Never use new ServiceName() to instantiate dependencies when they should be injected or accessed via the global EICC\Utils\Container.
Absolute Pathways:
Rely on absolute paths inside the code to avoid cwd mismatches. Use $container->getVariable('app_root').