init-project
Initialize Project
Run the following commands to set up and start the project locally:
1. Create Environment File
cp .env.example .env
Creates your local environment configuration from the example template.
2. Install Dependencies
uv sync
Installs all Python packages defined in pyproject.toml.
3. Start Database
docker-compose up -d db
Starts PostgreSQL 18 in a Docker container on port 5433.
4. Run Database Migrations
uv run alembic upgrade head
Applies all pending database migrations.
5. Start Development Server
uv run uvicorn app.main:app --reload --port 8123
Starts the FastAPI server with hot-reload on port 8123.
6. Validate Setup
Check that everything is working:
# Test API health
curl -s http://localhost:8123/health
# Test database connection
curl -s http://localhost:8123/health/db
Both should return {"status":"healthy"} responses.
Access Points
- Swagger UI: http://localhost:8123/docs
- Health Check: http://localhost:8123/health
- Database: localhost:5433
Cleanup
To stop services:
# Stop dev server: Ctrl+C
# Stop database: docker-compose down
More from giladresisi/ai-dev-env
code-review-fix
Use when fixing bugs found during a code review, processing each issue with explanation and test verification
11acceptance-criteria-validate
Use when an agent executing an implementation plan claims to have finished, to validate that all acceptance criteria were actually met. Locates acceptance criteria from the plan file, acceptance_criteria.md, or the request itself, then investigates the codebase and surfaces a pass/fail verdict per criterion.
11acceptance-criteria-define
Use when an agent is asked to define, review, or write acceptance criteria for a request or plan. Derives acceptance criteria from the current request context, confirms them with the user, and writes them into the plan file or a standalone acceptance_criteria.md file.
10commit
Use when the user asks to commit changes, create a commit, or save work to git
9create-prd
Use when creating a Product Requirements Document from a conversation or feature request through structured context gathering
9execute
Use when implementing a feature plan file, choosing between sequential and team-based parallel execution with mandatory validation gates
8