What problem does it solve?
This Skill prevents quality regressions by enforcing precise, consistent, and reliable validation after every code modification in Android projects.
Core Features & Use Cases
- 精准修改校验: Ensures changes are limited strictly to the requested scope, avoiding accidental edits, deletions, or unrelated logic changes.
- 单一职责与可维护性检查: Verifies functions and classes keep clear boundaries and follow single-responsibility principles.
- 日志规范与可观测性: Requires complete, correctly-leveled process and error logs with relevant context while avoiding sensitive data leakage.
- Android 原生控件一致性: Enforces using Android native controls for new UI components to match existing UI style and reliability expectations.
- 代码质量检测与自动修复: Detects bugs, syntax issues, null risks, leaks, concurrency hazards, and type safety problems, then fixes issues and produces a self-check report.
- Use Case: After finishing a feature like refactoring an Android screen or adding a new UI flow, run this Skill to validate compliance and deliver a clean, verified patch with a realistic self-test summary.
Quick Start
Tell the AI to run code-compliance-check immediately after completing your Android code changes, and to output a filled self-check report with the modified file list, validation statuses, and repair records.