AGENT SKILL

cd

Standardizes local setup and production delivery for JavaScript while preserving the detected package manager, framework, and data strategy. Use when the user wants project setup, production hosting, or delivery automation. Not for generic CI or extra environments.

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

01 前言 Front Matter

name
cd
description
Standardizes local setup and production delivery for JavaScript while preserving the detected package manager, framework, and data strategy. Use when the user wants project setup, production hosting, or delivery automation. Not for generic CI or extra environments.
argument-hint
project setup | production host | automation target

02 资源文件 10

03 SKILL.md 正文

JavaScript CD

flowchart LR
  local_request([project setup]) --> local --> local_ready([local ready])
  server_request([production host]) --> 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 JavaScript runtime locally
server reconcile a named server target through the native facade
automata validate and delegate a named automata target

Transversal rules

  • Read host portability, the common contract, and the project schema before acting.
  • Reuse the existing sniff classification instead of maintaining a second stack taxonomy.
  • Keep one root owner and limit JavaScript to a bounded workspace when another application stack owns the project.
  • Never create another environment, replace a user command silently, or deploy merely because configuration was requested.
  • Require an exact target id, lifecycle phase and deploy:* operation when multiple targets exist; never choose a default or copy between targets.
  • Read differential synchronization before staging mutable data or media. Production mutable surfaces are target-authoritative.

04 同仓库更多 Skills