code-compliance-check

Validate Android code changes for scope, logging, and native UI compliance.

2|Updated May 12, 2026
One-click install
npx skills add https://github.com/youfengknight/Android-Code-Skills --skill code-compliance-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-compliance-check
Source: https://github.com/youfengknight/Android-Code-Skills/tree/main/code-compliance-check
Command: npx skills add https://github.com/youfengknight/Android-Code-Skills --skill code-compliance-check

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about code-compliance-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Android code changes for scope and logging correctness after a feature refactor?

Run a code compliance check immediately after completing Android code modifications to validate precise change scope, single-responsibility design, logging correctness, native control usage, and comprehensive quality detection before final delivery.

How do I enforce Android native UI control consistency when adding new UI components?

Enforce Android native UI control consistency by validating that new UI components use Android native controls to match existing UI style and reliability expectations, ensuring a unified user experience across the application.

Can I automatically detect and repair Android code quality issues like null risks and concurrency hazards?

Yes, you can automatically detect and repair Android code quality issues including bugs, syntax issues, null risks, leaks, and concurrency hazards, subsequently generating a truthful self-check report detailing the validation statuses and repair records.

What is a self-audit report in Android code compliance checks?

A self-audit report in Android code compliance checks is a finalized summary outputting the modified file list, validation statuses, and automatic repair records, ensuring truthful verification before delivering a clean, verified patch.

Does code compliance check work for delivery-ready Android patches?

Yes, code compliance check works for delivery-ready Android patches by applying stepwise validation for precise change scope, single-responsibility design, logging correctness, and native control usage to ensure quality and reliability.