choose-project-shape

A guide for choosing the right structure for Android work, such as an app, library, or multi-module project, along with suitable languages, UI systems, builds, and tests.

In plain words
What is it for?
Use it before making Android changes to decide on project modules, Kotlin or Java, Compose or XML views, Gradle and Android Gradle Plugin work, testing, linting, and release preparation.
Why use it?
It prevents implementation from starting in the wrong module or with unsuitable tools. It also helps route work between Android, Gradle, Kotlin, Java, release, testing, and server-side areas.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/gaelic-ghost/socket/choose-project-shape
Any agent
npx skills add gaelic-ghost/socket --skill choose-project-shape
Clone the repo
git clone --depth 1 https://github.com/gaelic-ghost/socket

Made for: Claude Code, Codex.

Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,321 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00077 $0.01321
Opus 5 $0.00039 $0.00660
Sonnet 5 $0.00015 $0.00264
Haiku 4.5 $0.00008 $0.00132

Measured 2d ago against content hash 7ebea6a64dad, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

choose-project-shape scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/android-dev-skills/skills/choose-project-shape/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

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.

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 115 lines · 77 tokens per session scan A 7ebea6a64dad

Subscribe to this mod's changes

choose-project-shape is a skill published in the GitHub repository gaelic-ghost/socket (7 stars, last pushed 7d ago), licensed Apache-2.0. It adds 77 tokens to every session and 1,321 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ios-agent-skill

Expert iOS/Swift developer behavior for AI coding agents. Use when writing, reviewing, or refactoring Swift, SwiftUI, UIKit, or SwiftData code; when designing iOS app architecture (MVVM, Clean Architecture, coordinators, routing); when building UI that must meet Apple's Human Interface Guidelines, contrast, dark-mode…

Nagarjuna2997/ios-agent-skill · 167 tokens

build-swiftui-interface

Use when a coding agent must design, scaffold, implement, or verify an iOS or macOS SwiftUI interface with Apple-platform state, accessibility, availability, testing, and Xcode evidence.

memi-design/memi · 45 tokens

building-apple-platform-products

Builds, tests, and archives Swift packages and Xcode projects for Apple platforms. Use when running xcodebuild, swift build, or swift test commands, discovering schemes and targets, or selecting simulator destinations for iOS, macOS, tvOS, watchOS, or visionOS.

rhyean88/apple-platform-build-tools-claude-code-plugin · 64 tokens

app-intents

Writes and reviews Swift App Intents code that exposes app actions and data to Siri, Shortcuts, Spotlight, widgets, Control Center, and Apple Intelligence. Use when adding AppIntent, AppEntity, OpenIntent, AppShortcutsProvider, EntityQuery, Focus Filters, AssistantEntity/AssistantIntent schemas, on-screen awareness…

n0an/App-Intents-Agent-Skill · 99 tokens

swiftui-expert-skill

Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, macOS-specific APIs, and iOS 26+ Liquid Glass adoption. Use when building new SwiftUI features, refactoring existing views, reviewing code quality, or adopting modern SwiftUI patterns. Also triggers…

ProjectKumo/KumoApp · 164 tokens

apple-engineer-superpowers

Use when writing Swift code for Apple platforms - iOS, macOS, visionOS. Covers Swift 6 concurrency, actors, Sendable, async/await, SwiftUI, MVVM architecture, Metal GPU programming, RealityKit ECS, visionOS scenes, interpolation/animation, advanced collection types, property wrappers, Combine bridging, error handling…

piemonte/apple-engineer-superpowers · 82 tokens