Skip to main content
在 Manus 中运行任何 Skill
一键导入

refactor-node-cli-architecture

星标3
分支0
更新时间2026年6月2日 19:44

Refactor existing Node.js CLIs toward a layered or vertical-slice, command-driven architecture with thin entrypoints, focused command handlers, application services, pure domain logic, isolated infrastructure adapters, and characterization tests. Use when someone asks to refactor a CLI, separate command parsing from business logic, move logic out of the entrypoint, split work into src/commands src/services src/domain src/infrastructure, use a domain-first CLI or vertical slice layout, or perform a behavior-preserving CLI refactor. Do NOT use for greenfield scaffolding, non-CLI applications, or general infrastructure provisioning.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly