跳到主内容
@wquguru
精选88VoxAI 产品与模型

Claude Code 自定义技能:夜间自动开发与晨间汇报工作流

Highly recommend 𝘀𝗮𝘃𝗶𝗻𝗴 𝘁𝘄𝗼 𝗰𝗼𝗺𝗺𝗮𝗻𝗱𝘀 in Claude Code: /night before bed, /morning…

原文
发到 X
推荐理由

提供了可直接复用的 SKILL.md 代码块,结构清晰且包含具体配置细节,对同类 AI 工具创作者极具参考价值。

Highly recommend 𝘀𝗮𝘃𝗶𝗻𝗴 𝘁𝘄𝗼 𝗰𝗼𝗺𝗺𝗮𝗻𝗱𝘀 in Claude Code: /night before bed, /morning when you wake up.

强烈建议在 Claude Code 中保存两个命令:/night(睡前)和 /morning(醒来时)。

Say there's a dark mode you've been meaning to add but never had time for. Before bed, type "/night add dark mode" and Opus 5.5 builds it on a new branch, runs the tests and leaves you a note. In the morning, type /morning: it tells you which pages it changed overnight, then asks you 𝘁𝗵𝗲 𝘁𝘄𝗼 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝘀 𝗼𝗻𝗹𝘆 𝘆𝗼𝘂 𝗰𝗮𝗻 𝗮𝗻𝘀𝘄𝗲𝗿: follow the system setting, or add a toggle? Should the charts go dark too? Each one has its recommended answer marked. Reply "1A 2A" and it finishes the rest.

假设有一个你一直想添加但从未抽出时间实现的深色模式。睡前,输入 "/night add dark mode",Opus 5.5 会在一个新分支上构建它,运行测试并留下一张便条。早上起来,输入 /morning:它会告诉你昨晚更改了哪些页面,然后问你只有你能回答的两个问题:跟随系统设置,还是添加一个切换开关?图表是否也应该变暗?每个问题都标有推荐答案。回复 "1A 2A",它就会完成剩余部分。

Before bed, check: → Keep the computer awake. In the Claude desktop app, turn on Keep computer awake while Claude works under Settings → Claude Code. In the terminal on a Mac, start it with caffeinate -i claude instead. Plug it in and keep the lid open; a closed lid still sleeps. → Make sure you're in auto mode: the terminal status bar shows auto mode on, the default since 2.1.283. If not, press Shift+Tab to switch. Otherwise it stops to ask for your OK before most file edits and commands. → The disallowed-tools: AskUserQuestion line in night turns off the question pop-up. It won't stop in the middle of the night to ask you something; anything it's unsure about goes in the note for the morning.

睡前检查: → 保持电脑唤醒。在 Claude 桌面应用中,在设置 → Claude Code 下开启“Claude 工作时保持电脑唤醒”。在 Mac 的终端中,使用 caffeinate -i claude 启动它。插上电源并保持屏幕打开;合上盖子仍会进入睡眠状态。 → 确保你处于自动模式:终端状态栏显示 auto mode on,这是 2.1.283 版本的默认设置。如果不是,按 Shift+Tab 切换。否则,它在大多数文件编辑和命令执行前会停下来征求你的同意。 → night 中的 disallowed-tools: AskUserQuestion 行会关闭提问弹窗。它不会在半夜停下来问你问题;任何不确定的内容都会记录在早上的便条中。

Create night and morning folders in ~/.claude/skills/ with a SKILL.md in each, and they work in every project on this computer. Don't want to make folders? Paste both into Claude Code and have it save them for you 👇

在 ~/.claude/skills/ 中创建 night 和 morning 文件夹,并在每个文件夹中放入一个 SKILL.md,这样它们就能在这台计算机上的所有项目中工作。不想创建文件夹?将两者粘贴到 Claude Code 中,让它为你保存 👇

night/SKILL.md --- description: Give Opus 5.5 one job it can finish on its own before bed argument-hint: "[what to build tonight]" disable-model-invocation: true disallowed-tools: AskUserQuestion --- I'm going to sleep. Tonight, work on this: $ARGUMENTS If I didn't say, pick one thing in this project you can finish tonight and test yourself. Before you start, write one line in NIGHT_NOTE.md saying what you're doing. - Create a new branch and only change things there. Commit to that branch when you're done; don't push. Don't commit NIGHT_NOTE.md. - Don't deploy, delete files, touch secrets or CI config, or call paid APIs. - When you're unsure, take the safest option, note it in NIGHT_NOTE.md, and keep going. Don't stop to wait for me. - When you're done, run the relevant tests. If you can't, write down why. - Finally, fill in NIGHT_NOTE.md: the branch name, what you did, how you tested it, what's still untested, and what you want to ask me in the morning.

night/SKILL.md --- description: 让 Opus 5.5 在睡前独立完成一项任务 argument-hint: "[今晚要构建的内容]" disable-model-invocation: true disallowed-tools: AskUserQuestion --- 我要去睡觉了。今晚,处理这个:$ARGUMENTS 如果我没指定,从当前项目中选一件你能在今晚完成的事情并自我测试。开始前,在 NIGHT_NOTE.md 中写一行说明你在做什么。 - 创建一个新分支,仅在该分支上进行更改。完成后提交到该分支;不要推送。不要提交 NIGHT_NOTE.md。 - 不要部署、删除文件、触碰密钥或 CI 配置,或调用付费 API。 - 当你不确定时,选择最安全的选项,在 NIGHT_NOTE.md 中记录下来,然后继续。不要停下来等我。 - 完成后,运行相关测试。如果无法运行,写下原因。 - 最后,填写 NIGHT_NOTE.md:分支名称、你做了什么、如何测试的、还有哪些未测试的内容,以及你想在早上问我的问题。

morning/SKILL.md --- description: When I wake up, report on last night and list the questions for me disable-model-invocation: true disallowed-tools: AskUserQuestion --- I just woke up. Read NIGHT_NOTE.md first, then use git log to see what changed on last night's branch. If gh is installed, also check CI and new issues and PRs. Start with three to five sentences on what you did last night. Then list the questions I can answer right now, up to 5, numbered. Give each two or three options labeled A, B, C, and say which one you recommend and why. When I reply like "1A, 3B", do what I picked. If I say "the rest as recommended", do your recommendation for the rest. Don't touch anything I didn't mention.

morning/SKILL.md --- description: 当我醒来时,汇报昨晚的情况并为我列出问题 disable-model-invocation: true disallowed-tools: AskUserQuestion --- 我刚醒来。先阅读 NIGHT_NOTE.md,然后使用 git log 查看昨晚分支上发生了哪些更改。如果安装了 gh,还请检查 CI、新 issue 和新 PR。 先用三到五句话总结你昨晚做了什么。然后列出我现在可以回答的问题,最多 5 个,编号排列。为每个问题提供两到三个选项,标记为 A、B、C,并说明你推荐哪一个以及原因。 当我回复类似 "1A, 3B" 时,执行我选择的内容。如果我说 "其余按推荐处理",则对剩余部分执行你的推荐。不要触碰任何我没有提及的内容。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件