Agent Skill
2/7/2026dev-start
Start development servers for a project with health checks. Use when starting local development, spinning up services, or launching dev environment.
A
allanninal
0GitHub Stars
1Views
npx skills add allanninal/claude-code-skills
SKILL.md
| Name | dev-start |
| Description | Start development servers for a project with health checks. Use when starting local development, spinning up services, or launching dev environment. |
name: dev-start description: Start development servers for a project with health checks. Use when starting local development, spinning up services, or launching dev environment. argument-hint: [project-name] disable-model-invocation: true allowed-tools: Bash, Read, Glob
Development Server Starter
Start development servers for projects with proper health checks and dependency management.
Arguments
$ARGUMENTS: Project name or path (optional - uses current directory if not specified)
Known Projects Configuration
| Project | Port | Start Command | Health Endpoint |
|---|---|---|---|
| eruditiontx-services-mvp | 8000 | uv run python server/app.py | /health |
| mathmatterstx-services | 8002 | uv run python main.py | /health |
| eruditiontx-client-mvp | 3000 | npm run dev | / |
| notaryo.ph | 3000 | pnpm dev | / |
| bocs-turbo | 3000 | pnpm dev | / |
| agila-tax (frontend) | 3000 | npm run dev | / |
| agila-tax (backend) | varies | npm run dev | /health |
Execution Steps
1. Detect Project Type
Check for configuration files:
pyproject.tomlorrequirements.txt→ Python projectpackage.json→ Node.js projectpnpm-lock.yaml→ Use pnpmuv.lock→ Use uv for Python
2. Check Dependencies
Python:
# If uv.lock exists
uv sync
# else
pip install -r requirements.txt
Node.js:
# Check package manager
if [ -f "pnpm-lock.yaml" ]; then
pnpm install
elif [ -f "yarn.lock" ]; then
yarn install
else
npm install
fi
3. Check Port Availability
lsof -i :PORT
If port is in use, warn the user and offer to kill the process.
4. Start Server
Run the appropriate start command based on project detection.
FastAPI (Python):
cd ~/Projects/$PROJECT
uv run python server/app.py &
# or
uv run uvicorn app.main:app --reload --port 8000 &
Next.js/React:
cd ~/Projects/$PROJECT
npm run dev &
# or
pnpm dev &
5. Health Check
Wait for server to be ready:
# Poll health endpoint (max 30 seconds)
for i in {1..30}; do
if curl -s http://localhost:PORT/health > /dev/null 2>&1; then
echo "Server is ready!"
break
fi
sleep 1
done
Multi-Service Mode
For full-stack development, start multiple services:
# Example: Start Erudition full stack
/dev-start eruditiontx-services-mvp # Backend on 8000
/dev-start eruditiontx-client-mvp # Frontend on 3000
Output Format
Starting: [project-name]
Directory: ~/Projects/[project]
Command: [start command]
Port: [port]
[Server output...]
Health check: PASSED
Server running at: http://localhost:[port]
Troubleshooting
If server fails to start:
- Check if port is already in use
- Verify environment variables (.env file exists)
- Check dependencies are installed
- Review error logs
Skills Info
Original Name:dev-startAuthor:allanninal
Download