10cg/aria-plugin/phase-b-developer
Claude Code and agent skill by 10cg/aria-plugin
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
十步循环 Phase B - 开发阶段执行器,编排 B.1-B.3 步骤。 使用场景:"执行开发阶段"、"Phase B"、"创建分支并运行测试"
Install
npx vskill@latest install 10cg/aria-plugin/phase-b-developerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as 10cg/aria-plugin/phase-b-developer.
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。
| 字段 | 默认值 | 说明 | |
|---|---|---|---|
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"] | 旧配置 (向后兼容) | |
phase_b_developer.framework_build_check.enabled | false | B.2.5 框架 build 验证开关 (Aria #95) | |
phase_b_developer.framework_build_check.command | null | build 命令 (如 "npm run build"); null=no-op | |
phase_b_developer.framework_build_check.mode | "advisory" | advisory=警告不阻塞 / blocking=失败阻塞进 Phase C |
当 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 |
执行流程
输入
步骤执行
Mid-Implementation 审计检查点 (新增)
Mid-Post-Spec spec 漂移检查点 (Aria #79, 条件触发)
Post-Implementation 审计 (audit-engine)
输出
Context 占用感知 (暂停 vs 继续, #104)
Phase B 多任务实施期, "当前会话继续 vs 暂停 (形成自然 commit boundary)" 是关键决策点。 不要凭感觉估 context 余量 (实证 #104: 凭感觉 +22% 偏差导致不必要暂停)。调用 aria-context-monitor 机读 runtime-truth:
source=relay_cache(confidence=high): 读used_percentage— runtime 真值, 0 偏差source=transcript_fallback(estimate): 读used_percentage_proxy— window 可能低估, 放宽解读
决策阈值 (advisory): <70% 继续 / 70-85% 找 commit boundary / >85% 建议在当前任务收尾后暂停 + commit。 本 skill 只提供数据, 不自动中断 — 暂停决策由 AI 判断。relay 未装时引导 setup_relay.sh。
会话收尾触发 (session-closer TASK-007): 读完 occupancy 后调 session-closer 的 closeout_trigger —— 占用 ≥ 阈值(默认 85%)且有未交接成果(未提交变更 / upm.followups / 新 memory 未入 §8)时 advise 现在 /session-closer 写交接(advisory, 不自动执行)。
契约 (I-1): closeout_trigger 消费 `token_telemetry.py` 的输出 schema (含 source 字段), 不是 relay cache 原始文件 (无 source → 落 unavailable → 恒不 nudge)。须先跑 token_telemetry 再喂其输出:
should_nudge=true → 向 owner surface nudge; 否则静默继续。
跳过规则
| 条件 | 跳过步骤 | 检测方法 | |
|---|---|---|---|
| 已在功能分支 | B.1 | 当前分支不是 main/develop | |
| 无测试文件 | B.2 (降级) | 变更文件无对应 _test. | |
| 无架构变更 | B.3 | 无 ARCHITECTURE.md 变更 | |
| emergency hotfix 单测替代 | B.2 单测 (manual prod validation 替代) | hotfix/* 分支 + Prod-Validated: trailer (见下) |
emergency hotfix: B.2 单测替代 + Prod-Validated trailer gate (#58, v1.35.0)
prod 紧急修复 (emergency_hotfix lane, hotfix/* 分支) 中, ops/config 改动 (无业务逻辑可单测) 可用 manual prod validation 替代 B.2 单测 —— 但需 机械 gate:
- 机检 = trailer 存在性 (防"忘记留验证证据"); 内容真实性靠 owner PR review + audit trail 事后追溯 (不事前防伪)。
- trailer 格式 + 根因块见
standards/conventions/git-commit.md §6.4。 - 非 hotfix 分支 / 非跳单测 → 此 gate 不触发, 标准 B.2 不变。
跳过逻辑
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/phase-b-developer/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/10cg/aria-plugin/phase-b-developer)