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.
使用场景Skill与智能体开发
- 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
- 参考文档actions/01-local.md1.2 KB
- 参考文档actions/02-server.md4.0 KB
- 参考文档actions/03-automata.md1.4 KB
- 参考文档evals/delivery-safety-scenarios.md6.3 KB
- 参考文档evals/delivery-scenarios.md2.0 KB
- 参考文档evals/scenarios.json1.0 KB
- 参考文档references/command-facade.md3.3 KB
- 参考文档references/data-layers.md1.3 KB
- 参考文档references/frameworks.md742 B
- 脚本scripts/probe.sh5.5 KB
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
web-optimize
暂无简介
★ 1
data-optimize
暂无简介
★ 1
ap-optimize
暂无简介
★ 1
web-optimize
暂无简介
★ 1
data-optimize
暂无简介
★ 1
ap-optimize
暂无简介
★ 1