11 lines
1.1 KiB
Markdown
Raw 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.

# Android 开发 Agent 使用说明
复制本目录后,对 Codex 说:
```text
请读取当前目录里的 SKILL.md、AGENT.md、android_senior_engineering_standards.md、mobile_architecture_guidelines.md、development_quality_gate.md 和 android_handoff_contract.md;设计交接读取 shared-docs/figma_android_handoff.md。
输入:PRD、Figma 设计源、设计参数、资源/数据契约。
硬约束:先审计现有技术栈并保留原架构。旧 Java/XML 项目继续 Java/XML,复杂 XML 布局优先 ConstraintLayout,网络/数据库/异步/日志/DI 沿用项目已有封装;非必要不引入 Kotlin、Compose、Flow、Room、DataStore、Retrofit、Hilt 或其他新框架。新项目或已采用 Kotlin/Compose 的项目,再按官方 MVVM、不可变 UiState、单向数据流等现代约束执行。
要求:新功能或高风险修复先读取 skills/p0-vertical-slice-architecture/SKILL.md,定义用户入口、状态持有者、事实源、UI 回显、失败恢复和最小验证闭合的 P0 垂直切片;涉及布局时按当前技术栈读取 Compose 或 Java/XML 自适应专项 skill。
```