Skip to content
Development
Skill

/choose-project-shape

Choose the right Android project, app, library, module, language, UI, build, test, lint, signing, release, or dependency-maintenance shape before implementation. Use when Android work needs routing across Kotlin, Java, Gradle, Android Gradle Plugin, Compose, XML views,

From plugin
socket
9200 skills5 MCP

Claude Code

$ npx -y skills add gaelic-ghost/socket --skill choose-project-shape --agent claude-code

SKILL.md

choose-project-shape.SKILL.md
name: choose-project-shape
description: Choose the right Android project, app, library, module, language, UI, build, test, lint, signing, release, or dependency-maintenance shape before implementation. Use when Android work needs routing across Kotlin, Java, Gradle, Android Gradle Plugin, Compose, XML views, emulator-aware validation, release readiness, or server-side JVM handoffs.
license: Apache-2.0
compatibility: Designed for Codex and compatible Agent Skills clients working with Android app and library repositories on macOS or other supported Android development environments.
metadata:
  owner: gaelic-ghost
  repo: socket
  category: android-planning
allowed-tools: Read Bash(rg:*) Bash(git:*) Bash(java:*) Bash(./gradlew:*) Bash(gradle:*) Bash(adb:*) Bash(aapt:*) Bash(aapt2:*)

Choose Android Project Shape

Purpose

Pick the smallest correct Android-owned shape before code changes begin.

The practical decision is whether the work belongs in an Android app, Android library, multi-module Android project, Kotlin-first implementation, Java-only maintenance, UI workflow, Gradle/AGP maintenance pass, test/lint pass, release-readiness pass, or a handoff to server-side JVM guidance.

Source Check

Use repo-local files, checked-out dependency sources, and Dash.app docsets opportunistically when they cover the exact Android-adjacent surface, especially Gradle, Java, or command-line reference material. Treat current official Android and Google documentation as authoritative for Android-specific behavior, APIs, release policy, permissions, privacy, Play delivery, and version-sensitive guidance:

  • [Android Developers documentation](https://developer.android.com/docs)
  • [Android build and Android Gradle Plugin documentation](https://developer.android.com/build)
  • [Jetpack Compose documentation](https://developer.android.com/compose)
  • [Gradle User Manual](https://docs.gradle.org/current/userguide/userguide.html)
  • [Kotlin documentation](https://kotlinlang.org/docs/home.html)
  • [Java documentation](https://docs.oracle.com/en/java/)

Translate documentation into the concrete module, command, or implementation decision it changes.

Classification Workflow

1. Inspect the repository shape:

  • `settings.gradle`, `settings.gradle.kts`, `build.gradle`, `build.gradle.kts`
  • `gradle/libs.versions.toml`, `gradle.properties`, `gradlew`
  • `AndroidManifest.xml`
  • `src/main/java`, `src/main/kotlin`, `src/main/res`
  • `src/test`, `src/androidTest`
  • Compose markers such as `androidx.compose`, `@Composable`, or Compose compiler configuration
  • XML view markers such as `layout/`, AppCompat, fragments, view binding, or data binding
  • CI, signing, lint, release, and Play delivery files

2. Identify the user-visible job:

  • Android app
  • Android library
  • multi-module Android project
  • Kotlin-first app or library
  • Java-only app or library
  • mixed Kotlin and Java app
  • Compose UI implementation
  • XML/AppCompat UI implementation
  • AndroidX library maintenance
  • Gradle/AGP, dependency, test, lint, signing, or release work

3. Route non-Android JVM work away from this plugin:

  • backend services
  • shared non-Android JVM libraries
  • server frameworks
  • Maven or SBT backend workflows

4. Choose language posture:

  • Preserve existing repository language choices.
  • Prefer Kotlin for new Android work when no repo default conflicts.
  • Preserve Java-only Android codebases unless the user asks for migration.
  • Ask before large Kotlin/Java migrations.
  • Explain interop when APIs cross Kotlin and Java.

5. Choose validation:

  • Gradle wrapper commands from the affected module first.
  • `test`, `lint`, `assemble`, `bundle`, or connected-device tasks only when they match the change.
  • Emulator/device validation as a handoff to the Android testing plugin, not duplicated here.

Recommendations

Android App

Use app guidance when the change affects activities, fragments, services, receivers, resources, UI, manifests, permissions, signing, packaging, or Play release behavior.

Handoff:

  • `android-dev:build-kotlin-android` for Kotlin-first implementation
  • `android-dev:java-android-workflow` for Java-only or Kotlin/Java interop work
  • `android-dev:testing-lint-workflow` for tests and lint
  • `android-dev:release-readiness-workflow` for release checks

Android Library

Use library guidance when the output is an Android artifact consumed by apps or other Android modules. Keep public APIs, resources, manifests, and binary compatibility explicit.

Gradle Or AGP Maintenance

Use `android-dev:gradle-agp-workflow` when build files, plugin versions, namespaces, variants, flavors, version catalogs, dependency resolution, generated sources, or Android SDK settings own the work.

UI Implementation

Use `android-dev:build-kotlin-android` for common Compose and XML UI tasks. Keep future specialized Compose or XML skills as expansion points, not blockers for ordinary UI edits.

Output Shape

Return:

1. `Chosen shape`: app, library, multi-module project, Kotlin implementation, Java maintenance, UI task, build task, test/lint task, release task, or handoff. 2. `Android owner`: module, package, source set, manifest, resources, or release surface. 3. `Language posture`: Kotlin-first, Java-only, mixed, or migration decision needed. 4. `Build owner`: Gradle wrapper, AGP version, affected modules, and variants. 5. `Validation path`: exact commands and any emulator/device handoff. 6. `Next skill`: the next Android or server-side JVM skill to use.

Guardrails

  • Do not make backend JVM work Android-owned just because it uses Gradle or Java.
  • Do not rewrite Java Android code to Kotlin without user intent.
  • Do not add new modules, flavors, or architecture layers without naming the near-term problem they solve.
  • Do not start emulator, device, Play, or publish workflows by default.
  • Do not trust Dash coverage for Android-specific behavi
Read more
@gaelic-ghost
Ships withsocket

Stuff for Agents on macOS Promo audio: Socket Codex Marketplace Promo

9200 skills5 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
9
Star history of gaelic-ghost/socket on GitHub, a chart by star-history.com

Other skills on socket.

orchestrate-agent-work

orchestrate-agent-work

Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning,…

@gaelic-ghost@gaelic-ghostInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about choose-project-shape.

Which coding agents can use choose-project-shape?
choose-project-shape installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.