@crossdelta/platform-sdk 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -40,14 +40,14 @@ Building microservice platforms is hard. You start with great intentions, but co
40
40
  - **Environment hell** — `.env` files manually maintained, ports collide, services don't talk
41
41
  - **Slow onboarding** — new developers spend days setting up the platform
42
42
 
43
- **`pf` acts like an opinionated platform engineer on your team.** It's a single CLI that:
43
+ **`pf` is an opinionated CLI for platform engineering.** It helps you:
44
44
 
45
- - Scaffolds production-ready monorepos with best practices baked in
46
- - Generates microservices (manually or with AI) with consistent structure
47
- - Auto-wires infrastructure, environment variables, and port assignments
48
- - Unifies your dev workflow: one command to run everything locally
45
+ - Scaffold monorepos with consistent structure and tooling
46
+ - Generate microservices (manually or AI-assisted) with shared conventions
47
+ - Auto-configure infrastructure, environment variables, and port assignments
48
+ - Run all services locally with a single command
49
49
 
50
- Built for teams using **Turborepo + Pulumi + NATS + Bun** who want to move fast without sacrificing quality.
50
+ Built for teams using **Turborepo + Pulumi + NATS + Bun**.
51
51
 
52
52
  <br />
53
53
 
@@ -59,16 +59,16 @@ Built for teams using **Turborepo + Pulumi + NATS + Bun** who want to move fast
59
59
 
60
60
  - **Opinionated CLI** for event-driven microservice platforms
61
61
  - **Turborepo scaffolder** with Pulumi IaC and NATS messaging built-in
62
- - **AI-powered code generator** that creates complete services from natural language
63
- - **Unified dev workflow** — one command to rule them all (`bun dev`)
62
+ - **AI-assisted code generator** that creates service boilerplate from descriptions
63
+ - **Unified dev workflow** — one command to run all services (`bun dev`)
64
64
  - **DigitalOcean-first** deployment target (App Platform + DOKS)
65
65
 
66
66
  ### ❌ `pf` is not:
67
67
 
68
- - **Not a generic microservice generator** — we make architectural choices for you
69
- - **Not cloud-agnostic** (yet) — DigitalOcean first, AWS/GCP coming later
70
- - **Not a runtime manager** — we scaffold code, you deploy with Pulumi
71
- - **Not a replacement for Kubernetes** — we generate K8s configs via Pulumi
68
+ - **Generic microservice generator** — makes architectural choices for you
69
+ - **Cloud-agnostic** (yet) — DigitalOcean first, AWS/GCP planned
70
+ - **Runtime manager** — scaffolds code, you deploy with Pulumi
71
+ - **Kubernetes replacement** — generates K8s configs via Pulumi
72
72
 
73
73
  <br />
74
74
 
@@ -233,12 +233,12 @@ You're building a new product from scratch and want to establish a solid foundat
233
233
 
234
234
  ```bash
235
235
  # Step 1: Scaffold the workspace
236
- bunx @crossdelta/platform-sdk new workspace orderboss-platform \
237
- --github-owner orderboss \
236
+ bunx @crossdelta/platform-sdk new workspace my-platform-platform \
237
+ --github-owner my-platform \
238
238
  --pulumi-stack dev \
239
239
  -y
240
240
 
241
- cd orderboss-platform
241
+ cd my-platform-platform
242
242
 
243
243
  # Step 2: Configure infrastructure (optional)
244
244
  # Edit infra/config.ts to customize:
@@ -283,30 +283,32 @@ pf new hono-micro services/payments -y
283
283
  bun dev
284
284
  ```
285
285
 
286
- **Option B: AI-powered generation (intelligent, complete)**
286
+ **Option B: AI-powered generation (intelligent scaffolding)**
287
287
 
288
288
  ```bash
289
289
  # First time: configure AI provider
290
290
  pf setup --ai
291
291
 
292
- # Generate a complete service with AI
292
+ # Generate service boilerplate with AI
293
293
  pf new hono-micro services/payments --ai \
294
294
  -d "Stripe payment processing: handle checkout.session.completed webhooks, \
295
295
  publish payment.succeeded events, update order status in database"
296
296
 
297
297
  # AI generates:
298
- # ✅ Complete service implementation with Stripe SDK
299
- # ✅ Event handlers for incoming orders
300
- # ✅ Event publishers for payment lifecycle
301
- # ✅ Use cases with validation logic
302
- # ✅ Test files for all use cases
298
+ # ✅ Service structure with Stripe SDK integration
299
+ # ✅ Event handler stubs for incoming webhooks
300
+ # ✅ Event publisher functions for payment lifecycle
301
+ # ✅ Use case templates with validation logic
302
+ # ✅ Test file boilerplate
303
303
  # ✅ Environment variable documentation
304
- # ✅ Complete README with API docs
304
+ # ✅ Basic README with usage examples
305
305
  ```
306
306
 
307
307
  **When to use which:**
308
308
  - **Manual scaffolding:** You know exactly what you're building, want full control
309
- - **AI generation:** Bootstrapping new domains, exploring integrations, speeding up prototyping
309
+ - **AI generation:** Quick prototyping, exploring new integrations, generating boilerplate faster
310
+
311
+ **Note:** AI-generated code is a starting point, not production-ready. Always review and refine.
310
312
 
311
313
  ---
312
314