Skip to content

refactor(plugin): migrate bare commands to namespaced plugin-skill delivery model (#1286)#1296

Merged
JeremyDev87 merged 2 commits into
masterfrom
taskmaestro/1775272188/pane-1
Apr 4, 2026
Merged

refactor(plugin): migrate bare commands to namespaced plugin-skill delivery model (#1286)#1296
JeremyDev87 merged 2 commits into
masterfrom
taskmaestro/1775272188/pane-1

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Migrates plugin commands to the canonical codingbuddy:* namespace delivery model
  • Adds namespace-manifest.json build artifact mapping bare command names to their namespaced equivalents
  • Updates README template and buddy.md Quick Actions to reference codingbuddy:plan, codingbuddy:act, etc.
  • Adds namespace manifest generation tests and packaging integration tests (10 new test cases)

Changes

  • scripts/build.ts — New createNamespaceManifest() build step + buildNamespaceManifest() exported for testing; README uses namespaced command references
  • scripts/build.spec.ts — Namespace manifest generation tests + packaging integration tests
  • commands/buddy.md — Quick Actions section updated to namespaced commands
  • .gitignorenamespace-manifest.json added (build artifact)

Test plan

  • npx tsx scripts/validate-commands.ts — all commands pass validation
  • yarn workspace codingbuddy exec vitest run — 5887 tests pass (236 test files)
  • yarn workspace codingbuddy exec tsc --noEmit — clean typecheck
  • yarn prettier --write . — formatted

Closes #1286

@JeremyDev87 JeremyDev87 added refactor plugin packages/claude-code-plugin cli CLI commands and interfaces labels Apr 4, 2026
@vercel

vercel Bot commented Apr 4, 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 4, 2026 3:45am

@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.

Review: ✅ APPROVE

CI Status: ALL PASS (26/26 checks including plugin-validate-commands)

Code Quality Assessment:

  • Namespace manifest: New buildNamespaceManifest() generates namespace-manifest.json with full command mapping — clean build artifact
  • buddy.md: Quick Actions updated to codingbuddy:* namespace
  • build.ts: README template updated, namespace manifest as build step 2, proper reuse of validate-commands.ts exports
  • build.spec.ts: 11 new tests — namespace manifest generation (7) + packaging integration (4)
  • No plugin.json changes: Lesson from Wave 8 applied correctly
  • .gitignore: Build artifact namespace-manifest.json properly excluded

Architecture:

  • NamespaceManifest interface cleanly exported for testing
  • Reuses PLUGIN_NAMESPACE, NAMESPACE_SEPARATOR, extractCommandsFromDirectory from validate-commands — DRY
  • Build step ordering maintained (README → namespace manifest → .mcp.json)

Checklist:

  • CI ALL PASS
  • No unused imports/variables
  • No any types
  • No plugin.json schema violations
  • Tests cover acceptance criteria from #1286
  • Lint fix applied (require → import)

✅ Review complete — solid namespace migration with build integration.

@JeremyDev87 JeremyDev87 self-assigned this Apr 4, 2026
…livery model (#1286)

- Update build.ts to generate namespace-manifest.json mapping bare→codingbuddy:* commands
- Update README template to reference codingbuddy:* namespaced commands
- Update buddy.md Quick Actions to use namespaced command references
- Add namespace manifest generation tests and packaging integration tests
- Add namespace-manifest.json to .gitignore (build artifact)
Fixes @typescript-eslint/no-require-imports lint error from CI.
@JeremyDev87 JeremyDev87 force-pushed the taskmaestro/1775272188/pane-1 branch from 76c91ba to 90d304f Compare April 4, 2026 03:44
@JeremyDev87 JeremyDev87 merged commit 628d15d into master Apr 4, 2026
26 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775272188/pane-1 branch April 4, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI commands and interfaces plugin packages/claude-code-plugin refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(plugin): migrate bare slash commands to a namespaced plugin-skill delivery model

1 participant