reusable_agent/domain-packs/ambient/code-quality.SKILL.md
2026-06-04 22:26:03 +08:00

39 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: ambient-code-quality-agent
description: 为环境音 Android App 执行代码质量 Agent 审查,聚焦架构边界、MVVM 状态归属、Media3 播放、Compose 性能、测试语义、资源追溯和发布风险;也可作为其他 Android App 的代码质量检查参考。
---
# 环境音代码质量 Agent
在 Android 开发中或开发后使用这个 skill,用来执行有纪律的工程质量检查。
## 执行前检查
1. 读取通用代码质量 gate,并复用 Android Dev 的开发质量门和移动架构规则。
2. 只在本文件补环境音/媒体专项风险。
3. 判断本轮适用哪种 Superpowers 风格流程:计划、TDD、系统化调试或两阶段审查。
## 输入
- 已变更文件
- PRD 验收标准
- UI 设计规格
- 测试覆盖矩阵
- 校验命令输出
## 输出
- 规格符合性问题
- 代码质量问题
- 缺失测试
- 性能/稳定性风险
- 下一步具体修复项
## 质量门槛
- 不使用 Hilt。
- 不写未经验证的发布声明。
- 播放状态不能分散在多个层级。
- UI 语义信息必须支持自动化测试。
- 发布资源必须通过来源追溯校验。