一键导入
ai-collaboration-workflow
Best practices for effective human-AI pair programming and communication
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Best practices for effective human-AI pair programming and communication
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidance for creating effective modular skills for Claude. Use when creating or refining skills to ensure they are concise, follow progressive disclosure patterns, and provide appropriate degrees of freedom.
Guidelines for ensuring smooth and race-condition-free theme transitions in Android, specifically regarding icon tinting and state management.
Clarify touch-target vs visual size when users ask to resize buttons without changing icons.
Choose whether the outer container acts as the touch proxy or remains a layout placeholder to control hit targets.
Best practices for 60fps custom View rendering with zero allocation in onDraw
Expert guidance for creating soulful, industrial-grade Android native interfaces with Jetpack Compose, focusing on tactility, typography, and motion.
| name | AI Collaboration Workflow |
| description | Best practices for effective human-AI pair programming and communication |
Last Verified: 2026-01-23 Applicable SDK: Android 14+ (API 34+) Dependencies: None
This skill provides proven techniques for effective collaboration with AI coding assistants, maximizing productivity and reducing misunderstandings.
Before writing features, establish the foundation:
colors.xml: Define semantic colors (bg_primary, text_secondary)themes.xml: Configure Day/Night mode with explicit windowBackgroundUtils.dp2px, HapticManager, SoundManagerWhy: Extracting colors and dimensions later wastes significant refactoring time.
[Location/Area] + [Current Behavior] + [Reference/Sensory Description] = Precise Execution
| ❌ Vague | ✅ Clear |
|---|---|
| "Fix that clock thing" | "The clock digits in FlipCard.kt are not centered. They should align to the visual ink center, not the font metrics center." |
| "Add burn-in protection" | "Add OLED burn-in protection: shift X/Y by 1px every minute, max 4px range, use ValueAnimator, reset to center on app restart." |
| "The line is too long" | "The middle divider line in White Widget should match the width of the card's narrowest point (the 'waist')." |
"Edit MainActivity.kt"
"I'm building the Settings page. I need to add a toggle for OLED protection. The toggle should:
Default to OFF
Persist to SharedPreferences
Immediately apply when changed"
Always mention:
Instead of guessing technical terms, describe physical phenomena:
| Sensory Description | AI Understands |
|---|---|
| "Like physical paper folding" | 3D flip animation with perspective |
| "Glass-like, see-through" | Translucent overlay with blur |
| "Fat at ends, thin in middle" | Bezier curve with pinched center ("waist" shape) |
| "Jagged edges" | Anti-aliasing issue |
Screenshots solve 90% of visual misunderstandings:
This is especially critical for:
If AI keeps misunderstanding:
| Anti-Pattern | Why It Fails | Better Approach |
|---|---|---|
| "Make it better" | No actionable criteria | "Increase contrast between X and Y" |
| "Like the other one" | Ambiguous reference | "Like the Classic widget's shadow effect" |
| "Fix the bug" | No reproduction steps | "When I rotate after 10s idle, black flash appears" |
| Technical guessing | Often wrong terminology | Describe what you see/want |
Before sending a request, verify: