Skip to content

feat(plugins/cix): bundle cix-workspace skill + investigator sub-agent (v0.2.0)#40

Merged
dvcdsys merged 1 commit into
developfrom
feat/cix-plugin-workspace-bundle
May 13, 2026
Merged

feat(plugins/cix): bundle cix-workspace skill + investigator sub-agent (v0.2.0)#40
dvcdsys merged 1 commit into
developfrom
feat/cix-plugin-workspace-bundle

Conversation

@dvcdsys
Copy link
Copy Markdown
Owner

@dvcdsys dvcdsys commented May 13, 2026

Summary

Bundles the cross-project research workflow into the cix Claude Code
plugin so marketplace install delivers everything in one step — no
separate manual cp -r of skills/cix-workspace/ and
~/.claude/agents/ files.

Bumps the plugin v0.1.0 → v0.2.0 (minor: new functionality, no
breaking changes to the existing single-repo cix skill or hooks).

What's bundled

  • plugins/cix/skills/cix-workspace/SKILL.md — cross-project
    workflow skill: ten trust rules for projects[] / chunks[],
    four-part fan-out prompt template, anti-patterns list, worked
    example.
  • plugins/cix/agents/cix-workspace-investigator.md — read-only
    sub-agent for parallel per-repo deep dive. Tools: Bash + Read +
    Grep. Hard rules baked in (one repo per spawn, no edits, no
    recursion).
  • plugins/cix/tests/workspace-bundle.bats — 10 regression
    tests covering presence, frontmatter, manual-only enforcement,
    read-only tools, manifest version pin.

Manual-only by design

The cix-workspace skill does not auto-trigger. The frontmatter
has no when_to_use: block, and the description: explicitly states
"Do not auto-trigger". Invocation is exclusively via
/cix-workspace <task>.

Why: the workspace flow is heavier than single-repo cix search
(multi-repo fan-out, sub-agent spawns). Auto-trigger on every prompt
that vaguely mentions "services" would burn context for no reason.
Load it deliberately when you've decided cross-project research is
the right shape of work. Policy may relax once
"is-this-really-cross-project?" heuristics are more reliable.

A bats test pins this — re-adding when_to_use: fails CI.

Doc updates

Install instructions across workspaces.md, top-level README.md,
and skills/README.md now lead with the marketplace plugin install;
manual cp -r is kept as the "legacy" path. All three explicitly
call out that the skill is manual-only.

The top-level skills/cix-workspace/SKILL.md is synced with the
plugin copy so the two don't drift.

Test plan

  • bats plugins/cix/tests/70/70 green locally (60 existing
    + 10 new workspace-bundle.bats assertions)
  • CI: bats suite on the runner
  • Local install smoke test: /plugin marketplace add <local-path>
    /plugin install cix@code-index --scope local → confirm
    /cix-workspace is invokable and cix-workspace-investigator
    shows up as a discoverable sub-agent type
  • No regression to existing single-repo skill / commands / hooks

🤖 Generated with Claude Code

…t (v0.2.0)

When users install the cix plugin via the Claude Code marketplace they
should get the cross-project research workflow + the read-only
investigator sub-agent automatically — without separate `cp -r` of
top-level `skills/` and `~/.claude/agents/` files. This commit moves
both artifacts into the plugin tree so marketplace install picks them
up in one step.

Plugin additions:
- `plugins/cix/skills/cix-workspace/SKILL.md` — workflow skill (10
  trust rules, four-part fan-out prompt template, anti-patterns,
  worked example).
- `plugins/cix/agents/cix-workspace-investigator.md` — read-only
  sub-agent. Tools: Bash + Read + Grep. Hard rules baked in
  (one repo per spawn, no edits, no recursion).
- `plugins/cix/tests/workspace-bundle.bats` — 10 regression tests:
  files present, frontmatter parses, manual-only enforced (no
  `when_to_use:` block), sub-agent tools list is read-only,
  manifest version >= 0.2.0.

Manual-only by design:
- The cix-workspace skill does NOT auto-trigger. Frontmatter has no
  `when_to_use:` heuristic block; `description:` explicitly says
  "Do not auto-trigger". Invocation is exclusively via
  `/cix-workspace <task>`.
- Rationale: the workspace flow is heavier than single-repo
  `cix search` (multi-repo fan-out, sub-agent spawns). Auto-trigger
  on every prompt that vaguely mentions "services" would burn
  context for no reason. Load it deliberately. Policy may relax
  once "is-this-really-cross-project?" heuristics are more reliable.
- A bats test (`workspace-bundle.bats`) pins this — re-adding
  `when_to_use:` fails CI.

Plugin manifest bumped 0.1.0 → 0.2.0:
- Description updated to mention the workspace skill + sub-agent.
- Keywords expanded with workspace / cross-project / monorepo /
  sub-agent.
- marketplace.json description mirrors plugin.json.

Top-level docs aligned:
- `workspaces.md`, `README.md`, `skills/README.md`: install
  instructions now lead with the marketplace plugin install; manual
  `cp -r` kept as the "legacy" path. All three call out that the
  skill is manual-only.
- `skills/cix-workspace/SKILL.md` (top-level copy) mirrors the
  plugin's frontmatter for consistency.

Tests: full 70/70 bats suite passes locally
(60 existing + 10 new workspace-bundle assertions).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@dvcdsys dvcdsys merged commit af6f4b6 into develop May 13, 2026
4 checks passed
@dvcdsys dvcdsys deleted the feat/cix-plugin-workspace-bundle branch May 13, 2026 23:02
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