Skip to main content
AI/MLWaterplanAI

ac-qa-prepare-app

Starts development server for E2E testing. Detects package manager and verifies server startup. Triggers on keywords: prepare app, start server, dev server, start app

Stars
31
Source
WaterplanAI/agentic-config
Updated
2026-05-25
Slug
WaterplanAI--agentic-config--ac-qa-prepare-app
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/WaterplanAI/agentic-config/HEAD/packages/pi-ac-qa/skills/ac-qa-prepare-app/SKILL.md -o .claude/skills/ac-qa-prepare-app.md

Drops the SKILL.md into .claude/skills/ac-qa-prepare-app.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Prepare App Command

Start the development server for E2E testing.

Pre-Flight Checks

  1. Check for package.json

    • If missing: STOP with "No package.json found"
  2. Check node_modules

    • If missing: Run package manager install first (npm/pnpm/yarn install)

Execution

  1. Start Development Server

    • Run in background: ${DEV_SERVER_CMD:-pnpm dev}
    • Wait 5 seconds for server startup
  2. Verify Server Running

    • Check if port ${DEFAULT_PORT:-5173} is responding
    • If not responding after 10s: Report error
  3. Report Status

    • Confirm server is running
    • Display URL: http://localhost:${DEFAULT_PORT:-5173}/

Notes

  • Server runs in background
  • Use Ctrl+C in terminal to stop server
  • Default port: 5173 (Vite default)
  • Override with DEFAULT_PORT environment variable
  • Override dev command with DEV_SERVER_CMD environment variable (e.g., "npm run dev")