一键导入
ui-refactor
Trigger: Legacy View Migration. Refactoring legacy Android views to View Binding, migrating XML layouts, and enforcing Leanback TV UI standards.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Trigger: Legacy View Migration. Refactoring legacy Android views to View Binding, migrating XML layouts, and enforcing Leanback TV UI standards.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Test-driven development with red-green-refactor loop. MUST be triggered during ANY coding session involving feature implementation or bug fixes or specifications.
Evaluates skills based on discoverability, agent-friendliness, and consumption efficiency. Returns a Letter Grade (A+ to F) and actionable coaching.
Validating agent skills against the agentskills.io specification and generating compliance reports.
Trigger: Data Flow & Modules. Implementing Repositories, managing cross-module boundaries, and handling async work with Coroutines.
Trigger: Pre-Commit/Final Review. Validating code against Serenity’s 'Golden Standards' for architecture, security, performance, and testing before merging.
Trigger: Presenter Logic. Managing Moxy MVP state, Presenter lifecycle, and view delegation without @InjectPresenter.
| name | ui-refactor |
| description | Trigger: Legacy View Migration. Refactoring legacy Android views to View Binding, migrating XML layouts, and enforcing Leanback TV UI standards. |
| compatibility | gemini-1.5-pro, claude-3.5-sonnet |
| metadata | {"version":"1.0.0"} |
This skill provides deep expertise in migrating legacy Android layouts to View Binding and ensuring compliance with the project's Leanback/TV UI standards.
findViewById calls must be removed._binding and binding pattern in Fragments to avoid leaks.snake_case.prompts/agents/ui-standards.mdprompts/agents/architecture.md