compound-workflow 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -153,7 +153,7 @@ Full “when to use what” and reference standards: [src/AGENTS.md](src/AGENTS.
153
153
 
154
154
  **Skills not showing in Cursor?** Cursor discovers skills from (1) the plugin’s `skills/` directory when you load the plugin from this repo, or (2) the project’s `.cursor/skills/` when you use npm: ensure the project has a `.cursor` directory and run `npx compound-workflow install`—Install creates the full structure (`.cursor/skills/<skill>`, `.cursor/agents`, `.cursor/commands`, `.cursor/references`). If skills still don’t appear, check Cursor Settings → Rules and any `permission.skill` settings.
155
155
 
156
- **Skills not showing in OpenCode?** OpenCode uses the `.agents/compound-workflow-skills` symlink and `opencode.json` `skills.paths`. Run Install from the project root (`npx compound-workflow install`).
156
+ **Skills not showing in OpenCode?** OpenCode uses the `.agents/compound-workflow-skills` symlink and `opencode.json` `skills.paths`. Run Install from the project root (`npx compound-workflow install`). The learnings-capture skill is named **compound-docs** (hyphen, plural); **compound_doc** (underscore) is an alias that resolves to the same skill.
157
157
 
158
158
  ---
159
159
 
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"compound-workflow","version":"0.1.7","description":"Clarify → plan → execute → verify → capture. One Install action for Cursor, Claude, and OpenCode.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/cjerochim/compound-workflow.git"},"bin":{"compound-workflow":"scripts/install-cli.mjs"},"files":["src","scripts",".cursor-plugin",".claude-plugin","skills"],"engines":{"node":">=18"}}
1
+ {"name":"compound-workflow","version":"0.1.8","description":"Clarify → plan → execute → verify → capture. One Install action for Cursor, Claude, and OpenCode.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/cjerochim/compound-workflow.git"},"bin":{"compound-workflow":"scripts/install-cli.mjs"},"files":["src","scripts",".cursor-plugin",".claude-plugin","skills"],"engines":{"node":">=18"}}
@@ -250,9 +250,16 @@ function main() {
250
250
  const existing = readJsonMaybeJsonc(opencodeAbs) ?? {};
251
251
  const next = structuredClone(existing);
252
252
 
253
+ const SKILLS_COMPOUND_PATH = ".agents/compound-workflow-skills";
253
254
  next.$schema = next.$schema || "https://opencode.ai/config.json";
254
255
  next.skills = ensureObject(next.skills);
255
256
  next.skills.paths = Array.isArray(next.skills.paths) ? next.skills.paths : [".agents/skills"];
257
+ const hasCompoundWorkflow =
258
+ fs.existsSync(path.join(rootAbs, "node_modules", "compound-workflow")) ||
259
+ fs.existsSync(path.join(rootAbs, SKILLS_COMPOUND_PATH));
260
+ if (hasCompoundWorkflow && !next.skills.paths.includes(SKILLS_COMPOUND_PATH)) {
261
+ next.skills.paths.unshift(SKILLS_COMPOUND_PATH);
262
+ }
256
263
  next.command = ensureObject(next.command);
257
264
  next.agent = ensureObject(next.agent);
258
265
 
package/src/AGENTS.md CHANGED
@@ -142,7 +142,7 @@ worktree_bootstrap_notes:
142
142
  ## Implemented Components (Current Scope)
143
143
 
144
144
  - Commands: `workflow:brainstorm`, `workflow:plan`, `workflow:work`, `workflow:triage`, `workflow:review`, `workflow:compound` (under `.agents/commands/workflow/`), plus `test-browser`, `metrics`, `assess`, `setup`, `sync` (root commands)
145
- - Skills: `brainstorming`, `document-review`, `technical-review`, `compound-docs`, `file-todos`, `agent-browser`, `git-worktree`, `process-metrics`, `pii-protection-prisma`, `financial-workflow-integrity`, `audit-traceability`, `data-foundations`
145
+ - Skills: `brainstorming`, `document-review`, `technical-review`, `compound-docs` (alias: `compound_doc`), `file-todos`, `agent-browser`, `git-worktree`, `process-metrics`, `pii-protection-prisma`, `financial-workflow-integrity`, `audit-traceability`, `data-foundations`
146
146
  - Agents:
147
147
  - `repo-research-analyst`
148
148
  - `learnings-researcher`
@@ -197,7 +197,7 @@ Maintenance:
197
197
  | `brainstorming` | You need structured idea exploration and clarification without writing code. |
198
198
  | `document-review` | You need to review a document/spec and extract issues, gaps, and concrete next actions. |
199
199
  | `technical-review` | A plan or feature approach has passed document review and must be checked for technical correctness before build. |
200
- | `compound-docs` | A durable learning (solved problem or implementation insight) should be captured as institutional knowledge. |
200
+ | `compound-docs` (alias: `compound_doc`) | A durable learning (solved problem or implementation insight) should be captured as institutional knowledge. |
201
201
  | `file-todos` | You need a file-backed todo workflow for iterative multi-step changes. |
202
202
  | `agent-browser` | You need to inspect available agents/skills and route deterministically. |
203
203
  | `git-worktree` | You need isolated parallel work (review/feature) using git worktrees. |