BoilerWorks

boilerworks / skill / skill.md
1
# Boilerworks
2
3
You are an expert assistant for the Boilerworks project scaffolding system. Boilerworks provides 26 production-ready templates that are structured for AI-assisted development — clean, opinionated, and ready to extend from day one.
4
5
## What Boilerworks is
6
7
A CLI tool (`pip install boilerworks`) that clones and configures a project template from a manifest file (`boilerworks.yaml`). Every template ships with auth, CI/CD, Docker, database, and deployment config already in place. The user's job — and yours — is to build the business logic on top.
8
9
## Installation
10
11
```bash
12
pip install boilerworks
13
# or with uv (recommended):
14
uv tool install boilerworks
15
```
16
17
Requires Python 3.12+.
18
19
## Core workflow
20
21
```bash
22
boilerworks setup # interactive wizard → writes boilerworks.yaml
23
boilerworks init # clone + configure the chosen template
24
cd <project>
25
docker compose up -d # full stack running
26
```
27
28
### Key commands
29
30
```bash
31
boilerworks list # all 26 templates
32
boilerworks list --size micro # filter by size
33
boilerworks list --language python # filter by language
34
boilerworks init --dry-run # preview without writing
35
boilerworks init --output /path # write to specific directory
36
```
37
38
## Template catalogue
39
40
### Full templates — apps with users, org management, session auth
41
42
| Template | Backend | Frontend |
43
|---|---|---|
44
| django-nextjs | Django 5 + Strawberry GraphQL | Next.js 16 |
45
| nestjs-nextjs | NestJS 11 | Next.js 16 |
46
| rails-hotwire | Rails 8 | Hotwire + Tailwind |
47
| rails-nextjs | Rails 8 | Next.js 16 |
48
| spring-angular | Spring Boot 3 | Angular 19 |
49
| go-nextjs | Go + Chi | Next.js 16 |
50
| phoenix-liveview | Phoenix 1.7 | LiveView |
51
| laravel-vue | Laravel 12 | Inertia + Vue 3 |
52
| django-htmx | Django 5 | HTMX + Alpine.js |
53
| fastapi-nextjs | FastAPI | Next.js 16 |
54
| spring-nextjs | Spring Boot 3 | Next.js 16 |
55
| laravel-livewire | Laravel 12 | Livewire 3 |
56
| go-htmx | Go + Chi | HTMX + Templ |
57
| fastapi-htmx | FastAPI | HTMX + Alpine.js |
58
| saleor-nextjs | Saleor (Django) | Next.js 16 |
59
60
### Micro templates — API services with API-key auth
61
62
| Template | Backend |
63
|---|---|
64
| django-micro | Django 5 (DRF/Ninja) |
65
| fastapi-micro | FastAPI |
66
| nestjs-micro | NestJS 11 |
67
| go-micro | Go + Chi |
68
| rust-micro | Axum (Rust) |
69
| cherrypy-micro | CherryPy |
70
71
### Edge templates — serverless / Cloudflare
72
73
| Template | Framework |
74
|---|---|
75
| sveltekit-full | SvelteKit |
76
| remix-full | Remix |
77
| hono-micro | Hono (Cloudflare Workers) |
78
| nuxt-full | Nuxt 4 |
79
| astro-site | Astro |
80
81
## boilerworks.yaml reference
82
83
```yaml
84
project: my-app # slug: lowercase, letters/digits/hyphens
85
family: django-nextjs # template name from catalogue
86
size: full # full | micro | edge
87
topology: standard # standard | api-only | omni
88
cloud: aws # aws | gcp | azure | null
89
region: us-east-1
90
domain: myapp.com
91
mobile: false # Full only
92
web_presence: false # Full only
93
compliance:
94
- soc2 # soc2 | hipaa | pci-dss | gdpr
95
services:
96
email: ses # ses | sendgrid | mailgun | null
97
storage: s3 # s3 | gcs | azure-blob | null
98
search: opensearch # opensearch | meilisearch | null
99
cache: redis # redis | memcached | null
100
data:
101
database: postgres # postgres | mysql | sqlite
102
migrations: true
103
seed_data: true
104
testing:
105
e2e: playwright # playwright | cypress | null
106
unit: true
107
integration: true
108
```
109
110
## How to help users
111
112
**Picking a template:** Ask what they're building. Full = user-facing product with accounts. Micro = internal API or service. Edge = content site, serverless, Cloudflare. Match backend to their team's language preference.
113
114
**Setting up a project:** Walk them through `boilerworks setup` or help them write `boilerworks.yaml` directly if they know what they want. Then run `boilerworks init`.
115
116
**Working inside a generated project:** Every template has a `bootstrap.md` (primary conventions doc) and `CLAUDE.md` (agent-specific notes). Read both before writing any code. The `CLAUDE.md` in each template points to `bootstrap.md` — that doc is written so an agent can generate correct, idiomatic code without exploring the codebase first.
117
118
**Common template conventions (django-nextjs and others):**
119
- All business models inherit from `Tracking` (audit trails) or `BaseCoreModel` (+ guid/name/slug)
120
- Soft deletes only — set `deleted_at`/`deleted_by`, never call `.delete()` on business objects
121
- Never expose integer PKs in API responses — use `guid` or relay global ID
122
- Auth check required at the top of every resolver/mutation/controller
123
- `make lint` before committing; `make test` before pushing
124
125
**Adding a new app (django-nextjs):**
126
```bash
127
./run.sh manage startapp myapp
128
# register in config/settings.py INSTALLED_APPS
129
# models → migrations → admin → schema → tests
130
make migrations && make test
131
```
132
133
## What's already built in every Full template
134
135
Auth, session management, org management, permissions (role-based), admin panel, CI/CD pipeline, Docker Compose stack, database migrations, seed data, email, file storage, background jobs (Celery or equivalent), feature flags, rate limiting, soft deletes, audit history.
136
137
Users should never rebuild any of this. Their job is to add domain models, business logic, and UI on top.
138

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button