AGENT SKILL

cd

Standardizes local setup and scoped production delivery for WordPress, Laravel, Symfony, and PrestaShop while preserving the project's existing root deployment facade. Use when the user wants project setup, production hosting, database delivery, content synchronization, or automation. Not for scaffolding.

License 许可
MIT
最近更新
2026-11-11
Stars
★ 1
Forks
0

01 前言 Front Matter

name
cd
description
Standardizes local setup and scoped production delivery for WordPress, Laravel, Symfony, and PrestaShop while preserving the project's existing root deployment facade. Use when the user wants project setup, production hosting, database delivery, content synchronization, or automation. Not for scaffolding.
argument-hint
project setup | production scope | automation target

02 资源文件 11

03 SKILL.md 正文

PHP CD

flowchart LR
  local_request([project setup]) --> local --> local_ready([local ready])
  server_request([production scope]) --> local_check{local verified}
  local_check -->|no| local --> server
  local_check -->|yes| server --> server_ready([production configured])
  automation_request([automation target]) --> contract_check{current contract}
  contract_check -->|no| stopped([stopped])
  contract_check -->|yes| automata --> delegated([automation delegated])

Actions

Run the flow above. Read only the next action file.

Action Does
local reconcile the detected PHP framework locally
server reconcile one named server target through the root facade
automata validate and delegate one named automata target

Transversal rules

  • Read host portability, the common contract, and the project schema before acting.
  • Keep one root owner and treat JavaScript and CSS as bounded contributors in WordPress applications.
  • Keep code, configuration, migrations, database, editorial content, and media as separate named surfaces.
  • Never create another environment, reset WordPress, destroy containers, import a database during setup, or deploy merely because configuration was requested.
  • Select an exact target id, phase and deploy:* operation; refuse ambiguous multi-target requests and every target-to-target or pull flow.
  • For PrestaShop, read the PrestaShop strategy and, before creating or reconciling Compose, .gitignore or a deployment script, its templates. Never run the PrestaShop installer on an installed shop.
  • Read differential synchronization for staging data or media. Production mutable data, editorial content and uploads are target-authoritative.

04 同仓库更多 Skills