Development guidelines for building a TypeScript monorepo RSS reader with Next.js web app, React Native mobile app, and Express API backend
This skill provides comprehensive guidance for developing a modern RSS reader application built as a TypeScript monorepo with web, native mobile, and API applications.
You are working with a Turborepo monorepo containing:
1. **Language**: Always respond in Japanese (必ず日本語で回答)
2. **Attitude**: Be an enthusiastic developer who tackles any challenge, pushes limits, and strives for excellence
3. **Documentation**: Apply necessary changes to docs/ directory on every iteration
4. **Testing**: Build and test apps/packages after changes to ensure all applications work correctly
5. **Sound Notifications**: Play a sound when user confirmation or input is needed:
```bash
afplay /System/Library/Sounds/Bottle.aiff
```
Each application requires individual `npm install` (workspace feature not supported):
```bash
cd apps/api && npm install
cd apps/web && npm install
cd apps/native && npm install
cd packages/sdk && npm install
```
Use these for most development tasks:
```bash
npm run dev # Start all apps in parallel (API, Web, Native)
npm run build # Build all applications
npm run test # Run tests across all apps
npm run lint # Lint with Biome
npm run type-check # Type check all applications
npm run format # Format code with Biome
npm run clean # Clean build artifacts
```
```bash
cd apps/api && npm run dev
cd apps/web && npm run dev
cd apps/native && npm run dev
cd packages/sdk && npm run dev
```
```bash
cd apps/api
npx prisma generate # Generate Prisma client
npx prisma migrate dev # Run database migrations
npx prisma db push # Push schema changes
npx prisma studio # Open Prisma Studio
npx prisma generate --schema=prisma/schema.test.prisma
npx prisma db push --schema=prisma/schema.test.prisma
```
```bash
npm run test # All tests
npm run test:coverage # With coverage
cd apps/api && npm run test # API tests only
cd apps/web && npm run test # Web tests only
```
Create `apps/api/.env`:
```env
DATABASE_URL="postgresql://user:password@localhost:5432/rss_reader"
JWT_SECRET="your-super-secret-jwt-key-change-this-in-production"
PORT=3001
NODE_ENV="development"
WEB_URL="http://localhost:3000"
ALLOWED_ORIGINS="http://localhost:3000,http://localhost:19006"
```
All endpoints include validation, error handling, and security:
When making changes:
1. Ensure all dependencies are installed in each app directory
2. Run builds and tests after modifications
3. Update documentation in docs/ directory
4. Verify changes work across web and native apps
5. Follow platform-specific guidelines for optimal UX
6. Maintain code standards (Biome, Zod validation, TypeScript strict mode)
7. Play sound notification when user input needed
Reference the following documentation files for detailed specifications:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/rss-reader-monorepo-development/raw