Delegate independent tasks to specialized agents working concurrently with isolated context.
GEB 路标协议
geb-protocol
项目架构约定:通过 Root/Folder/File 三层极简元数据(_dir.md + I/O/Pos 注释) 让 AI 在任意位置自定位。 **AI 创建文件夹时自动触发**:hook 会生成 _dir.md 模板,AI 填写 Input/Output/Pos。
SKILL.md
Full skill instructions
GEB 路标协议
分形式项目导航。让 AI 在任意位置都能自定位。
核心结构
Root → 项目是什么、模块有哪些(5行)
Folder → 这个文件夹负责什么(3-4行 _dir.md)
File → Input/Output/Pos(3行头部注释)
不是文档,是坐标系统。
实施
Root(CLAUDE.md)
# 项目名
一句话描述。
模块:A(职责) → B(职责) → C(职责)
分层:cli → flows → core → data
深度文档:docs/architecture.md
Folder(_dir.md)
模块名称(一句话职责)
Input: 依赖什么
Output: 提供什么
Pos: 在分层中的位置
File(头部注释 - Python)
# Input: 依赖的类型/协议
# Output: 对外暴露的类/函数
# Pos: 层级定位(如 core/rules)
from decimal import Decimal
# ... 代码 ...
自愈机制
在工作流程中强制:
修改后检查:
- 更新文件头 I/O/Pos(依赖变了)
- 更新 _dir.md(模块职责变了)
- 更新 architecture.md(结构变了)
适用规模
| 项目规模 | 建议 |
|---|---|
| < 10 文件 | 不需要 |
| 10-50 文件 | Root + 核心文件头部 |
| 50+ 文件 | 完整三层路标 |
详细示例
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.
