Use when working with full stack orchestration full stack feature
Add this skill
npx mdskills install sickn33/full-stack-orchestration-full-stack-featureComprehensive 12-phase orchestration workflow with clear subagent delegation and API-first principles
1---2name: full-stack-orchestration-full-stack-feature3description: "Use when working with full stack orchestration full stack feature"4---56## Use this skill when78- Working on full stack orchestration full stack feature tasks or workflows9- Needing guidance, best practices, or checklists for full stack orchestration full stack feature1011## Do not use this skill when1213- The task is unrelated to full stack orchestration full stack feature14- You need a different domain or tool outside this scope1516## Instructions1718- Clarify goals, constraints, and required inputs.19- Apply relevant best practices and validate outcomes.20- Provide actionable steps and verification.21- If detailed examples are required, open `resources/implementation-playbook.md`.2223Orchestrate full-stack feature development across backend, frontend, and infrastructure layers with modern API-first approach:2425[Extended thinking: This workflow coordinates multiple specialized agents to deliver a complete full-stack feature from architecture through deployment. It follows API-first development principles, ensuring contract-driven development where the API specification drives both backend implementation and frontend consumption. Each phase builds upon previous outputs, creating a cohesive system with proper separation of concerns, comprehensive testing, and production-ready deployment. The workflow emphasizes modern practices like component-driven UI development, feature flags, observability, and progressive rollout strategies.]2627## Phase 1: Architecture & Design Foundation2829### 1. Database Architecture Design30- Use Task tool with subagent_type="database-design::database-architect"31- Prompt: "Design database schema and data models for: $ARGUMENTS. Consider scalability, query patterns, indexing strategy, and data consistency requirements. Include migration strategy if modifying existing schema. Provide both logical and physical data models."32- Expected output: Entity relationship diagrams, table schemas, indexing strategy, migration scripts, data access patterns33- Context: Initial requirements and business domain model3435### 2. Backend Service Architecture36- Use Task tool with subagent_type="backend-development::backend-architect"37- Prompt: "Design backend service architecture for: $ARGUMENTS. Using the database design from previous step, create service boundaries, define API contracts (OpenAPI/GraphQL), design authentication/authorization strategy, and specify inter-service communication patterns. Include resilience patterns (circuit breakers, retries) and caching strategy."38- Expected output: Service architecture diagram, OpenAPI specifications, authentication flows, caching architecture, message queue design (if applicable)39- Context: Database schema from step 1, non-functional requirements4041### 3. Frontend Component Architecture42- Use Task tool with subagent_type="frontend-mobile-development::frontend-developer"43- Prompt: "Design frontend architecture and component structure for: $ARGUMENTS. Based on the API contracts from previous step, design component hierarchy, state management approach (Redux/Zustand/Context), routing structure, and data fetching patterns. Include accessibility requirements and responsive design strategy. Plan for Storybook component documentation."44- Expected output: Component tree diagram, state management design, routing configuration, design system integration plan, accessibility checklist45- Context: API specifications from step 2, UI/UX requirements4647## Phase 2: Parallel Implementation4849### 4. Backend Service Implementation50- Use Task tool with subagent_type="python-development::python-pro" (or "golang-pro"/"nodejs-expert" based on stack)51- Prompt: "Implement backend services for: $ARGUMENTS. Using the architecture and API specs from Phase 1, build RESTful/GraphQL endpoints with proper validation, error handling, and logging. Implement business logic, data access layer, authentication middleware, and integration with external services. Include observability (structured logging, metrics, tracing)."52- Expected output: Backend service code, API endpoints, middleware, background jobs, unit tests, integration tests53- Context: Architecture designs from Phase 1, database schema5455### 5. Frontend Implementation56- Use Task tool with subagent_type="frontend-mobile-development::frontend-developer"57- Prompt: "Implement frontend application for: $ARGUMENTS. Build React/Next.js components using the component architecture from Phase 1. Implement state management, API integration with proper error handling and loading states, form validation, and responsive layouts. Create Storybook stories for components. Ensure accessibility (WCAG 2.1 AA compliance)."58- Expected output: React components, state management implementation, API client code, Storybook stories, responsive styles, accessibility implementations59- Context: Component architecture from step 3, API contracts6061### 6. Database Implementation & Optimization62- Use Task tool with subagent_type="database-design::sql-pro"63- Prompt: "Implement and optimize database layer for: $ARGUMENTS. Create migration scripts, stored procedures (if needed), optimize queries identified by backend implementation, set up proper indexes, and implement data validation constraints. Include database-level security measures and backup strategies."64- Expected output: Migration scripts, optimized queries, stored procedures, index definitions, database security configuration65- Context: Database design from step 1, query patterns from backend implementation6667## Phase 3: Integration & Testing6869### 7. API Contract Testing70- Use Task tool with subagent_type="test-automator"71- Prompt: "Create contract tests for: $ARGUMENTS. Implement Pact/Dredd tests to validate API contracts between backend and frontend. Create integration tests for all API endpoints, test authentication flows, validate error responses, and ensure proper CORS configuration. Include load testing scenarios."72- Expected output: Contract test suites, integration tests, load test scenarios, API documentation validation73- Context: API implementations from Phase 27475### 8. End-to-End Testing76- Use Task tool with subagent_type="test-automator"77- Prompt: "Implement E2E tests for: $ARGUMENTS. Create Playwright/Cypress tests covering critical user journeys, cross-browser compatibility, mobile responsiveness, and error scenarios. Test feature flags integration, analytics tracking, and performance metrics. Include visual regression tests."78- Expected output: E2E test suites, visual regression baselines, performance benchmarks, test reports79- Context: Frontend and backend implementations from Phase 28081### 9. Security Audit & Hardening82- Use Task tool with subagent_type="security-auditor"83- Prompt: "Perform security audit for: $ARGUMENTS. Review API security (authentication, authorization, rate limiting), check for OWASP Top 10 vulnerabilities, audit frontend for XSS/CSRF risks, validate input sanitization, and review secrets management. Provide penetration testing results and remediation steps."84- Expected output: Security audit report, vulnerability assessment, remediation recommendations, security headers configuration85- Context: All implementations from Phase 28687## Phase 4: Deployment & Operations8889### 10. Infrastructure & CI/CD Setup90- Use Task tool with subagent_type="deployment-engineer"91- Prompt: "Setup deployment infrastructure for: $ARGUMENTS. Create Docker containers, Kubernetes manifests (or cloud-specific configs), implement CI/CD pipelines with automated testing gates, setup feature flags (LaunchDarkly/Unleash), and configure monitoring/alerting. Include blue-green deployment strategy and rollback procedures."92- Expected output: Dockerfiles, K8s manifests, CI/CD pipeline configs, feature flag setup, IaC templates (Terraform/CloudFormation)93- Context: All implementations and tests from previous phases9495### 11. Observability & Monitoring96- Use Task tool with subagent_type="deployment-engineer"97- Prompt: "Implement observability stack for: $ARGUMENTS. Setup distributed tracing (OpenTelemetry), configure application metrics (Prometheus/DataDog), implement centralized logging (ELK/Splunk), create dashboards for key metrics, and define SLIs/SLOs. Include alerting rules and on-call procedures."98- Expected output: Observability configuration, dashboard definitions, alert rules, runbooks, SLI/SLO definitions99- Context: Infrastructure setup from step 10100101### 12. Performance Optimization102- Use Task tool with subagent_type="performance-engineer"103- Prompt: "Optimize performance across stack for: $ARGUMENTS. Analyze and optimize database queries, implement caching strategies (Redis/CDN), optimize frontend bundle size and loading performance, setup lazy loading and code splitting, and tune backend service performance. Include before/after metrics."104- Expected output: Performance improvements, caching configuration, CDN setup, optimized bundles, performance metrics report105- Context: Monitoring data from step 11, load test results106107## Configuration Options108- `stack`: Specify technology stack (e.g., "React/FastAPI/PostgreSQL", "Next.js/Django/MongoDB")109- `deployment_target`: Cloud platform (AWS/GCP/Azure) or on-premises110- `feature_flags`: Enable/disable feature flag integration111- `api_style`: REST or GraphQL112- `testing_depth`: Comprehensive or essential113- `compliance`: Specific compliance requirements (GDPR, HIPAA, SOC2)114115## Success Criteria116- All API contracts validated through contract tests117- Frontend and backend integration tests passing118- E2E tests covering critical user journeys119- Security audit passed with no critical vulnerabilities120- Performance metrics meeting defined SLOs121- Observability stack capturing all key metrics122- Feature flags configured for progressive rollout123- Documentation complete for all components124- CI/CD pipeline with automated quality gates125- Zero-downtime deployment capability verified126127## Coordination Notes128- Each phase builds upon outputs from previous phases129- Parallel tasks in Phase 2 can run simultaneously but must converge for Phase 3130- Maintain traceability between requirements and implementations131- Use correlation IDs across all services for distributed tracing132- Document all architectural decisions in ADRs133- Ensure consistent error handling and API responses across services134135Feature to implement: $ARGUMENTS136
Full transparency — inspect the skill content before installing.