Skip to content

[Phase 3] Consolidate 3 more skills into the Bundle CLI (slash, mcp-builder, marketplace) #29

Description

@Delqhi

Summary

Skill-Audit-Matrix (docs/skill-audit-matrix.md, commit b9e7b42) identified 5 consolidation candidates. Phase 2 (CoDocs merge into SIN-Code-Codocs-Skill) is DONE (v1.0.0, 2026-06-06).

This issue tracks Phase 3: 3 more skills that are arguably better as subcommands of the sin-code-bundle CLI than as standalone skills.

Candidates

🥈 sin-slash → sin slash subcommand

Aspect Current (as skill) Proposed (as subcommand)
Repo OpenSIN-Code/SIN-Code-Slash-Skill Part of OpenSIN-Code/SIN-Code-Bundle
Tests 146 passed Migrated to SIN-Code-Bundle/tests/cli/slash/
Surface Standalone CLI + MCP server sin slash <list|register|unregister|history|help>
Opencode integration Via MCP Via CLI in command config

Why: opencode has a command top-level key in opencode.json for custom slash commands. A skill that manages slash commands is one level of indirection above what's needed. A sin slash subcommand that adds/removes entries in opencode.json.command directly is simpler and faster.

Effort: 1h (move logic, add CLI, update opencode.json)

🥉 sin-mcp-server-builder → sin mcp-server subcommand

Aspect Current (as skill) Proposed (as subcommand)
Repo OpenSIN-Code/SIN-Code-Mcp-Server-Builder-Skill Part of SIN-Code-Bundle
Tests 120 passed Migrated
8 tools scaffold, template_list, add_tool, test, register, validate, publish, audit sin mcp-server <scaffold|add-tool|test|register|...>

Why: Scaffolding MCP servers is a meta-operation on the Bundle itself (which is itself a multi-MCP-server bundle). Belongs in the same CLI as the rest of the bundle operations.

Effort: 2h (move 8 tools, port tests)

4️⃣ sin-marketplace → sin marketplace subcommand

Aspect Current (as skill) Proposed (as subcommand)
Repo OpenSIN-Code/SIN-Code-Marketplace-Skill Part of SIN-Code-Bundle
Tests 97 passed Migrated
24 MCP tools search, install, update, etc. sin marketplace <search|install|list|update>

Why: The marketplace is the catalog of all SIN-Code tools. The Bundle already imports/installs these tools. sin marketplace is the natural way to discover and add to the bundle.

Effort: 1.5h (move logic, port tests)

Why this matters

After Phase 3:

  • Skill count: 17 → 14 (3 fewer skills to maintain)
  • CLI surface: more unified — all meta-operations under sin <verb>
  • Less indirection — no more "skill that helps you write skills"
  • Single install — pip install sin-code-bundle gets everything
  • Fewer MCP servers — slash + mcp-builder + marketplace are no longer MCP servers, just CLI subcommands

Why NOT do this

  • Skill is more discoverable in opencode.json — agent can see it in baseline and load the SKILL.md automatically
  • MCP server = stateful — if any of these need persistent state across calls, they're better as MCP
  • Loss of vendor independence — if you bundle marketplace into Bundle, breaking the Bundle breaks marketplace too

Proposed action plan

Phase 3.1: sin-slash (low risk, 1h)

  • Move sin-slash Python code into SIN-Code-Bundle/src/sin_code_bundle/cli/slash.py
  • Add slash subcommand to Bundle CLI
  • Port 146 tests
  • Update opencode.json to use the new subcommand
  • Deprecate SIN-Code-Slash-Skill repo (keep as read-only archive)

Phase 3.2: sin-mcp-server-builder (medium risk, 2h)

  • Move 8 tools into SIN-Code-Bundle/src/sin_code_bundle/cli/mcp_server/
  • Add mcp-server subcommand
  • Port 120 tests
  • Update ceo-audit / sin-codocs workflows that use the meta-skill
  • Deprecate SIN-Code-Mcp-Server-Builder-Skill

Phase 3.3: sin-marketplace (medium risk, 1.5h)

  • Move logic into SIN-Code-Bundle/src/sin_code_bundle/cli/marketplace.py
  • Add marketplace subcommand
  • Port 97 tests
  • Update Infra-SIN-OpenCode-Stack to use new subcommand
  • Deprecate SIN-Code-Marketplace-Skill

Acceptance criteria

  • 3 skills deprecated (READMEs marked DEPRECATED with migration table)
  • 3 new Bundle subcommands live: sin slash, sin mcp-server, sin marketplace
  • 363 tests migrated (146 + 120 + 97), all passing
  • opencode.json baseline reduced from 17 → 14
  • PyPI sin-code-bundle v1.0.0 release with all 3 subcommands
  • Skill-Audit-Matrix updated: docs/skill-audit-matrix.md (Phase 3 marked DONE)

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions