phase-b-developerlisted
Install: claude install-skill 10CG/aria-plugin
# Phase B - 开发阶段 (Developer)
> **版本**: 1.4.0 | **十步循环**: B.1-B.3
> **更新**: 2026-03-27 - 升级审计触发从 agent-team-audit 改为 audit-engine
## 快速开始
### 我应该使用这个 Skill 吗?
**使用场景**:
- 需要创建功能分支
- 需要运行测试验证
- 需要同步架构文档
- 代码开发完成后的验证阶段
**不使用场景**:
- 已在功能分支 → 跳过 B.1
- 无测试文件 → B.2 降级模式
- 无架构变更 → 跳过 B.3
---
## 配置 (config-loader)
执行前读取 `.aria/config.json`,缺失则使用默认值。参见 [config-loader](../config-loader/SKILL.md)。
| 字段 | 默认值 | 说明 |
|------|--------|------|
| `audit.enabled` | `false` | 启用 audit-engine 审计 (新) |
| `audit.checkpoints.post_implementation` | `"off"` | post_implementation 检查点模式 |
| `experiments.agent_team_audit` | `false` | 旧配置 (向后兼容,自动映射到 audit.*) |
| `experiments.agent_team_audit_points` | `["pre_merge"]` | 旧配置 (向后兼容) |
当 `audit.enabled=true` 且 `audit.checkpoints.post_implementation != "off"` 时,B.3 完成后触发 audit-engine (post_implementation 检查点)。
旧配置 `experiments.agent_team_audit=true` 且 `"post_implementation" in agent_team_audit_points` 自动映射到新配置。
---
## 核心功能
| 步骤 | Skill | 职责 | 输出 |
|------|-------|------|------|
| B.1 | branch-manager | 分支创建 | branch_name |
| B.2 | test-verifier | 测试验证 | test_passed, coverage |
| B.3 | arch-update | 架构同步 | arch_updated |
---
## 执行流程
### 输入
```yaml
context:
phase_cycle: "Phase4-Cycle9"
module: "mobile"
changed_files: ["lib/auth.dart", "test/auth_test.dart"]
spec_id: "add-auth-feature" # 来自 Phase A
task_list: [TASK-001, ...] # 来自 Phase A
config:
skip_steps: []