Skip to content

feat: add crm and e-commerce templates#30

Closed
tonychang04 wants to merge 1 commit intomainfrom
release/0.1.27
Closed

feat: add crm and e-commerce templates#30
tonychang04 wants to merge 1 commit intomainfrom
release/0.1.27

Conversation

@tonychang04
Copy link
Copy Markdown
Contributor

@tonychang04 tonychang04 commented Mar 21, 2026

Summary

  • Adds crm and e-commerce as GitHub template options in the create command
  • Both templates follow the same format as chatbot (.env.example, migrations/db_int.sql, package.json)
  • Bumps version to 0.1.27

Test plan

  • Run insforge create --template crm and verify template downloads and env vars are populated
  • Run insforge create --template e-commerce and verify template downloads and migrations run
  • Verify interactive template picker shows all 5 options

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added chatbot, CRM, and e-commerce project templates
    • Automatic SQL database migrations during template setup
    • Environment variable configuration support for deployments
  • Chores

    • Updated CLI version to 0.1.27
    • Added skills registry lock file

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 21, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 18928ef4-3c18-44aa-a595-374dbf080057

📥 Commits

Reviewing files that changed from the base of the PR and between 43893fc and e9b0895.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • package.json
  • skills-lock.json
  • src/commands/create.ts
  • src/lib/env.ts

Walkthrough

The PR bumps the CLI package version from 0.1.21 to 0.1.27, adds a skills registry lock file, introduces environment file parsing utilities, and extends the create command with template downloading, environment variable management, and SQL migration execution support.

Changes

Cohort / File(s) Summary
Package Management
package.json, skills-lock.json
Version bump to 0.1.27 and new skill registry lock file pinning insforge and insforge-cli skills with computed hash verification.
Environment Utilities
src/lib/env.ts
New utility module exporting readEnvFile() function that reads and parses environment variables from .env.local, .env.production, or .env with quote-stripping and comment-filtering.
Create Command Enhancement
src/commands/create.ts
Expanded --template option with runtime validation for template types, added template cloning flow for chatbot, crm, and e-commerce, environment variable injection into deployment, and SQL migration execution via API with error fallback handling.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • 0.1.21 #26: Related through package version management and dependency updates to @insforge/cli.

Suggested reviewers

  • jwfing

Poem

🐰 A CLI grows with templates galore,
Environment files read to the core,
SQL migrations flow with a whoosh,
Now chatbots and e-commerce boost!
Version 0.1.27, hop, skip, and score!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/0.1.27

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can get early access to new features in CodeRabbit.

Enable the early_access setting to enable early access features such as new models, tools, and more.

@tonychang04 tonychang04 deleted the release/0.1.27 branch March 21, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant