ClawHub Dev Calendar
Overview
Produce tailored calendars for ClawHub skill dev workflows. Formats: ICS (calendar apps), PDF/HTML/PNG (via canvas/browser), markdown/text.
Key integrations:
- - ClawHub dev milestones (references/devmilestones.md)
- SK statutory holidays (references/saskholidays.json)
- Multi-project support
- TZ: America/Regina (manual offset in scripts)
Quick Start
Text monthly calendar:
CODEBLOCK0
Project ICS:
- 1. Copy assets/project_template.json → project.json, edit
- INLINECODE0
- INLINECODE1
Workflow: Full Project Calendar
- 1. Input: Write project.json with name, start (ISO), milestones array [{name,hours}]
- Holidays: Script flags holidays from saskholidays.json
- Generate ICS: scripts/generateics.py → .ics
- HTML Timeline: Modify assets/calendar_template.html or use exec python html gen
- Visual:
canvas present url="data:text/html;base64,base64 html" or browser/pdf - Share: message file or write to workspace/memory/
Example project.json:
CODEBLOCK1
Resources
scripts/
- -
generate_ics.py: Generates ICS with milestones as events. Usage: INLINECODE5
Handles TZ offset, holiday checks (all-day events).
references/
- -
dev_milestones.md: Standard phases, hours, cumulative time - INLINECODE7 : YYYY list of stat holiday dates (2026-2027)
assets/
- -
project_template.json: Copy & customize input example
Load references/ as needed for planning.
ClawHub 开发日历
概述
为ClawHub技能开发工作流生成定制日历。支持格式:ICS(日历应用)、PDF/HTML/PNG(通过画布/浏览器)、Markdown/文本。
主要集成:
- - ClawHub开发里程碑(references/devmilestones.md)
- 萨斯喀彻温省法定节假日(references/saskholidays.json)
- 多项目支持
- 时区:America/Regina(脚本中手动偏移)
快速开始
文本月历:
exec command=cal -3 2026-04
项目ICS:
- 1. 复制 assets/projecttemplate.json → project.json,进行编辑
- exec python3 scripts/generateics.py project.json dev.ics pty=true
- message media=dev.ics caption=开发日历已附上
工作流:完整项目日历
- 1. 输入:编写 project.json,包含名称、开始时间(ISO格式)、里程碑数组 [{name,hours}]
- 节假日:脚本从 saskholidays.json 中标记节假日
- 生成ICS:scripts/generateics.py → .ics
- HTML时间线:修改 assets/calendar_template.html 或使用 exec python 生成HTML
- 可视化:canvas present url=data:text/html;base64,base64 html 或浏览器/PDF
- 分享:发送文件消息或写入 workspace/memory/
示例 project.json:
json
{
name: clawhub-dev-calendar,
start: 2026-04-01T09:00:00-06:00,
milestones: [
{name: 初始化, hours: 2},
{name: 调研/规划, hours: 4},
{name: 开发, hours: 6},
{name: SKILL.md, hours: 4},
{name: 测试, hours: 3},
{name: 发布, hours: 1}
]
}
资源
scripts/
- - generateics.py:生成包含里程碑事件的ICS文件。用法:python3 generateics.py project.json [output.ics]
处理时区偏移、节假日检查(全天事件)。
references/
- - devmilestones.md:标准阶段、工时、累计时间
- saskholidays.json:法定节假日日期列表(2026-2027年)
assets/
- - project_template.json:复制并自定义输入示例
根据需要加载 references/ 进行规划。