cook-cli by 0xkynz/codekit
npx skills add https://github.com/0xkynz/codekit --skill cook-cli适用于 CLI 项目的结构化工作流。每个重要任务都需经过有序的阶段。
Plan → Code → Review → Test
在每个会话开始时,读取 memory-bank/ 目录下的所有文件:
projectbrief.md — 核心需求与目标productContext.md — 问题与解决方案背景techContext.md — 技术设置与依赖项systemPatterns.md — 架构与设计模式activeContext.md — 当前工作重点与近期变更progress.md — 已完成的工作与已知问题如果 memory-bank/ 目录不存在,请根据你从代码库中了解到的信息创建上述文件。
Structured workflow for CLI projects. Every non-trivial task flows through ordered phases.
Plan → Code → Review → Test
At the start of EVERY session , read all files in memory-bank/:
projectbrief.md — Core requirements and goalsproductContext.md — Problem and solution contexttechContext.md — Technical setup and dependenciessystemPatterns.md — Architecture and design patternsactiveContext.md — Current work focus and recent changes广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
完成工作后(测试阶段结束或任何停止点),更新:
activeContext.md — 已完成的工作、当前状态、后续步骤progress.md — 标记已完成项,添加新的已知问题这确保了跨会话的连续性。切勿跳过此步骤。
输出: 包含命令签名和验收标准的编号计划。规则: 此阶段不编写代码。
规则:
--help 是否反映了变更?标志是否与现有命令一致?--json 时,stdout 的输出是否可被机器解析?stderr 是否用于人类可读的消息?any 类型泄漏?立即修复问题。如果发现设计缺陷,则循环回到规划阶段。
规则:
如果任何阶段发现问题:
始终注明你返回到哪个阶段以及原因。
在进度前加上当前阶段前缀:
[PLAN] 正在分析需求...
[CODE] 正在实现命令逻辑...
[REVIEW] 正在自我审查变更...
[TEST] 正在运行 CLI 测试...
每周安装数
1
仓库
GitHub 星标数
1
首次出现
1 天前
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
progress.mdIf memory-bank/ does not exist, create it with the files above based on what you learn from the codebase.
After completing work (end of Test phase or any stopping point), update:
activeContext.md — What was done, current state, next stepsprogress.md — Mark completed items, add new known issuesThis ensures continuity across sessions. Never skip this step.
Output: Numbered plan with command signatures and acceptance criteria. Rule: No code in this phase.
Rules:
--help reflect the changes? Are flags consistent with existing commands?--json is used? Is stderr used for human messages?any leaks?Fix issues immediately. If a design flaw is found, loop back to Plan.
Rules:
If any phase reveals problems:
Always note which phase you're returning to and why.
Prefix progress with the current phase:
[PLAN] Analyzing requirements...
[CODE] Implementing command logic...
[REVIEW] Self-reviewing changes...
[TEST] Running CLI tests...
Weekly Installs
1
Repository
GitHub Stars
1
First Seen
1 day ago
Security Audits
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
AI新闻播客制作技能:实时新闻转对话式播客脚本与音频生成
1,200 周安装