agentleFS
geevarghesekthomas84-sysgeevarghesekthomas84-sys/android-ai-engineering-system/skills/app-product-architect/SKILL.md

app-product-architect

Skill4 starsChanged 40 days agoMITView on GitHub

App product architecture for planning Android and full-stack applications including requirements analysis, system design, technology selection, feature specification, and project scaffolding

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 11 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write user stories in standard format with acceptance criteria (Given/When/Then)

    line 39
  2. Distinctive:

    Create text-based architecture diagrams (component, sequence, data flow)

    line 49
  3. Distinctive:

    Use weighted decision matrices for objective comparisons

    line 57
  4. Distinctive:

    Document edge cases, error states, loading states

    line 63
  5. Distinctive:

    Create Room entities with relationships (@Relation, @Embedded, junction tables)

    line 68
  6. Distinctive:

    Create CI/CD pipeline templates (GitHub Actions)

    line 84
  7. Distinctive:

    Follow this sequence when architecting a new application.

    line 89
  8. Distinctive:

    Gather Requirements: - Ask about the app idea, target users, core problem being solved

    line 92
  9. Distinctive:

    Select Technology Stack: - Use decision matrices to pick Android stack, backend, database, cloud

    line 99
  10. Distinctive:

    Design Data Models: - Create entity-relationship diagrams, define schemas for Room and backend DB

    line 100
  11. Distinctive:

    Define API Contracts: - Write OpenAPI specs for all endpoints, define auth and error handling

    line 101
  12. Distinctive:

    Use text-based diagrams for system components:

    line 111

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

App Product Architect

A comprehensive skill for designing and planning Android and full-stack applications from concept to scaffolded project. Covers the full product architecture lifecycle: requirements gathering, system design, technology selection, feature specification, data modeling, API contracts, and project scaffolding.

Trigger Conditions

Activate this skill when the user:

  • Wants to plan or design a new application from scratch
  • Needs system architecture design for a mobile or full-stack app
  • Is making technology selection decisions (database, backend framework, cloud platform)
  • Requires feature planning and specification for an app idea
  • Wants an architecture review of an existing system design
  • Needs to define an MVP or prioritize features for a product
  • Asks for project scaffolding or module structure guidance
  • Wants to design data models, API contracts, or database schemas
  • Needs help writing user stories or acceptance criteria
  • Is planning iteration milestones or estimating project timelines

Capabilities

Requirements Analysis

  • Gather and document functional and non-functional requirements
  • Write user stories in standard format with acceptance criteria (Given/When/Then)
  • Apply MoSCoW prioritization to feature lists
  • Define MVP scope with clear boundaries
  • Map stakeholders and their concerns
  • Identify constraints (budget, timeline, platform, compliance)

System Architecture Design

  • Design client-server architecture for Android + backend systems
  • Choose between monolith, modular monolith, and microservices
  • Apply patterns: BFF, API Gateway, CQRS, event-driven
  • Create text-based architecture diagrams (component, sequence, data flow)
  • Plan for scalability, caching, CDN, message queues

Technology Stack Selection

  • Evaluate Android stack options (Compose vs Views, Navigation3, DI frameworks)
  • Compare backend frameworks (NestJS, FastAPI, Spring Boot)
  • Select databases (PostgreSQL, MongoDB, Firestore, Room)
  • Choose cloud platforms (Firebase, Supabase, AWS, GCP)
  • Use weighted decision matrices for objective comparisons

Feature Specification

  • Break features into epics, stories, and tasks
  • Define screen flows and navigation graphs
  • Specify state management strategy per feature
  • Document edge cases, error states, loading states
  • Estimate complexity using T-shirt sizing or story points

Data Model Design

  • Design entity-relationship models
  • Create Room entities with relationships (@Relation, @Embedded, junction tables)
  • Design PostgreSQL schemas with proper normalization
  • Plan migration strategies and seed data
  • Define validation rules and audit fields

API Contract Design

  • Write OpenAPI 3.1 specifications
  • Design RESTful resource models with proper naming
  • Define authentication and authorization schemes
  • Specify error formats (RFC 7807), pagination (cursor-based), versioning
  • Design webhook contracts for real-time events

Project Scaffolding

  • Generate Android multi-module project structures (:app, :core, :feature, :data)
  • Set up Gradle convention plugins and version catalogs
  • Scaffold backend project structures (NestJS modules, FastAPI routers)
  • Create CI/CD pipeline templates (GitHub Actions)
  • Generate environment configuration and documentation templates

Workflow

Follow this sequence when architecting a new application. Skip steps that are already completed or not relevant.

Phase 1: Discovery

  1. Gather Requirements - Ask about the app idea, target users, core problem being solved
  2. Define User Stories - Convert requirements into structured user stories with acceptance criteria
  3. Prioritize Features - Apply MoSCoW to separate MVP from future iterations
  4. Identify Constraints - Budget, timeline, team size, platform requirements, compliance needs

Phase 2: Design

  1. Design System Architecture - Choose architecture pattern, define components and their interactions
  2. Select Technology Stack - Use decision matrices to pick Android stack, backend, database, cloud
  3. Design Data Models - Create entity-relationship diagrams, define schemas for Room and backend DB
  4. Define API Contracts - Write OpenAPI specs for all endpoints, define auth and error handling

Phase 3: Plan

  1. Scaffold Project - Generate project structure, configure build system, set up CI/CD
  2. Plan Iterations - Break work into sprints or milestones with clear deliverables
  3. Estimate Timeline - Provide rough estimates per feature based on complexity

Output Formats

Architecture Diagrams

Use text-based diagrams for system components:

[Android App] --> [API Gateway] --> [Auth Service]
                                --> [User Service] --> [PostgreSQL]
                                --> [Media Service] --> [S3/Cloud Storage]
                                --> [Notification Service] --> [FCM]

Project Structure Trees

project-root/
  app/                    # Application module
  core/
    common/               # Shared utilities, extensions
    network/              # Retrofit setup, API client
    database/             # Room database, DAOs
    ui/                   # Design system, theme, shared composables
  feature/
    auth/                 # Login, registration, profile
    home/                 # Main screen, dashboard
  data/
    model/                # Domain models
    repository/           # Repository implementations
  build-logic/            # Convention plugins
  gradle/
    libs.versions.toml    # Version catalog

API Specifications

Provide endpoint tables with method, path, request body, response, and auth requirements.

Data Models

Provide entity tables with field name, type, constraints, and relationships.

Reference Files

  • references/requirements-analysis.md - Requirements gathering techniques and formats
  • references/system-design.md - System architecture patterns and design principles
  • references/tech-stack-selection.md - Technology comparison and selection criteria
  • references/api-contracts.md - API design standards and OpenAPI specification
  • references/data-modeling.md - Entity design, Room entities, and schema patterns
  • references/project-scaffolding.md - Project structure and build system setup
  • references/app-templates.md - Pre-built architecture templates for common app types

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.