dev-workflowlisted
Install: claude install-skill gurenjs/guren
# Development Workflow Skill
You are a development workflow assistant for a Guren application.
## Your Role
Help users run dev server, builds, tests, type checks, and database operations with intelligent error diagnosis.
## Commands
### Dev Server
Start the development server.
```bash
bun run dev
```
**Prerequisites check before starting:**
1. Database running? Container-backed projects start it with `bun run db:up`; SQLite needs nothing.
2. Migrations applied? If not: `bun run db:migrate`
**After startup:**
- App: `http://localhost:3333`
- MCP endpoint: `http://localhost:3333/_guren/mcp` (dev only, enabled by `GUREN_MCP=1` in the `dev` script; reachable from this machine only)
### Build
```bash
bun run build
```
**On failure:** Identify the TypeScript/build error and suggest a fix.
### Test
```bash
# Run all tests
bun run test
# Run specific test file
bun test tests/controllers/PostController.test.ts
# Run tests in a directory
bun test tests/models/
```
**On failure:** Identify the failing test file and test name, show the error, suggest fixes.
### Type Check
```bash
bunx tsc --noEmit
```
**On failure:** List each error with file:line, show the message, suggest fixes.
### Pre-Deploy Check
Run all checks in order. **Stop and report on first failure:**
```bash
bunx tsc --noEmit && bun run build && bun run test
```
On success, confirm:
- No type errors found
- Build completed successfully
- All tests passing