当用户发送"换窗口处理-"时调用。总结当前窗口的上下文信息、已完成任务、未完成任务,保存到 docs/context-sessions/ 目录,便于新窗口恢复。
当用户发送"换窗口处理-"时,总结当前会话的上下文、已完成/未完成任务和关键文件,保存到 docs/context-sessions/ 目录,便于新窗口快速恢复工作进度。
/plugin marketplace add Claudate/claude-code-context-sync/plugin install context-sync@context-sync-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
当用户发送 换窗口处理- 时,调用此 Skill。
回顾当前会话,提取以下信息:
文件命名规则: {YYYYMMDD}-{HHMM}-{简短描述}.md
示例: 20251128-1430-实现用户登录功能.md
文件位置: docs/context-sessions/
# Session: {简短描述}
## 元信息
- **创建时间**: {当前时间}
- **状态**: 进行中
## 上下文摘要
{简洁描述当前正在做什么、背景信息、关键决策}
## 已完成任务
- [x] 任务1描述
- [x] 任务2描述
## 未完成任务
- [ ] 🔴 高优先级: {任务描述}
- [ ] 🟡 中优先级: {任务描述}
- [ ] 🟢 低优先级: {任务描述}
## 关键文件
- `{文件路径}` - {说明}
- `{文件路径}` - {说明}
## 注意事项
{需要注意的技术细节、已知问题、踩过的坑}
## 下一步行动
{建议新窗口首先执行的操作}
保存完成后,输出:
✅ 上下文已保存到: docs/context-sessions/{文件名}
新窗口恢复方法:
1. 调用 skill: context-resume
2. 选择对应的 session 文件
未完成任务数: {数量}
| 标记 | 含义 | 使用场景 |
|---|---|---|
| 🔴 | 高优先级 | 阻塞性任务、核心功能 |
| 🟡 | 中优先级 | 重要但不紧急 |
| 🟢 | 低优先级 | 优化、可选功能 |
# Session: 实现微信公众号发布功能
## 元信息
- **创建时间**: 2025-11-28 14:30
- **状态**: 进行中
## 上下文摘要
用户需要实现微信公众号的自动发布功能。已完成登录态获取和 Cookie 管理,正在实现文章发布 API 对接。
## 已完成任务
- [x] 创建 WechatPublisher 基础类结构
- [x] 实现 Cookie 存储和读取
- [x] 完成登录检测逻辑
## 未完成任务
- [ ] 🔴 高优先级: 实现 publishArticle 方法
- [ ] 🔴 高优先级: 处理图片上传到微信服务器
- [ ] 🟡 中优先级: 添加发布结果回调
- [ ] 🟢 低优先级: 添加草稿箱功能
## 关键文件
- `electron/services/publish/publishers/wechat.publisher.ts` - 主要开发文件
- `electron/services/core/cookie.service.ts` - Cookie 管理
- `shared/types/publish.types.ts` - 类型定义
## 注意事项
- 微信 API 有频率限制,需要添加请求间隔
- 图片需要先上传到微信素材库获取 media_id
- 登录态 24 小时过期,需要定期刷新
## 下一步行动
1. 先读取 wechat.publisher.ts 了解当前进度
2. 继续实现 publishArticle 方法
3. 参考 xiaohongshu.publisher.ts 的图片上传实现
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.