Delegate independent tasks to specialized agents working concurrently with isolated context.
项目上下文更新器
context-updater
项目上下文自动更新器。当新增功能、重构代码、修改架构时触发,确保 project_context.md 保持最新。触发词:新功能, 重构, 架构变更, 新模块, 新系统, 完成实现。
SKILL.md
Full skill instructions
项目上下文更新器
当项目发生重大变更时,自动提醒更新 .claude/context/project_context.md。
触发判断
✅ 需要更新
- 新增 AutoLoad / 核心系统 / 重要组件
- 架构重构(状态机、依赖关系、数据流)
- 修改输入映射 / 物理层配置
- 完成重要功能实现
❌ 不需要更新
- bug修复、参数调整、性能优化(不涉及架构)
- UI样式调整、添加注释
更新原则
文件: .claude/context/project_context.md
- 简洁优先 - 每个模块 ≤ 3 行描述
- 结构化 - 使用列表/表格,避免段落
- 架构级别 - 只记录架构信息,不含实现细节
- 控制总量 - 保持 < 4000 tokens
更新示例
变更: 新增 SkillManager AutoLoad
更新内容:
### AutoLoad 系统
- **SkillManager**: 技能管理,处理释放和冷却
变更: 实现连招系统
更新内容:
### 连招系统
- **功能**: 检测输入序列,触发特殊技能
- **关键类**: ComboDetector, ComboData (Resource)
- **信号**: combo_triggered(combo_name: String)
自动检查清单
完成以下任务时,检查是否需要更新 context:
- 新增 AutoLoad 脚本
- 创建核心系统
- 重构状态机框架
- 修改输入/物理层配置
- 完成重要功能
更新流程
- 检测变更范围(AutoLoad/核心模块/配置)
- 读取 project_context.md,识别需要更新的章节
- 生成简洁内容(≤3行/模块)
- 验证 token 数量 < 4000,删除过时信息
- 保存文件
提醒机制
触发条件:
- 检测到
Util/AutoLoad/新增脚本 - 对话中出现 "完成"、"重构" 关键词
- 修改了状态机、伤害系统等框架代码
提醒用户: 列出变更内容,询问是否更新 context
More Other skills
brand-guidelines
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.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Fundamental design principles for writing maintainable, testable Python code.
responsive-design
Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Automated website exploration and test case generation using Playwright.
Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.
gdpr-data-handling
GDPR-compliant data handling with consent management, data subject rights, and privacy controls.
Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.
refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance.
