Loading...
Loading...
Use when implementing features, writing fullstack code, shipping UI + API + DB changes, or any hands-on engineering work in TypeScript, Python, React, Next.js, FastAPI, or SQL
npx skill4agent add iankiku/forwward-teams build| Pattern | When to Use | Structure |
|---|---|---|
| Service Layer | Most CRUD apps, APIs | Route → Service → Repository → DB |
| Repository | Data-heavy apps, multiple data sources | Domain → Repository interface → Implementation |
| MVC | Traditional web apps, Rails-style | Model → Controller → View |
| Hexagonal | Complex domains, many integrations | Core domain → Ports → Adapters |
| Feature Modules | Large apps, team-per-feature | Feature folder with its own routes, services, types |
| Layer | Default | Why |
|---|---|---|
| Language | TypeScript | Type safety, ecosystem |
| Frontend | React + Next.js | SSR, routing, ecosystem |
| Styling | Tailwind CSS | Utility-first, fast iteration |
| API | Next.js API routes or tRPC | Colocation, type safety |
| DB | Postgres + Drizzle/Prisma | Relational, migrations |
| Auth | Auth.js or Supabase Auth | Standards-based |
| Validation | Zod | Runtime + static types |
| Layer | Default | Why |
|---|---|---|
| Language | Python 3.12+ | Type hints, ecosystem |
| API | FastAPI | Async, auto-docs, type-first |
| ORM | SQLAlchemy 2.0 | Mature, flexible, async support |
| Validation | Pydantic v2 | FastAPI native, fast |
| Testing | pytest | Fixtures, plugins, standard |
| Package mgr | uv or Poetry | Lock files, reproducible |
| Task queue | Celery or arq | Background jobs |
{ data }{ error }{"data": ...}{"error": ...}/gate