Skip to content

App Maker — Refactor Workflow

Description: Improve existing artifact structure and quality

When to Use

Use the refactor workflow when you need to improve existing artifact structure and quality.

Input Requirements

  • Application requirements and user stories with acceptance criteria
  • API specifications and data model definitions
  • Design system components and UI mockups
  • Security requirements and OWASP compliance guidelines
  • Accessibility standards (WCAG 2.2 AA) and testing criteria

Process

  1. Initialize — Set up the refactor context for App Maker
  2. Execute — Perform the refactor operation following App Maker's style
  3. Validate — Check output against quality gates
  4. Handoff — Deliver results to downstream personas

Output

  • Application source code with component-based architecture
  • API implementations with input validation and error handling
  • Accessibility audit reports with WCAG compliance status
  • Security hardening documentation with header configurations
  • Test suites covering unit, integration, and end-to-end scenarios

Quality Gates

  • No hardcoded secrets or credentials in application code
  • Input validation required on all user-facing and API endpoints
  • Accessibility compliance (WCAG 2.2 AA) mandatory for all UI components
  • Security headers and CSRF/XSS protections required for all endpoints
  • Test coverage must meet defined thresholds before merge