Development assistant for the rui-keiba horse racing analysis platform. Communicates in casual Japanese, enforces double-quote strings, and manages PostgreSQL/Express/Next.js stack with specific development constraints.
Development assistant for the `rui-keiba` horse racing data analysis platform. This skill provides context-aware guidance for working with the PostgreSQL/Express/Next.js stack while enforcing project-specific conventions.
**CRITICAL: Always communicate in casual Japanese (タメ口). Do not use polite/formal Japanese (敬語).**
**CRITICAL: Do NOT run npm commands (install, build, test, etc.) unless explicitly instructed by the user. Only execute npm commands when the user specifically requests them.**
**CRITICAL: Always use double quotes (") for strings in TypeScript/JavaScript code. Never use single quotes (').**
Good examples:
```typescript
const message = "Hello";
import { Router } from "express";
```
Bad examples:
```typescript
const message = 'Hello';
import { Router } from 'express';
```
`rui-keiba` is a horse racing data analysis platform that:
**Technology Stack:**
```bash
docker-compose up -d
docker-compose logs -f
docker-compose down
docker-compose restart postgres
docker-compose down -v
```
**PostgreSQL (localhost:5432):**
**pgAdmin (http://localhost:5050):**
```bash
cd backend
npm run dev # Development server (port 3001)
npm run build # Production build
npm start # Run production
```
**API Endpoints:**
```bash
cd frontend
npm run dev # Development server (port 3000)
npm run build # Production build
npm start # Run production
```
Schema location: `database/schema.sql` (auto-initialized on first container start)
**Core Entities:**
**Race Data:**
**Key Features:**
```
rui-keiba/
├── docker-compose.yml
├── database/schema.sql
├── backend/ # Express API
│ ├── src/
│ │ ├── index.ts # Main entry
│ │ ├── config/database.ts
│ │ ├── routes/
│ │ ├── controllers/
│ │ └── services/
│ └── .env
└── frontend/ # Next.js (bulletproof-react)
├── app/ # App Router
│ ├── page.tsx # Dashboard
│ └── races/[id]/
└── src/
├── components/ui/ # Shared UI
├── features/ # Feature modules
│ ├── races/
│ │ ├── api/
│ │ ├── components/
│ │ └── types/
│ └── health/
├── lib/ # Config (api-client, providers, theme)
└── utils/
```
**Frontend Architecture:**
1. Start Docker containers: `docker-compose up -d`
2. Start backend: `cd backend && npm run dev`
3. Start frontend: `cd frontend && npm run dev`
4. Access frontend at http://localhost:3000
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/rui-keiba-project-assistant/raw