
# Skill 层任务卡集 > 架构文档: `docs/architecture/03-Skill层.md` > 里程碑来源: `docs/governance/milestone-matrix-backend.md` Section 4 > 影响门禁: `src/skill/**` -> check_layer_deps > 渐进式组合 Step 3 --- ## Phase 0 -- Port 定义 ### TASK-S0-1: SkillProtocol 基类 | 字段 | 内容 | |------|------| | **目标** | 定义 Skill 层核心协议 (execute() / describe() / validate_params()),使所有 Skill 统一契约 | | **范围 (In Scope)** | `src/skill/core/protocol.py` | | **范围外 (Out of Scope)** | Brain 调度逻辑 / Knowledge Stores 内部实现 / Tool 内部实现 / Memory Core |
Python 编码规范:PEP 8 命名、mypy strict 类型标注、ruff lint 规则、不可变性模式