MCP HubMCP Hub
スキル一覧に戻る

context-updater

majiayu000
更新日 Today
21 閲覧
58
9
58
GitHubで表示
その他general

について

このClaude Skillは、新機能の追加、コードのリファクタリング、アーキテクチャの変更など、重要な変更が発生した際に、開発者に対して自動的にproject_context.mdの更新を促します。バグ修正やスタイル調整などの軽微な変更は除外し、アーキテクチャレベルの更新に焦点を当てています。このスキルは、プロジェクトのコンテキストを最新かつ有用な状態に保つため、4000トークン以内の簡潔で構造化されたドキュメントを維持します。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/majiayu000/claude-skill-registry
Git クローン代替
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/context-updater

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

项目上下文更新器

当项目发生重大变更时,自动提醒更新 .claude/context/project_context.md

触发判断

✅ 需要更新

  • 新增 AutoLoad / 核心系统 / 重要组件
  • 架构重构(状态机、依赖关系、数据流)
  • 修改输入映射 / 物理层配置
  • 完成重要功能实现

❌ 不需要更新

  • bug修复、参数调整、性能优化(不涉及架构)
  • UI样式调整、添加注释

更新原则

文件: .claude/context/project_context.md

  1. 简洁优先 - 每个模块 ≤ 3 行描述
  2. 结构化 - 使用列表/表格,避免段落
  3. 架构级别 - 只记录架构信息,不含实现细节
  4. 控制总量 - 保持 < 4000 tokens

更新示例

变更: 新增 SkillManager AutoLoad

更新内容:

### AutoLoad 系统
- **SkillManager**: 技能管理,处理释放和冷却

变更: 实现连招系统

更新内容:

### 连招系统
- **功能**: 检测输入序列,触发特殊技能
- **关键类**: ComboDetector, ComboData (Resource)
- **信号**: combo_triggered(combo_name: String)

自动检查清单

完成以下任务时,检查是否需要更新 context:

  • 新增 AutoLoad 脚本
  • 创建核心系统
  • 重构状态机框架
  • 修改输入/物理层配置
  • 完成重要功能

更新流程

  1. 检测变更范围(AutoLoad/核心模块/配置)
  2. 读取 project_context.md,识别需要更新的章节
  3. 生成简洁内容(≤3行/模块)
  4. 验证 token 数量 < 4000,删除过时信息
  5. 保存文件

提醒机制

触发条件:

  • 检测到 Util/AutoLoad/ 新增脚本
  • 对话中出现 "完成"、"重构" 关键词
  • 修改了状态机、伤害系统等框架代码

提醒用户: 列出变更内容,询问是否更新 context

GitHub リポジトリ

majiayu000/claude-skill-registry
パス: skills/context-updater

関連スキル

algorithmic-art

メタ

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

スキルを見る

subagent-driven-development

開発

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

スキルを見る

executing-plans

デザイン

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

スキルを見る

cost-optimization

その他

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

スキルを見る