multi-platform-apps-multi-platform

rmyndharis/antigravity-skills

Единая фича на web, mobile и desktop через API-first архитектуру.

Звёзды2 043
Авторrmyndharis

Установка

SKILL.md

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.

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 Implementation (Kotlin/Compose)

  • Use Task tool with subagent_type="mobile-developer"
  • Prompt: "Implement Android version using:<!-- -->
    • Jetpack Compose with Material 3
    • Kotlin coroutines and Flow
    • Retrofit/Ktor for API: [API spec]
    • Room database for local storage
    • Hilt for dependency injection
    • Material You dynamic theming: [design specs]
    • Platform features (biometric auth, widgets)
    • Clean architecture with MVI pattern Follow shared logic: [architecture doc]"
  • Context from previous: API contracts, Material Design specs, shared patterns
  • Expected output: Native Android implementation with tests

4d. Desktop Implementation (Optional - Electron/Tauri)

  • Use Task tool with subagent_type="frontend-mobile-development::frontend-developer"
  • Prompt: "Implement desktop version using Tauri 2.0 or Electron with:<!-- -->
    • Shared web codebase where possible
    • Native OS integration (system tray, notifications)
    • File system access if needed
    • Auto-updater functionality
    • Code signing and notarization setup
    • Keyboard shortcuts and menu bar
    • Multi-window support if applicable Reuse web components: [web implementation]"
  • Context from previous: Web implementation, desktop-specific requirements
  • Expected output: Desktop application with platform packages

Phase 3: Integration and Validation

5. API Documentation and Testing

  • Use Task tool with subagent_type="documentation-generation::api-documenter"
  • Prompt: "Create comprehensive API documentation including:<!-- -->
    • Interactive OpenAPI/Swagger documentation
    • Platform-specific integration guides
    • SDK examples for each platform
    • Authentication flow diagrams
    • Rate limiting and quota information
    • Postman/Insomnia collections
    • WebSocket connection examples
    • Error handling best practices
    • API versioning strategy Test all endpoints with platform implementations."
  • Context from previous: Implemented platforms, API usage patterns
  • Expected output: Complete API documentation portal, test results

6. Cross-Platform Testing and Feature Parity

  • Use Task tool with subagent_type="unit-testing::test-automator"
  • Prompt: "Validate feature parity across all platforms:<!-- -->
    • Functional testing matrix (features work identically)
    • UI consistency verification (follows design system)
    • Performance benchmarks per platform
    • Accessibility testing (platform-specific tools)
    • Network resilience testing (offline, slow connections)
    • Data synchronization validation
    • Platform-specific edge cases
    • End-to-end user journey tests Create test report with any platform discrepancies."
  • Context from previous: All platform implementations, API documentation
  • Expected output: Test report, parity matrix, performance metrics

7. Platform-Specific Optimizations

  • Use Task tool with subagent_type="application-performance::performance-engineer"
  • Prompt: "Optimize each platform implementation:<!-- -->
    • Web: Bundle size, lazy loading, CDN setup, SEO
    • iOS: App size, launch time, memory usage, battery
    • Android: APK size, startup time, frame rate, battery
    • Desktop: Binary size, resource usage, startup time
    • API: Response time, caching, compression Maintain feature parity while leveraging platform strengths. Document optimization techniques and trade-offs."
  • Context from previous: Test results, performance metrics
  • Expected output: Optimized implementations, performance improvements

Configuration Options

  • --platforms: Specify target platforms (web,ios,android,desktop)
  • --api-first: Generate API before UI implementation (default: true)
  • --shared-code: Use Kotlin Multiplatform or similar (default: evaluate)
  • --design-system: Use existing or create new (default: create)
  • --testing-strategy: Unit, integration, e2e (default: all)

Success Criteria

  • API contract defined and validated before implementation
  • All platforms achieve feature parity with <5% variance
  • Performance metrics meet platform-specific standards
  • Accessibility standards met (WCAG 2.2 AA minimum)
  • Cross-platform testing shows consistent behavior
  • Documentation complete for all platforms
  • Code reuse >40% between platforms where applicable
  • User experience optimized for each platform's conventions

Platform-Specific Considerations

Web: PWA capabilities, SEO optimization, browser compatibility iOS: App Store guidelines, TestFlight distribution, iOS-specific features Android: Play Store requirements, Android App Bundles, device fragmentation Desktop: Code signing, auto-updates, OS-specific installers

Initial feature specification: $ARGUMENTS

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: multi-platform-apps-multi-platform](https://darkplay.ru/ai/skills/rmyndharis-antigravity-skills-multi-platform-apps-multi-platform)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

A11y Architectaffaan-m · Архитектор доступности, специализирующийся на соответствии WCAG 2.2 для веба и нативных…
225 587 ★
Chief Of Staffaffaan-m · Личный руководитель коммуникаций, который сортирует почту, Slack, LINE и Messenger…
225 587 ★
Network Architectaffaan-m · Проектирует корпоративные и распределённые сети с маршрутизацией и автоматизацией.
225 587 ★
code-reviewanthropics · Автоматическое код-ревью pull request'ов с помощью нескольких специализированных агентов…
34 комп.
ruflo-rvfruvnet · Формат RVF для переносимой памяти агентов, сохранения сессий и кросс-платформенного…
240 комп.
bmad-analysisbmad-code-org · Пакет мышления BMad — структурированный брейншторминг, стресс-тестирование идей и…
39 комп.
bmad-party-modebmad-code-org · Многоперспективные круглые столы — столкновение точек зрения агентов или пользовательских…
39 комп.
agentic-bundle-aas-api-platform-buildersickn33 · Установите набор редакционных навыков «AAS API Platform Builder» для Claude Code.
49 917 ★
agentic-bundle-aas-data-engineering-platformsickn33 · Установите набор редакционных навыков «AAS Data Engineering Platform» для Claude Code.
49 917 ★
agentic-bundle-apple-platform-designsickn33 · Установите набор редакционных навыков "Apple Platform Design" для Claude Code.
49 917 ★

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8