android-workflow

Orchestrates Android development workflows for Kotlin/Compose projects. Routes tasks to appropriate workflow: feature, quick-fix, refactor, investigate, hotfix. Use when user requests: implementation (구현, 추가, 새 기능, 만들어, 개발, 적용), bug fixes (버그, 수정, 오류, 고쳐), refactoring (리팩토링, 개선, 정리), debugging (분석, 원인, 왜, 디버깅, 안돼), or hotfix (긴급, 프로덕션, 핫픽스). Provides Self-Check Protocol and Quality Gates for implementation tasks.

$ 설치

git clone https://github.com/Enso-Soft/lotto-assist /tmp/lotto-assist && cp -r /tmp/lotto-assist/.claude/skills/android-workflow ~/.claude/skills/lotto-assist

// tip: Run this command in your terminal to install the skill


name: android-workflow description: | Orchestrates Android development workflows for Kotlin/Compose projects. Routes tasks to appropriate workflow: feature, quick-fix, refactor, investigate, hotfix. Use when user requests: implementation (구현, 추가, 새 기능, 만들어, 개발, 적용), bug fixes (버그, 수정, 오류, 고쳐), refactoring (리팩토링, 개선, 정리), debugging (분석, 원인, 왜, 디버깅, 안돼), or hotfix (긴급, 프로덕션, 핫픽스). Provides Self-Check Protocol and Quality Gates for implementation tasks.

Android Workflow Orchestrator

Routes Android development tasks to appropriate workflows and manages quality gates.

Self-Check Protocol (MUST DO)

Before starting implementation tasks, verify:

#QuestionAction if No
1Is this an implementation task?Handle directly
2Has the workflow been classified?Call task-router first
3Following the correct sequence?Re-check workflow
4Trying to skip an agent?Never allowed, follow sequence

Quick Classification

Classification Criteria

ConditionWorkflow
Files ≤2, single layer, no UI/API/DBquick-fix
New feature, new screenfeature
Structure change, behavior preservedrefactor
Unknown bug cause, error analysisinvestigate
Production emergencyhotfix

Auto-Upgrade Rules

TriggerFromTo
UI changes detectedquick-fixfeature
Files 3+quick-fixfeature
API/DB changesquick-fixfeature
Build fails 2xanyinvestigate

Workflow Sequences

Agent execution order for each workflow:

WorkflowSequence
quick-fixcode-writer → code-critic
featureplanner → [ux-engineer] → [ui-builder] → code-writer → test-engineer → code-critic
refactorplanner → code-writer → test-engineer → code-critic
investigateinvestigator → (route based on findings)
hotfixcode-writer → test-engineer(smoke) → code-critic

Detailed Guides:

Quality Gates

GateCheckpointCriteria
Gate 0task-routerClassification complete
Gate 1plannerRequirements clear, tasks defined
Gate 2code-writerBuild succeeds
Gate 3code-critic0 critical, ≤2 major issues

Detailed Criteria: gates/quality-gates.md

MCP Tool Requirements

Workflowsequential-thinkingcontext7codex-cli
quick-fixSkipOptional1 round
feature3+ stepsRequired2+ rounds
refactor3+ stepsOptional2+ rounds
investigate5+ stepsOptionalOptional
hotfixSkipOptional1 round

Build Commands

# Full build
./gradlew build

# Module build
./gradlew :feature:home:build

# Run tests
./gradlew test
./gradlew :feature:home:testDebugUnitTest

# Clean build
./gradlew clean build

Failure Recovery

On build or gate failure:

  1. Record: Log error messages and environment info
  2. Retry: Auto-retry once
  3. Escalate: If still failing, present options
    • A: Manual fix then retry
    • B: Call investigator
    • C: Abort task