@intentsolutionsio/fullstack-starter-pack 1.0.0 → 1.0.2

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.
@@ -14,12 +14,13 @@ Generates production-ready React components from natural language descriptions,
14
14
  ## What This Command Does
15
15
 
16
16
  **Component Generation:**
17
- - Creates React component with TypeScript
18
- - Generates prop types and interfaces
19
- - Adds basic styling (CSS modules or Tailwind)
20
- - Creates test file (React Testing Library)
21
- - Includes JSDoc comments
22
- - Follows React best practices
17
+
18
+ - Creates React component with TypeScript
19
+ - Generates prop types and interfaces
20
+ - Adds basic styling (CSS modules or Tailwind)
21
+ - Creates test file (React Testing Library)
22
+ - Includes JSDoc comments
23
+ - Follows React best practices
23
24
 
24
25
  **Output:** Complete component with types, styles, and tests
25
26
 
@@ -48,6 +49,7 @@ Generates production-ready React components from natural language descriptions,
48
49
  ## Example Output
49
50
 
50
51
  **Input:**
52
+
51
53
  ```
52
54
  /cg "Create a Button component with variants (primary, secondary, ghost), sizes (sm, md, lg), loading state, and icon support"
53
55
  ```
@@ -55,6 +57,7 @@ Generates production-ready React components from natural language descriptions,
55
57
  **Generated Files:**
56
58
 
57
59
  **Button.tsx:**
60
+
58
61
  ```tsx
59
62
  import { ButtonHTMLAttributes, ReactNode } from 'react'
60
63
  import styles from './Button.module.css'
@@ -113,6 +116,7 @@ export function Button({
113
116
  ```
114
117
 
115
118
  **Button.module.css:**
119
+
116
120
  ```css
117
121
  .button {
118
122
  display: inline-flex;
@@ -183,6 +187,7 @@ export function Button({
183
187
  ```
184
188
 
185
189
  **Button.test.tsx:**
190
+
186
191
  ```tsx
187
192
  import { render, screen, fireEvent } from '@testing-library/react'
188
193
  import { Button } from './Button'
@@ -238,6 +243,7 @@ describe('Button', () => {
238
243
  ### Common Components Generated
239
244
 
240
245
  **1. Card Component:**
246
+
241
247
  ```tsx
242
248
  <Card
243
249
  image="/product.jpg"
@@ -248,6 +254,7 @@ describe('Button', () => {
248
254
  ```
249
255
 
250
256
  **2. Modal Component:**
257
+
251
258
  ```tsx
252
259
  <Modal
253
260
  isOpen={isOpen}
@@ -259,6 +266,7 @@ describe('Button', () => {
259
266
  ```
260
267
 
261
268
  **3. Form Field Component:**
269
+
262
270
  ```tsx
263
271
  <FormField
264
272
  label="Email"
@@ -269,6 +277,7 @@ describe('Button', () => {
269
277
  ```
270
278
 
271
279
  **4. Dropdown Component:**
280
+
272
281
  ```tsx
273
282
  <Dropdown
274
283
  items={options}
@@ -283,6 +292,7 @@ describe('Button', () => {
283
292
  ## Features
284
293
 
285
294
  ### Accessibility Built-In
295
+
286
296
  - Semantic HTML elements
287
297
  - ARIA attributes where needed
288
298
  - Keyboard navigation support
@@ -290,18 +300,21 @@ describe('Button', () => {
290
300
  - Screen reader announcements
291
301
 
292
302
  ### TypeScript Support
303
+
293
304
  - Full type definitions
294
305
  - Prop validation
295
306
  - IntelliSense support
296
307
  - Generic types where appropriate
297
308
 
298
309
  ### Testing Included
310
+
299
311
  - Unit tests with React Testing Library
300
312
  - Accessibility tests
301
313
  - User interaction tests
302
314
  - Edge case coverage
303
315
 
304
316
  ### Styling Options
317
+
305
318
  - CSS Modules (default)
306
319
  - Tailwind CSS
307
320
  - Styled Components
@@ -313,18 +326,21 @@ describe('Button', () => {
313
326
  ## Best Practices Applied
314
327
 
315
328
  **Component Structure:**
329
+
316
330
  - Single responsibility
317
331
  - Composable design
318
332
  - Prop drilling avoided
319
333
  - Performance optimized (React.memo where beneficial)
320
334
 
321
335
  **Code Quality:**
336
+
322
337
  - ESLint compliant
323
338
  - Prettier formatted
324
339
  - TypeScript strict mode
325
340
  - JSDoc comments
326
341
 
327
342
  **Testing:**
343
+
328
344
  - 80%+ code coverage
329
345
  - User-centric tests (not implementation details)
330
346
  - Accessibility assertions
@@ -14,12 +14,13 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
14
14
  ## What This Command Does
15
15
 
16
16
  **Utility Class Generation:**
17
- - Spacing utilities (margin, padding)
18
- - Color utilities (background, text, border)
19
- - Typography utilities (font size, weight, line height)
20
- - Layout utilities (flexbox, grid, display)
21
- - Responsive breakpoints
22
- - Custom design tokens
17
+
18
+ - Spacing utilities (margin, padding)
19
+ - Color utilities (background, text, border)
20
+ - Typography utilities (font size, weight, line height)
21
+ - Layout utilities (flexbox, grid, display)
22
+ - Responsive breakpoints
23
+ - Custom design tokens
23
24
 
24
25
  **Output:** Complete utility CSS file with organized sections
25
26
 
@@ -51,6 +52,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
51
52
  ## Example Output
52
53
 
53
54
  **Input:**
55
+
54
56
  ```
55
57
  /cug --categories spacing,colors,flex
56
58
  ```
@@ -342,6 +344,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
342
344
  ## Complete Utility Categories
343
345
 
344
346
  ### 1. Spacing (Margin & Padding)
347
+
345
348
  ```css
346
349
  /* Scale: 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24 */
347
350
  /* Directions: all, t, r, b, l, x, y */
@@ -352,6 +355,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
352
355
  ```
353
356
 
354
357
  ### 2. Typography
358
+
355
359
  ```css
356
360
  /* Font Size */
357
361
  .text-xs { font-size: 0.75rem; }
@@ -387,6 +391,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
387
391
  ```
388
392
 
389
393
  ### 3. Layout
394
+
390
395
  ```css
391
396
  /* Display */
392
397
  .block { display: block; }
@@ -419,6 +424,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
419
424
  ```
420
425
 
421
426
  ### 4. Grid System
427
+
422
428
  ```css
423
429
  /* Grid Template Columns */
424
430
  .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@@ -437,6 +443,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
437
443
  ```
438
444
 
439
445
  ### 5. Borders & Radius
446
+
440
447
  ```css
441
448
  /* Border Width */
442
449
  .border-0 { border-width: 0; }
@@ -460,6 +467,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
460
467
  ```
461
468
 
462
469
  ### 6. Effects
470
+
463
471
  ```css
464
472
  /* Shadow */
465
473
  .shadow-none { box-shadow: none; }
@@ -482,6 +490,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
482
490
  ## Usage Examples
483
491
 
484
492
  ### Example 1: Card Component
493
+
485
494
  ```html
486
495
  <div class="bg-white rounded-lg shadow-md p-6 mb-4">
487
496
  <h2 class="text-2xl font-bold mb-2 text-gray-900">Card Title</h2>
@@ -493,6 +502,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
493
502
  ```
494
503
 
495
504
  ### Example 2: Flexbox Layout
505
+
496
506
  ```html
497
507
  <div class="flex justify-between items-center p-4 bg-gray-50">
498
508
  <div class="flex items-center gap-2">
@@ -508,6 +518,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
508
518
  ```
509
519
 
510
520
  ### Example 3: Responsive Grid
521
+
511
522
  ```html
512
523
  <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 p-8">
513
524
  <div class="bg-white p-4 rounded shadow">Item 1</div>
@@ -523,6 +534,7 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
523
534
  ### Design Tokens Configuration
524
535
 
525
536
  **design-tokens.json:**
537
+
526
538
  ```json
527
539
  {
528
540
  "colors": {
@@ -565,26 +577,31 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
565
577
  ## Benefits
566
578
 
567
579
  **1. No Build Step Required**
580
+
568
581
  - Pure CSS, works immediately
569
582
  - No JavaScript runtime
570
583
  - No npm dependencies
571
584
 
572
585
  **2. Familiar Syntax**
586
+
573
587
  - Tailwind-like class names
574
588
  - Easy to learn for Tailwind users
575
589
  - Predictable naming conventions
576
590
 
577
591
  **3. Customizable**
592
+
578
593
  - Define your own design tokens
579
594
  - Choose which categories to include
580
595
  - Adjust spacing scales and breakpoints
581
596
 
582
597
  **4. Lightweight**
598
+
583
599
  - Generate only what you need
584
600
  - ~10-50KB depending on categories
585
601
  - Much smaller than full Tailwind
586
602
 
587
603
  **5. Framework Agnostic**
604
+
588
605
  - Works with React, Vue, vanilla HTML
589
606
  - No framework lock-in
590
607
  - Pure CSS solution
@@ -594,16 +611,19 @@ Generates utility CSS classes similar to Tailwind CSS for common styling needs,
594
611
  ## Integration
595
612
 
596
613
  ### Add to HTML
614
+
597
615
  ```html
598
616
  <link rel="stylesheet" href="utilities.css">
599
617
  ```
600
618
 
601
619
  ### Import in CSS
620
+
602
621
  ```css
603
622
  @import url('utilities.css');
604
623
  ```
605
624
 
606
625
  ### Import in JavaScript
626
+
607
627
  ```javascript
608
628
  import './utilities.css'
609
629
  ```
@@ -618,4 +638,4 @@ import './utilities.css'
618
638
 
619
639
  ---
620
640
 
621
- **Build your design system. Style faster. Ship consistent UIs.**
641
+ **Build your design system. Style faster. Ship consistent UIs.**
@@ -14,12 +14,13 @@ Generates environment configuration files (.env templates, validation schemas, a
14
14
  ## What This Command Does
15
15
 
16
16
  **Generated Configuration:**
17
- - .env.example (committed template)
18
- - .env.development, .env.production
19
- - Config validation schema (Zod)
20
- - Type-safe config loader
21
- - Secret management guidance
22
- - Docker environment setup
17
+
18
+ - .env.example (committed template)
19
+ - .env.development, .env.production
20
+ - Config validation schema (Zod)
21
+ - Type-safe config loader
22
+ - Secret management guidance
23
+ - Docker environment setup
23
24
 
24
25
  **Output:** Complete environment configuration system
25
26
 
@@ -238,6 +239,7 @@ services:
238
239
  ## Security Best Practices
239
240
 
240
241
  **1. Never Commit Secrets:**
242
+
241
243
  ```bash
242
244
  # .gitignore
243
245
  .env
@@ -250,6 +252,7 @@ secrets/
250
252
  ```
251
253
 
252
254
  **2. Use Secret Rotation:**
255
+
253
256
  ```bash
254
257
  # Rotate secrets regularly
255
258
  # Use AWS Secrets Manager, GCP Secret Manager, or Azure Key Vault
@@ -257,6 +260,7 @@ secrets/
257
260
  ```
258
261
 
259
262
  **3. Least Privilege:**
263
+
260
264
  ```bash
261
265
  # Only provide necessary permissions
262
266
  # Use separate credentials for dev/staging/prod
@@ -264,6 +268,7 @@ secrets/
264
268
  ```
265
269
 
266
270
  **4. Environment Validation:**
271
+
267
272
  ```typescript
268
273
  // Validate on startup
269
274
  if (process.env.NODE_ENV === 'production') {
@@ -293,6 +298,7 @@ openssl rand -base64 32
293
298
  ## Platform-Specific Setup
294
299
 
295
300
  **Vercel:**
301
+
296
302
  ```bash
297
303
  # Set environment variables via CLI
298
304
  vercel env add DATABASE_URL production
@@ -300,6 +306,7 @@ vercel env add JWT_SECRET production
300
306
  ```
301
307
 
302
308
  **Railway:**
309
+
303
310
  ```bash
304
311
  # Environment variables in dashboard
305
312
  # Or via railway.json
@@ -313,6 +320,7 @@ vercel env add JWT_SECRET production
313
320
  ```
314
321
 
315
322
  **AWS ECS:**
323
+
316
324
  ```json
317
325
  {
318
326
  "containerDefinitions": [{
@@ -14,15 +14,16 @@ Generates a complete Express.js REST API boilerplate with TypeScript, authentica
14
14
  ## What This Command Does
15
15
 
16
16
  **Generated Project:**
17
- - Express.js with TypeScript
18
- - JWT authentication
19
- - Database integration (Prisma or TypeORM)
20
- - Input validation (Zod)
21
- - Error handling middleware
22
- - Rate limiting & security (Helmet, CORS)
23
- - Testing setup (Jest + Supertest)
24
- - Docker configuration
25
- - Example CRUD endpoints
17
+
18
+ - Express.js with TypeScript
19
+ - JWT authentication
20
+ - Database integration (Prisma or TypeORM)
21
+ - Input validation (Zod)
22
+ - Error handling middleware
23
+ - Rate limiting & security (Helmet, CORS)
24
+ - Testing setup (Jest + Supertest)
25
+ - Docker configuration
26
+ - Example CRUD endpoints
26
27
 
27
28
  **Output:** Complete API project ready for development
28
29
 
@@ -51,11 +52,13 @@ Generates a complete Express.js REST API boilerplate with TypeScript, authentica
51
52
  ## Example Output
52
53
 
53
54
  **Input:**
55
+
54
56
  ```
55
57
  /eas "Task Management API" --database postgresql
56
58
  ```
57
59
 
58
60
  **Generated Project Structure:**
61
+
59
62
  ```
60
63
  task-api/
61
64
  ├── src/
@@ -585,6 +588,7 @@ describe('Task API', () => {
585
588
  ## Features
586
589
 
587
590
  **Security:**
591
+
588
592
  - Helmet.js for HTTP headers
589
593
  - CORS with configurable origins
590
594
  - Rate limiting (100 req/15min)
@@ -593,24 +597,28 @@ describe('Task API', () => {
593
597
  - Input validation (Zod)
594
598
 
595
599
  **Database:**
600
+
596
601
  - Prisma ORM with TypeScript
597
602
  - Automatic migrations
598
603
  - Type-safe queries
599
604
  - Supports PostgreSQL, MySQL, SQLite
600
605
 
601
606
  **Testing:**
607
+
602
608
  - Jest + Supertest
603
609
  - Integration tests
604
610
  - Coverage reporting
605
611
  - Test database isolation
606
612
 
607
613
  **Development:**
614
+
608
615
  - Hot reload (ts-node-dev)
609
616
  - TypeScript with strict mode
610
617
  - ESLint + Prettier
611
618
  - Environment variables
612
619
 
613
620
  **Production:**
621
+
614
622
  - Docker support
615
623
  - Health check endpoint
616
624
  - Error logging
@@ -621,27 +629,32 @@ describe('Task API', () => {
621
629
  ## Getting Started
622
630
 
623
631
  **1. Install dependencies:**
632
+
624
633
  ```bash
625
634
  npm install
626
635
  ```
627
636
 
628
637
  **2. Configure environment:**
638
+
629
639
  ```bash
630
640
  cp .env.example .env
631
641
  # Edit .env with your database URL and secrets
632
642
  ```
633
643
 
634
644
  **3. Run database migrations:**
645
+
635
646
  ```bash
636
647
  npm run db:migrate
637
648
  ```
638
649
 
639
650
  **4. Start development server:**
651
+
640
652
  ```bash
641
653
  npm run dev
642
654
  ```
643
655
 
644
656
  **5. Run tests:**
657
+
645
658
  ```bash
646
659
  npm test
647
660
  ```
@@ -656,4 +669,4 @@ npm test
656
669
 
657
670
  ---
658
671
 
659
- **Build production-ready APIs. Ship faster. Scale confidently.**
672
+ **Build production-ready APIs. Ship faster. Scale confidently.**
@@ -14,15 +14,16 @@ Generates a complete FastAPI REST API boilerplate with async support, authentica
14
14
  ## What This Command Does
15
15
 
16
16
  **Generated Project:**
17
- - FastAPI with Python 3.10+
18
- - Async/await throughout
19
- - JWT authentication
20
- - Database integration (SQLAlchemy async)
21
- - Pydantic models & validation
22
- - Automatic OpenAPI docs
23
- - Testing setup (Pytest + httpx)
24
- - Docker configuration
25
- - Example CRUD endpoints
17
+
18
+ - FastAPI with Python 3.10+
19
+ - Async/await throughout
20
+ - JWT authentication
21
+ - Database integration (SQLAlchemy async)
22
+ - Pydantic models & validation
23
+ - Automatic OpenAPI docs
24
+ - Testing setup (Pytest + httpx)
25
+ - Docker configuration
26
+ - Example CRUD endpoints
26
27
 
27
28
  **Output:** Complete API project ready for development
28
29
 
@@ -51,11 +52,13 @@ Generates a complete FastAPI REST API boilerplate with async support, authentica
51
52
  ## Example Output
52
53
 
53
54
  **Input:**
55
+
54
56
  ```
55
57
  /fas "Task Management API" --database postgresql
56
58
  ```
57
59
 
58
60
  **Generated Project Structure:**
61
+
59
62
  ```
60
63
  task-api/
61
64
  ├── app/
@@ -601,28 +604,33 @@ mypy==1.8.0
601
604
  ## Features
602
605
 
603
606
  **Performance:**
607
+
604
608
  - Async/await for high concurrency
605
609
  - Background tasks support
606
610
  - WebSocket support (optional)
607
611
  - Automatic Pydantic validation
608
612
 
609
613
  **Documentation:**
614
+
610
615
  - Auto-generated OpenAPI (Swagger)
611
616
  - ReDoc documentation
612
617
  - Type hints throughout
613
618
 
614
619
  **Database:**
620
+
615
621
  - SQLAlchemy ORM with async support
616
622
  - Alembic migrations
617
623
  - Connection pooling
618
624
 
619
625
  **Security:**
626
+
620
627
  - JWT authentication
621
628
  - Password hashing (bcrypt)
622
629
  - CORS middleware
623
630
  - Trusted host middleware
624
631
 
625
632
  **Testing:**
633
+
626
634
  - Pytest with async support
627
635
  - Test fixtures
628
636
  - Coverage reporting
@@ -632,31 +640,37 @@ mypy==1.8.0
632
640
  ## Getting Started
633
641
 
634
642
  **1. Install dependencies:**
643
+
635
644
  ```bash
636
645
  pip install -r requirements.txt
637
646
  ```
638
647
 
639
648
  **2. Configure environment:**
649
+
640
650
  ```bash
641
651
  cp .env.example .env
642
652
  # Edit .env with your database URL and secrets
643
653
  ```
644
654
 
645
655
  **3. Run database migrations:**
656
+
646
657
  ```bash
647
658
  alembic upgrade head
648
659
  ```
649
660
 
650
661
  **4. Start development server:**
662
+
651
663
  ```bash
652
664
  uvicorn app.main:app --reload
653
665
  ```
654
666
 
655
667
  **5. View API docs:**
668
+
656
669
  - Swagger UI: http://localhost:8000/api/v1/docs
657
670
  - ReDoc: http://localhost:8000/api/v1/redoc
658
671
 
659
672
  **6. Run tests:**
673
+
660
674
  ```bash
661
675
  pytest
662
676
  ```
@@ -671,4 +685,4 @@ pytest
671
685
 
672
686
  ---
673
687
 
674
- **Build high-performance APIs. Scale effortlessly. Deploy confidently.**
688
+ **Build high-performance APIs. Scale effortlessly. Deploy confidently.**
@@ -13,12 +13,13 @@ Generates complete Prisma schema files from natural language descriptions, inclu
13
13
  ## What This Command Does
14
14
 
15
15
  **Generated Schema:**
16
- - Prisma models with fields
17
- - Relationships (one-to-one, one-to-many, many-to-many)
18
- - Indexes and unique constraints
19
- - Default values and validators
20
- - Database-specific configuration
21
- - Example queries
16
+
17
+ - Prisma models with fields
18
+ - Relationships (one-to-one, one-to-many, many-to-many)
19
+ - Indexes and unique constraints
20
+ - Default values and validators
21
+ - Database-specific configuration
22
+ - Example queries
22
23
 
23
24
  **Output:** Complete `schema.prisma` file ready for migration
24
25
 
@@ -47,6 +48,7 @@ Generates complete Prisma schema files from natural language descriptions, inclu
47
48
  ## Example Output
48
49
 
49
50
  **Input:**
51
+
50
52
  ```
51
53
  /psg "Blog platform with users, posts, comments, and tags"
52
54
  ```
@@ -492,6 +494,7 @@ model Task {
492
494
  ## Database Support
493
495
 
494
496
  **PostgreSQL:**
497
+
495
498
  ```prisma
496
499
  datasource db {
497
500
  provider = "postgresql"
@@ -507,6 +510,7 @@ model Example {
507
510
  ```
508
511
 
509
512
  **MySQL:**
513
+
510
514
  ```prisma
511
515
  datasource db {
512
516
  provider = "mysql"
@@ -515,6 +519,7 @@ datasource db {
515
519
  ```
516
520
 
517
521
  **SQLite (Development):**
522
+
518
523
  ```prisma
519
524
  datasource db {
520
525
  provider = "sqlite"
@@ -523,6 +528,7 @@ datasource db {
523
528
  ```
524
529
 
525
530
  **MongoDB:**
531
+
526
532
  ```prisma
527
533
  datasource db {
528
534
  provider = "mongodb"
@@ -540,31 +546,37 @@ model User {
540
546
  ## Getting Started
541
547
 
542
548
  **1. Install Prisma:**
549
+
543
550
  ```bash
544
551
  npm install @prisma/client
545
552
  npm install -D prisma
546
553
  ```
547
554
 
548
555
  **2. Initialize Prisma:**
556
+
549
557
  ```bash
550
558
  npx prisma init
551
559
  ```
552
560
 
553
561
  **3. Use generated schema:**
562
+
554
563
  - Replace `prisma/schema.prisma` with generated content
555
564
  - Set `DATABASE_URL` in `.env`
556
565
 
557
566
  **4. Create migration:**
567
+
558
568
  ```bash
559
569
  npx prisma migrate dev --name init
560
570
  ```
561
571
 
562
572
  **5. Generate Prisma Client:**
573
+
563
574
  ```bash
564
575
  npx prisma generate
565
576
  ```
566
577
 
567
578
  **6. Use in code:**
579
+
568
580
  ```typescript
569
581
  import { PrismaClient } from '@prisma/client'
570
582
  const prisma = new PrismaClient()