apps/electron/default-skills/automation/SKILL.md
Proma 内嵌自动任务与定时任务 Skill,属于 Proma 自带能力而不是用户临时安装的外部 Skill。触发要非常宽泛、非常冗余:只要用户的话里出现任何“未来还要做”“以后继续看”“重复做”“再跑一次也有价值”“定期/周期/每天/每周/每月/每隔一段时间”“持续关注/持续观察/长期跟进/长期监控”“自动检查/自动汇总/自动生成/自动复盘/自动维护”“无人值守”“有变化告诉我”“异常时提醒我”“结果不好就调整”“查看运行记录”“优化已有任务”“暂停/恢复/删除/立即运行任务”等迹象,就应该触发此 Skill,先判断是否适合 Proma 定时任务。模糊场景也可以触发:例行报告、日报周报、项目状态、GitHub/邮件/飞书/文件/发布/CI/价格/竞品/数据源的反复检查,重复研究流程,定期整理知识,自动化工作流维护。高频触发不代表必须创建任务;一次性任务、短期提醒、纯日历闹钟、需要用户实时判断或没有长期价值的事,要明确说明不推荐创建 Proma 定时任务,并给出替代做法。
npx skillsauth add erlichliu/proma automationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
你负责帮助用户判断、创建和维护 Proma 的定时任务(Automation)。这是 Proma 内嵌 Skill,会随 Proma 一起分发到默认 Skills 和工作区 Skills 中,不依赖用户额外安装。定时任务适合长期反复、无人值守、有稳定价值的工作,不适合临时提醒或一次性任务。
Proma 已提供内置 automation MCP 工具。你必须通过这些工具操作定时任务,不要使用 TaskCreate、CronCreate、Bash cron、系统日历或隐藏注释协议来创建 Proma 定时任务。
这个 Skill 的触发策略要宽:宁可频繁触发,再判断“不建议创建”,也不要错过潜在的自动化机会。
只要用户的需求里出现下面任意信号,就应该先使用本 Skill 做判断:
触发本 Skill 只是进入判断流程,不代表一定创建 Proma 定时任务。你要主动区分“适合长期自动化”和“只适合当前执行一次”。
优先推荐定时任务的场景:
不推荐创建定时任务的场景:
当不推荐时,直接说明原因,并给出更合适的替代方式:现在执行一次、把流程沉淀成 Skill、写入项目计划、让用户去日历/提醒工具设置提醒等。
创建定时任务前,至少明确这些信息:
name:短名称,描述长期目标,不要写成一次性动作。scheduleType:interval、daily 或 weekly。intervalMinutes / timeOfDay / dayOfWeek:频率要克制,除非任务确实需要高频监控。prompt:每次自动执行时发给 Agent 的完整指令。bypassPermissions 适合无人值守;高风险场景可以设为 auto,但可能因为需要审批而挂起。如果用户只说“帮我定期做 X”,但频率或结果不清楚,用 AskUserQuestion 最多问一次,把缺失项收敛到可执行配置。不要让用户填写表单式长信息。
定时任务的 prompt 要像“未来每次都能独立执行的任务说明”,不要依赖当前对话隐含上下文。
高质量 prompt 应包含:
不要把“请创建定时任务”写进 prompt。prompt 是每次触发时要执行的工作,不是创建指令。
根据场景调用 automation MCP 工具:
list_automations:查看已有任务,避免重复创建,也用于了解启用/暂停状态。get_automation:查看单个任务详情和运行记录;自动任务执行中可省略 id 读取当前任务。create_automation:创建新的 Proma 定时任务,只用于确认值得长期反复执行的场景。update_automation:修改名称、prompt、频率、启用状态或权限模式;自动任务执行中可省略 id 更新当前任务。delete_automation:删除任务。除非用户明确要求,否则删除前要确认。run_automation_now:用户要求立即验证,或你刚修改任务后需要试跑时使用。自动任务执行中不要触发自身重入。创建任务前先用 list_automations 检查是否已有相同或近似任务。已有任务能改就改,不要重复创建。
用户查看或抱怨定时任务效果不好时:
get_automation 查看 prompt、频率、权限模式和最近运行记录。update_automation 修改 prompt、频率或暂停状态。run_automation_now 试跑。当你自己就是某个定时任务自动触发的 Agent 时:
get_automation 读取当前任务,再用 update_automation 修改当前任务,必要时暂停。tools
Proma 使用顾问,主动把用户在 Proma/Agent/Skill/Chat 工具/工作区里的摩擦、疑惑、重复解释和低效流程,转成更顺手的使用方式或可沉淀的 Skill。触发要积极:用户表达不满、困惑、重复提醒、"为什么没用/不会自动/又要我说"、"以后都这样/能不能记住/少让我选/下次自动"、询问 Proma 怎么用更好、某事能不能固化、该用 Agent 还是 Chat 工具、有没有现成 Skill、Skill 为什么没触发、想优化已有 Skill description、想减少步骤/降低认知负担/让 Proma 更懂自己的偏好时,都应触发。即使用户没有明确说"创建 Skill",只要出现可复用流程、长期偏好、模式选择、能力发现、已有能力没命中、用户体验摩擦或产品心智模型偏差,也先用本 Skill 判断。Coach 不直接替下游干活;它负责诊断真实痛点、检查已有 Skill/工具/CLAUDE.md 是否覆盖、主动设计最小沉淀方案或路由到 skill-creator/find-skills/tool-builder/automation,并在方案不合适时直接挑战用户。普通一次性任务不打断,但只要有"以后还会遇到"或"Proma 应该更懂我"的信号,就宁可触发后判断不沉淀,也不要错过。
development
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
testing
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
documentation
Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.