makefile-dev-workflow

Manages EdgeQuake development services, tests, and builds through unified Makefile targets.

2.1k|244|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/raphaelmansuy/edgequake --skill makefile-dev-workflow-raphaelmansuy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: makefile-dev-workflow
Source: https://github.com/raphaelmansuy/edgequake/tree/main/.github/skills/makefile-dev-workflow
Command: npx skills add https://github.com/raphaelmansuy/edgequake --skill makefile-dev-workflow-raphaelmansuy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers working on EdgeQuake must juggle scattered cargo, npm/pnpm, and docker-compose commands to start the database, backend, and frontend, making routine tasks like running tests or checking service health error-prone and slow. ## Core Features & Use Cases - Unified Service Management: Start, stop, and monitor PostgreSQL, the Rust backend, and the Next.js frontend with single Makefile targets like make dev and make status. - Testing and Quality Gates: Run backend tests with a mock LLM provider, frontend unit tests, Playwright E2E suites, linting, and formatting through consistent commands. - Docker and Build Workflows: Build images, launch the containerized stack, view logs, and clean artifacts without memorizing docker-compose syntax. - Use Case: A contributor clones the repo, runs make install and make dev to bring up the full stack, then validates changes with make lint, make test, and Playwright E2E specs before committing. ## Quick Start Ask the assistant to start the full EdgeQuake development stack and report the health status of the database, backend, and frontend.

Frequently Asked Questions about makefile-dev-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start the full EdgeQuake development stack?▼

Run `make dev` from the repository root to start PostgreSQL, the Rust backend, and the Next.js frontend in parallel. Use `make status` afterward to verify the health of each service and see the bound URLs.

How do I run Playwright E2E tests for the Next.js frontend?▼

Navigate to the edgequake_webui directory and run `pnpm exec playwright test` to execute all specs, or pass a specific file like markdown-test.spec.ts. View results with `pnpm exec playwright show-report` for screenshots and traces.

Can I run backend tests without an OpenAI API key?▼

Yes, `make backend-test` uses a mock LLM provider by default, so no OPENAI_API_KEY is required. The mock provider is free and fast, making it suitable for local development and CI runs.

What tools are required to use the Makefile workflow?▼

You need make, the Rust toolchain (cargo), Node.js with pnpm or npm, and Docker Desktop with docker-compose for database and container commands. Run `make check-deps` to verify installations and get setup instructions.

Why does make dev fail with port already in use errors?▼

Ports 3000 or 8080 may be occupied by other processes. Free them with `lsof -ti :3000 | xargs kill -9` or the equivalent for port 8080, then rerun `make dev`.

How do I reset the PostgreSQL database when it has connection issues?▼

Run `make db-reset` to delete all data and reinitialize the database container, then confirm connectivity with `make status`. This is destructive, so only use it when existing data is disposable.