raphaelmansuy/edgequake/makefile-dev-workflow
Claude Code and agent skill by raphaelmansuy/edgequake
- community
Checking that the SKILL.md file is still in the repository.
Unified development workflow for EdgeQuake using Makefile commands. Use when starting services, running tests, or managing the full development stack (database, backend, frontend). Provides simplified alternatives to raw cargo/npm commands.
Install
npx vskill@latest install raphaelmansuy/edgequake/makefile-dev-workflowSKILL.md
The same SKILL.md was published earlier as raphaelmansuy/edgequake/makefile-dev-workflow.
Makefile Development Workflow
When to use
Use this skill when you need to:
- Start development services (database, backend API, frontend)
- Stop services cleanly
- Run end-to-end tests with Playwright
- Check service health status
- Build and deploy applications
- Clean build artifacts
- Manage the full development stack with a single command
Core concepts
The repository includes a unified Makefile (at repo root) that wraps complex shell commands into simple targets. This replaces scattered docker-compose commands and cargo/npm invocations with a consistent interface.
Key directories
edgequake/: Rust backend API (port 8080)edgequake_webui/: Next.js frontend (port 3000)edgequake/docker/: Docker configuration with docker-compose.yml (contains PostgreSQL + pgvector + Apache AGE)
Quick start commands
Start full development stack (all services)
Starts PostgreSQL, Rust backend, and Next.js frontend in parallel. Displays URLs for all services.
Start full stack with local Langfuse v4
Starts isolated Langfuse (UI http://localhost:3310) plus the EdgeQuake stack, and injects Compose init keys into the backend (overrides Cloud/placeholder keys in .env). make stop does not tear Langfuse down (make langfuse-down).
Stop all services
Kills all running processes and stops Docker containers gracefully.
Check service status
Shows health of backend, frontend, and database with actual health checks and endpoints.
Service-specific commands
Database management
Backend (Rust) management
Frontend (Next.js) management
E2E Testing with Playwright
Run all E2E tests
Runs all test specs in e2e/ directory with HTML reporter.
Run specific E2E test
Core query page tests
These tests verify:
- markdown-test: Markdown rendering in responses (no raw
**showing) - streaming-test: Streaming text handling without concatenation issues
- live-query-test: End-to-end query execution with real LLM response
- final-validation: Complete query interface functionality
View test report
Opens HTML report of last test run showing pass/fail, screenshots, traces.
Docker stack commands
Build all Docker images
Start full Docker stack (API + PostgreSQL)
Starts containerized EdgeQuake API and PostgreSQL with automatic health checks.
Stop Docker stack
View Docker logs
Check Docker container status
Code quality commands
Lint all code
Runs cargo clippy (Rust) and ESLint (frontend) with strict warnings-as-errors.
Format all code
Applies rustfmt to Rust code and prettier to frontend code.
Run all tests
Runs both backend tests (with mock LLM) and frontend tests in parallel.
Build all projects
Produces release binaries for both backend and frontend.
Dependency checks
Verify dependencies
Verifies that required tools are installed:
cargo(Rust toolchain)bunornpm(Node.js)docker(optional, required for db-start/Docker commands)
If dependencies are missing, installation instructions are provided.
Installation
Install all dependencies
Installs Rust crates and frontend npm packages.
Cleanup
Clean build artifacts
Removes target/ directory and .next/ build caches.
Clean everything (including dependencies)
Also removes node_modules/ - forces full reinstall on next run.
Utilities
Open Swagger UI
Opens browser to http://localhost:8080/swagger-ui (API documentation).
View recent logs
Shows recent backend logs and Docker container status.
Common workflows
Development workflow
Testing workflow
Production build workflow
Service URLs
| Service | URL | Purpose | |
|---|---|---|---|
| Frontend | http://localhost:3000 | Main application UI | |
| Backend API | http://localhost:8080 | REST API endpoints | |
| Swagger UI | http://localhost:8080/swagger-ui | API documentation | |
| Database | localhost:5432 | PostgreSQL with pgvector/AGE |
Environment variables
Configure these in .env file (copy from .env.example):
Without OPENAI_API_KEY, the system uses a mock LLM provider (free, fast, no API key).
Troubleshooting
Port already in use
If port 3000 or 8080 is in use:
Database connection issues
Frontend build issues
Tests timing out
Implementation notes
- No docker-compose.yml at root: Use
edgequake/docker/docker-compose.ymlinstead - Package manager: Frontend uses pnpm (fast, space-efficient) but falls back to npm
- Rust hot reload: Uses
cargo runfor development (recompiles on save) - Next.js dev: Uses Turbopack for faster iterations than Webpack
- Port isolation: Services communicate via localhost ports; no environment routing needed
Help
Shows formatted help with all available targets and descriptions.
Related Skills
- [playwright-ux-ui-capture](./../playwright-ux-ui-capture/SKILL.md): Using Playwright to capture screenshots and artifacts
- [ux-ui-analyze-single-page](./../ux-ui-analyze-single-page/SKILL.md): Analyzing individual pages with Playwright
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/makefile-dev-workflow/SKILL.md
Popularity
- Repository stars
- 1,984
- Repository forks
- 223
- 7-day trend score
- 38
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/raphaelmansuy/edgequake/makefile-dev-workflow)