Skip to content

feat(cli): add create-plugin scaffold command (#1185)#1191

Merged
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775210758/pane-3
Apr 3, 2026
Merged

feat(cli): add create-plugin scaffold command (#1185)#1191
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775210758/pane-3

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Add codingbuddy create-plugin <name> CLI command that scaffolds a new plugin project
  • Supports --template minimal (default) and --template full with example agents/skills/rules/checklists
  • Validates plugin name using existing schema regex, defaults author from git config user.name
  • 19 tests covering name validation, template generation, and filesystem output

Test plan

  • Unit tests for validatePluginName (valid/invalid names)
  • Unit tests for generateMinimalTemplate (file contents, valid plugin.json)
  • Unit tests for generateFullTemplate (all example files, provides list)
  • Integration tests for runCreatePlugin (disk writes, error cases)
  • CLI parsing tests for create-plugin command in cli.spec.ts
  • Prettier, ESLint, TypeScript type-check all pass

Closes #1185

Add `codingbuddy create-plugin <name>` command that scaffolds a new
plugin project with minimal or full template.

- Minimal template: plugin.json, README.md, .gitignore
- Full template: adds agents/, skills/, rules/, checklists/ examples
- Name validation using existing plugin schema regex
- Default author from git config user.name
- Wired into CLI parser and help text
@JeremyDev87 JeremyDev87 added feat cli CLI commands and interfaces labels Apr 3, 2026
@vercel

vercel Bot commented Apr 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 3, 2026 10:23am

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Conductor Review — APPROVE

CI: 25/25 ALL PASS

Review: APPROVE — 0 issues

Plan Verification:

  • codingbuddy create-plugin <name> command
  • --template minimal|full option
  • CLI parseArgs + main routing wired up
  • Name validation (kebab-case)
  • Minimal template: plugin.json + README.md + .gitignore
  • Full template: + agents/ + skills/ + rules/ + checklists/ examples
  • Comprehensive tests (274 lines)
  • Labels: feat,cli

@JeremyDev87 JeremyDev87 self-assigned this Apr 3, 2026
@JeremyDev87 JeremyDev87 merged commit 1d017d1 into master Apr 3, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775210758/pane-3 branch April 3, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI commands and interfaces feat

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cli): add create-plugin scaffold command

1 participant