Multi-Platform Feature Development Workflow
Build and deploy the same feature consistently across web, mobile, and desktop platforms using API-first architecture and parallel implementation strategies.
[Extended thinking: This workflow orchestrates multiple specialized agents to ensure feature parity across platforms while maintaining platform-specific optimizations. The coordination strategy emphasizes shared contracts and parallel development with regular synchronization points. By establishing API contracts and data models upfront, teams can work independently while ensuring consistency. The workflow benefits include faster time-to-market, reduced integration issues, and maintainable cross-platform codebases.]
Use this skill when
- Working on multi-platform feature development workflow tasks or workflows
- Needing guidance, best practices, or checklists for multi-platform feature development workflow
Do not use this skill when
- The task is unrelated to multi-platform feature development workflow
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Phase 1: Architecture and API Design (Sequential)
1. Define Feature Requirements and API Contracts
- Use Task tool with subagent_type="backend-architect"
- Prompt: "Design the API contract for feature: $ARGUMENTS. Create OpenAPI 3.1 specification with:
- RESTful endpoints with proper HTTP methods and status codes
- GraphQL schema if applicable for complex data queries
- WebSocket events for real-time features
- Request/response schemas with validation rules
- Authentication and authorization requirements
- Rate limiting and caching strategies
- Error response formats and codes
Define shared data models that all platforms will consume."
- Expected output: Complete API specification, data models, and integration guidelines
2. Design System and UI/UX Consistency
- Use Task tool with subagent_type="ui-ux-designer"
- Prompt: "Create cross-platform design system for feature using API spec: [previous output]. Include:
- Component specifications for each platform (Material Design, iOS HIG, Fluent)
- Responsive layouts for web (mobile-first approach)
- Native patterns for iOS (SwiftUI) and Android (Material You)
- Desktop-specific considerations (keyboard shortcuts, window management)
- Accessibility requirements (WCAG 2.2 Level AA)
- Dark/light theme specifications
- Animation and transition guidelines"
- Context from previous: API endpoints, data structures, authentication flows
- Expected output: Design system documentation, component library specs, platform guidelines
3. Shared Business Logic Architecture
- Use Task tool with subagent_type="comprehensive-review::architect-review"
- Prompt: "Design shared business logic architecture for cross-platform feature. Define:
- Core domain models and entities (platform-agnostic)
- Business rules and validation logic
- State management patterns (MVI/Redux/BLoC)
- Caching and offline strategies
- Error handling and retry policies
- Platform-specific adapter patterns
Consider Kotlin Multiplatform for mobile or TypeScript for web/desktop sharing."
- Context from previous: API contracts, data models, UI requirements
- Expected output: Shared code architecture, platform abstraction layers, implementation guide
Phase 2: Parallel Platform Implementation
4a. Web Implementation (React/Next.js)
- Use Task tool with subagent_type="frontend-developer"
- Prompt: "Implement web version of feature using:
- React 18+ with Next.js 14+ App Router
- TypeScript for type safety
- TanStack Query for API integration: [API spec]
- Zustand/Redux Toolkit for state management
- Tailwind CSS with design system: [design specs]
- Progressive Web App capabilities
- SSR/SSG optimization where appropriate
- Web vitals optimization (LCP < 2.5s, FID < 100ms)
Follow shared business logic: [architecture doc]"
- Context from previous: API contracts, design system, shared logic patterns
- Expected output: Complete web implementation with tests
4b. iOS Implementation (SwiftUI)
- Use Task tool with subagent_type="ios-developer"
- Prompt: "Implement iOS version using:
- SwiftUI with iOS 17+ features
- Swift 5.9+ with async/await
- URLSession with Combine for API: [API spec]
- Core Data/SwiftData for persistence
- Design system compliance: [iOS HIG specs]
- Widget extensions if applicable
- Platform-specific features (Face ID, Haptics, Live Activities)
- Testable MVVM architecture
Follow shared patterns: [architecture doc]"
- Context from previous: API contracts, iOS design guidelines, shared models
- Expected output: Native iOS implementation with unit/UI tests
4c. Android Implementati
1---2name: multi-platform-apps-multi-platform3description: Build and deploy the same feature consistently across web, mobile, and desktop platforms using API-first architecture and parallel implementation strategies.4---5
6
7# Multi-Platform Feature Development Workflow
8
9Build and deploy the same feature consistently across web, mobile, and desktop platforms using API-first architecture and parallel implementation strategies.
10
11[Extended thinking: This workflow orchestrates multiple specialized agents to ensure feature parity across platforms while maintaining platform-specific optimizations. The coordination strategy emphasizes shared contracts and parallel development with regular synchronization points. By establishing API contracts and data models upfront, teams can work independently while ensuring consistency. The workflow benefits include faster time-to-market, reduced integration issues, and maintainable cross-platform codebases.]
12
13## Use this skill when
14
15- Working on multi-platform feature development workflow tasks or workflows
16- Needing guidance, best practices, or checklists for multi-platform feature development workflow
17
18## Do not use this skill when
19
20- The task is unrelated to multi-platform feature development workflow
21- You need a different domain or tool outside this scope
22
23## Instructions
24
25- Clarify goals, constraints, and required inputs.
26- Apply relevant best practices and validate outcomes.
27- Provide actionable steps and verification.
28- If detailed examples are required, open `resources/implementation-playbook.md`.
29
30## Phase 1: Architecture and API Design (Sequential)
31
32### 1. Define Feature Requirements and API Contracts
33- Use Task tool with subagent_type="backend-architect"
34- Prompt: "Design the API contract for feature: $ARGUMENTS. Create OpenAPI 3.1 specification with:
35 - RESTful endpoints with proper HTTP methods and status codes
36 - GraphQL schema if applicable for complex data queries
37 - WebSocket events for real-time features
38 - Request/response schemas with validation rules
39 - Authentication and authorization requirements
40 - Rate limiting and caching strategies
41 - Error response formats and codes
42 Define shared data models that all platforms will consume."
43- Expected output: Complete API specification, data models, and integration guidelines
44
45### 2. Design System and UI/UX Consistency
46- Use Task tool with subagent_type="ui-ux-designer"
47- Prompt: "Create cross-platform design system for feature using API spec: [previous output]. Include:
48 - Component specifications for each platform (Material Design, iOS HIG, Fluent)
49 - Responsive layouts for web (mobile-first approach)
50 - Native patterns for iOS (SwiftUI) and Android (Material You)
51 - Desktop-specific considerations (keyboard shortcuts, window management)
52 - Accessibility requirements (WCAG 2.2 Level AA)
53 - Dark/light theme specifications
54 - Animation and transition guidelines"
55- Context from previous: API endpoints, data structures, authentication flows
56- Expected output: Design system documentation, component library specs, platform guidelines
57
58### 3. Shared Business Logic Architecture
59- Use Task tool with subagent_type="comprehensive-review::architect-review"
60- Prompt: "Design shared business logic architecture for cross-platform feature. Define:
61 - Core domain models and entities (platform-agnostic)
62 - Business rules and validation logic
63 - State management patterns (MVI/Redux/BLoC)
64 - Caching and offline strategies
65 - Error handling and retry policies
66 - Platform-specific adapter patterns
67 Consider Kotlin Multiplatform for mobile or TypeScript for web/desktop sharing."
68- Context from previous: API contracts, data models, UI requirements
69- Expected output: Shared code architecture, platform abstraction layers, implementation guide
70
71## Phase 2: Parallel Platform Implementation
72
73### 4a. Web Implementation (React/Next.js)
74- Use Task tool with subagent_type="frontend-developer"
75- Prompt: "Implement web version of feature using:
76 - React 18+ with Next.js 14+ App Router
77 - TypeScript for type safety
78 - TanStack Query for API integration: [API spec]
79 - Zustand/Redux Toolkit for state management
80 - Tailwind CSS with design system: [design specs]
81 - Progressive Web App capabilities
82 - SSR/SSG optimization where appropriate
83 - Web vitals optimization (LCP < 2.5s, FID < 100ms)
84 Follow shared business logic: [architecture doc]"
85- Context from previous: API contracts, design system, shared logic patterns
86- Expected output: Complete web implementation with tests
87
88### 4b. iOS Implementation (SwiftUI)
89- Use Task tool with subagent_type="ios-developer"
90- Prompt: "Implement iOS version using:
91 - SwiftUI with iOS 17+ features
92 - Swift 5.9+ with async/await
93 - URLSession with Combine for API: [API spec]
94 - Core Data/SwiftData for persistence
95 - Design system compliance: [iOS HIG specs]
96 - Widget extensions if applicable
97 - Platform-specific features (Face ID, Haptics, Live Activities)
98 - Testable MVVM architecture
99 Follow shared patterns: [architecture doc]"
100- Context from previous: API contracts, iOS design guidelines, shared models
101- Expected output: Native iOS implementation with unit/UI tests
102
103### 4c. Android Implementati