@curdx/flow 3.0.0 → 3.2.0
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/CHANGELOG.md +33 -82
- package/LICENSE +1 -1
- package/README.md +28 -129
- package/dist/index.mjs +1165 -0
- package/package.json +33 -44
- package/.claude-plugin/marketplace.json +0 -48
- package/.claude-plugin/plugin.json +0 -52
- package/agent-preamble/preamble.md +0 -314
- package/agents/flow-adversary.md +0 -203
- package/agents/flow-architect.md +0 -198
- package/agents/flow-brownfield-analyst.md +0 -143
- package/agents/flow-debugger.md +0 -321
- package/agents/flow-edge-hunter.md +0 -289
- package/agents/flow-executor.md +0 -269
- package/agents/flow-orchestrator.md +0 -145
- package/agents/flow-planner.md +0 -247
- package/agents/flow-product-designer.md +0 -159
- package/agents/flow-qa-engineer.md +0 -282
- package/agents/flow-researcher.md +0 -166
- package/agents/flow-reviewer.md +0 -304
- package/agents/flow-security-auditor.md +0 -401
- package/agents/flow-triage-analyst.md +0 -272
- package/agents/flow-ui-researcher.md +0 -230
- package/agents/flow-ux-designer.md +0 -221
- package/agents/flow-verifier.md +0 -350
- package/bin/curdx-flow +0 -5
- package/bin/curdx-flow-state +0 -104
- package/bin/curdx-flow.js +0 -54
- package/cli/README.md +0 -104
- package/cli/doctor-workflow.js +0 -483
- package/cli/doctor.js +0 -73
- package/cli/help.js +0 -59
- package/cli/install-bundled-mcps.js +0 -37
- package/cli/install-companions.js +0 -19
- package/cli/install-context7-config.js +0 -80
- package/cli/install-curdx-plugin.js +0 -96
- package/cli/install-language.js +0 -35
- package/cli/install-next-steps.js +0 -29
- package/cli/install-options.js +0 -9
- package/cli/install-paths.js +0 -52
- package/cli/install-recommended-plugins.js +0 -104
- package/cli/install-required-plugins.js +0 -57
- package/cli/install-self-update.js +0 -62
- package/cli/install-workflow.js +0 -209
- package/cli/install.js +0 -101
- package/cli/lib/claude-commands.js +0 -41
- package/cli/lib/claude-ops.js +0 -47
- package/cli/lib/claude.js +0 -183
- package/cli/lib/config.js +0 -24
- package/cli/lib/doctor-claude-settings.js +0 -1186
- package/cli/lib/doctor-report.js +0 -978
- package/cli/lib/doctor-runtime-environment.js +0 -196
- package/cli/lib/frontmatter.js +0 -44
- package/cli/lib/json-schema.js +0 -57
- package/cli/lib/logging.js +0 -25
- package/cli/lib/process.js +0 -60
- package/cli/lib/prompts.js +0 -135
- package/cli/lib/runtime.js +0 -107
- package/cli/lib/semver.js +0 -109
- package/cli/lib/version.js +0 -12
- package/cli/protocols-body.md +0 -22
- package/cli/protocols.js +0 -162
- package/cli/registry.js +0 -123
- package/cli/router.js +0 -49
- package/cli/uninstall-actions.js +0 -360
- package/cli/uninstall-workflow.js +0 -146
- package/cli/uninstall.js +0 -42
- package/cli/upgrade-workflow.js +0 -80
- package/cli/upgrade.js +0 -91
- package/cli/utils.js +0 -40
- package/gates/adversarial-review-gate.md +0 -219
- package/gates/coverage-audit-gate.md +0 -182
- package/gates/devex-gate.md +0 -254
- package/gates/edge-case-gate.md +0 -194
- package/gates/karpathy-gate.md +0 -130
- package/gates/security-gate.md +0 -218
- package/gates/tdd-gate.md +0 -182
- package/gates/test-quality-gate.md +0 -59
- package/gates/verification-gate.md +0 -179
- package/hooks/hooks.json +0 -130
- package/hooks/scripts/common.sh +0 -237
- package/hooks/scripts/config-change-guard.sh +0 -94
- package/hooks/scripts/flow-context-watch.sh +0 -94
- package/hooks/scripts/inject-karpathy.sh +0 -53
- package/hooks/scripts/quick-mode-guard.sh +0 -69
- package/hooks/scripts/session-start.sh +0 -94
- package/hooks/scripts/session-title.sh +0 -87
- package/hooks/scripts/stop-watcher.sh +0 -231
- package/hooks/scripts/subagent-artifact-guard.sh +0 -92
- package/hooks/scripts/subagent-statusline.sh +0 -111
- package/hooks/scripts/task-lifecycle-guard.sh +0 -106
- package/hooks/scripts/teammate-idle-guard.sh +0 -83
- package/knowledge/artifact-output-discipline.md +0 -24
- package/knowledge/artifact-summary-contracts.md +0 -50
- package/knowledge/atomic-commits.md +0 -262
- package/knowledge/claude-code-runtime-contracts.md +0 -240
- package/knowledge/epic-decomposition.md +0 -307
- package/knowledge/execution-strategies.md +0 -303
- package/knowledge/karpathy-guidelines.md +0 -219
- package/knowledge/planning-reviews.md +0 -211
- package/knowledge/poc-first-workflow.md +0 -223
- package/knowledge/review-feedback-intake.md +0 -57
- package/knowledge/spec-driven-development.md +0 -180
- package/knowledge/systematic-debugging.md +0 -378
- package/knowledge/two-stage-review.md +0 -249
- package/knowledge/wave-execution.md +0 -403
- package/monitors/monitors.json +0 -8
- package/monitors/scripts/flow-state-monitor.sh +0 -102
- package/output-styles/curdx-evidence-first.md +0 -34
- package/output-styles/curdx-fast-mode.md +0 -42
- package/output-styles/curdx-spec-mode.md +0 -46
- package/schemas/agent-frontmatter.schema.json +0 -66
- package/schemas/config.schema.json +0 -134
- package/schemas/gate-frontmatter.schema.json +0 -30
- package/schemas/hooks.schema.json +0 -115
- package/schemas/output-style-frontmatter.schema.json +0 -22
- package/schemas/plugin-manifest.schema.json +0 -436
- package/schemas/plugin-settings.schema.json +0 -29
- package/schemas/skill-frontmatter.schema.json +0 -177
- package/schemas/spec-frontmatter.schema.json +0 -42
- package/schemas/spec-state.schema.json +0 -165
- package/settings.json +0 -8
- package/skills/brownfield-index/SKILL.md +0 -53
- package/skills/brownfield-index/references/applicability.md +0 -12
- package/skills/brownfield-index/references/handoff.md +0 -8
- package/skills/brownfield-index/references/index-contract.md +0 -10
- package/skills/browser-qa/SKILL.md +0 -39
- package/skills/browser-qa/references/handoff.md +0 -6
- package/skills/browser-qa/references/prerequisites.md +0 -10
- package/skills/browser-qa/references/qa-contract.md +0 -20
- package/skills/cancel/SKILL.md +0 -41
- package/skills/cancel/references/destructive-mode.md +0 -17
- package/skills/cancel/references/reporting.md +0 -18
- package/skills/cancel/references/state-recovery.md +0 -30
- package/skills/cancel/references/target-resolution.md +0 -7
- package/skills/debug/SKILL.md +0 -45
- package/skills/debug/references/context-gathering.md +0 -11
- package/skills/debug/references/failure-guard.md +0 -25
- package/skills/debug/references/intake.md +0 -12
- package/skills/debug/references/phase-workflow.md +0 -34
- package/skills/debug/references/reporting.md +0 -20
- package/skills/epic/SKILL.md +0 -39
- package/skills/epic/references/epic-artifacts.md +0 -20
- package/skills/epic/references/epic-intake.md +0 -9
- package/skills/epic/references/slice-handoff.md +0 -16
- package/skills/fast/SKILL.md +0 -62
- package/skills/fast/references/applicability.md +0 -25
- package/skills/fast/references/clarification.md +0 -20
- package/skills/fast/references/execution-contract.md +0 -56
- package/skills/help/SKILL.md +0 -55
- package/skills/help/references/dispatch.md +0 -20
- package/skills/help/references/overview.md +0 -39
- package/skills/help/references/troubleshoot.md +0 -47
- package/skills/help/references/workflow.md +0 -37
- package/skills/implement/SKILL.md +0 -104
- package/skills/implement/references/error-recovery.md +0 -36
- package/skills/implement/references/linear-execution.md +0 -43
- package/skills/implement/references/native-task-sync.md +0 -107
- package/skills/implement/references/preflight.md +0 -43
- package/skills/implement/references/progress-contract.md +0 -36
- package/skills/implement/references/state-init.md +0 -36
- package/skills/implement/references/stop-hook-execution.md +0 -50
- package/skills/implement/references/strategy-router.md +0 -38
- package/skills/implement/references/subagent-execution.md +0 -57
- package/skills/implement/references/wave-execution.md +0 -180
- package/skills/init/SKILL.md +0 -49
- package/skills/init/references/gitignore-and-health.md +0 -26
- package/skills/init/references/next-steps.md +0 -22
- package/skills/init/references/preflight.md +0 -15
- package/skills/init/references/scaffold-contract.md +0 -27
- package/skills/review/SKILL.md +0 -82
- package/skills/review/references/optional-passes.md +0 -48
- package/skills/review/references/preflight.md +0 -38
- package/skills/review/references/report-contract.md +0 -49
- package/skills/review/references/reporting.md +0 -20
- package/skills/review/references/stage-execution.md +0 -32
- package/skills/security-audit/SKILL.md +0 -47
- package/skills/security-audit/references/audit-contract.md +0 -21
- package/skills/security-audit/references/gate-handoff.md +0 -8
- package/skills/security-audit/references/scope-and-depth.md +0 -9
- package/skills/spec/SKILL.md +0 -100
- package/skills/spec/references/artifact-landing.md +0 -31
- package/skills/spec/references/phase-execution.md +0 -50
- package/skills/spec/references/planning-review.md +0 -31
- package/skills/spec/references/preflight-and-routing.md +0 -46
- package/skills/spec/references/reporting.md +0 -21
- package/skills/start/SKILL.md +0 -84
- package/skills/start/references/branch-routing.md +0 -51
- package/skills/start/references/mode-semantics.md +0 -12
- package/skills/start/references/preflight.md +0 -13
- package/skills/start/references/reporting.md +0 -20
- package/skills/start/references/state-seeding.md +0 -44
- package/skills/start/references/workflow-handoff.md +0 -26
- package/skills/status/SKILL.md +0 -41
- package/skills/status/references/gather-contract.md +0 -30
- package/skills/status/references/health-rules.md +0 -27
- package/skills/status/references/output-contract.md +0 -25
- package/skills/status/references/preflight.md +0 -10
- package/skills/status/references/recovery-hints.md +0 -18
- package/skills/ui-sketch/SKILL.md +0 -39
- package/skills/ui-sketch/references/brief-intake.md +0 -10
- package/skills/ui-sketch/references/iteration-handoff.md +0 -5
- package/skills/ui-sketch/references/variant-contract.md +0 -15
- package/skills/verify/SKILL.md +0 -56
- package/skills/verify/references/evidence-workflow.md +0 -39
- package/skills/verify/references/output-contract.md +0 -23
- package/skills/verify/references/preflight.md +0 -11
- package/skills/verify/references/report-handoff.md +0 -35
- package/skills/verify/references/strict-mode.md +0 -12
- package/templates/CONTEXT.md.tmpl +0 -53
- package/templates/PROJECT.md.tmpl +0 -59
- package/templates/ROADMAP.md.tmpl +0 -50
- package/templates/STATE.md.tmpl +0 -49
- package/templates/config.json.tmpl +0 -51
- package/templates/design.md.tmpl +0 -83
- package/templates/progress.md.tmpl +0 -77
- package/templates/requirements.md.tmpl +0 -76
- package/templates/research.md.tmpl +0 -83
- package/templates/tasks.md.tmpl +0 -107
package/CHANGELOG.md
CHANGED
|
@@ -1,97 +1,48 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
All notable changes to `@curdx/flow` are documented here. Format follows [Keep a Changelog](https://keepachangelog.com/) and the project follows [Semantic Versioning](https://semver.org/).
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
manifest reshape, schema realignment, and platform-feature uptake.
|
|
5
|
+
## 3.2.0 — 2026-04-26
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
list documented at <https://code.claude.com/docs/en/sub-agents.md>; reversed
|
|
10
|
-
the P1 contract validator's misjudgement that flagged `effort`,
|
|
11
|
-
`maxTurns`, `background`, and `color` as non-canonical, and replaced it
|
|
12
|
-
with a strict-mode threshold check on combined `description + when_to_use`
|
|
13
|
-
length (1536-char skill listing cap)
|
|
14
|
-
- collapsed `plugin.json#agents` from a 17-entry explicit array to the
|
|
15
|
-
directory pointer `"./agents/"`, matching `skills` and `outputStyles` and
|
|
16
|
-
eliminating per-agent manifest drift
|
|
17
|
-
- explicitly forbade plugin-ignored fields (`hooks`, `mcpServers`,
|
|
18
|
-
`permissionMode`) at schema validation time so misconfigurations surface
|
|
19
|
-
before install instead of being silently dropped at runtime
|
|
20
|
-
- shipped a plugin root `bin/` directory: `bin/curdx-flow-state` emits a
|
|
21
|
-
one-line snapshot of the active spec and is added to the Bash tool's
|
|
22
|
-
`PATH` whenever the plugin is enabled (Claude Code v2.1.91+); agents,
|
|
23
|
-
skills, and hooks can call it as a bare command instead of duplicating
|
|
24
|
-
Python/Bash snippets
|
|
25
|
-
- added `subagentStatusLine.refreshInterval: 5` so the worktree-aware
|
|
26
|
-
status line refreshes automatically (Claude Code Week 15 statusline
|
|
27
|
-
feature)
|
|
28
|
-
- shipped two new output styles, `CurdX Spec Mode` (verbose, artifact-first)
|
|
29
|
-
and `CurdX Fast Mode` (low-ceremony surgical work), alongside the
|
|
30
|
-
default evidence-first style
|
|
31
|
-
- expanded the test suite from 10 to 110+ assertions across five new files:
|
|
32
|
-
every skill frontmatter parses with name/description/length contract,
|
|
33
|
-
every hook script invoked from `hooks.json` is executable + bash-parsable,
|
|
34
|
-
every output style has frontmatter + non-trivial body, the
|
|
35
|
-
`RECOMMENDED_PLUGINS` registry stays in lockstep with `session-start.sh`,
|
|
36
|
-
and every plugin `bin/` executable parses + runs without crashing
|
|
37
|
-
- restored the README and CHANGELOG that were dropped during the
|
|
38
|
-
P1 slate-clearing (commits 0dee423 / 8b14aba) and updated them to v3.0.0
|
|
7
|
+
### Added
|
|
39
8
|
|
|
40
|
-
|
|
9
|
+
- **Version-aware install** — `flow install` now detects already-installed items with newer versions available upstream and presents a third state `↑ installed v3.0.0 → v3.2.3 available` in the multiselect. Items with updates are pre-selected by default alongside not-installed items, so a single Enter ships "install missing + upgrade outdated".
|
|
10
|
+
- **Smart dispatch** — selected items route to the right operation:
|
|
11
|
+
- not installed → `install` (full)
|
|
12
|
+
- update available → `update` (incremental, via `claude plugin update <id>`)
|
|
13
|
+
- already installed but selected → reinstall confirmation prompt (uninstall + install)
|
|
14
|
+
- **Marketplace cache refresh** — install flow runs `claude plugin marketplace update <name>` for each pkg's marketplace before reading `latestVersion`. Skipped per-marketplace if its cache mtime is within 1 hour. New flag `--no-refresh` to opt out entirely (CI / offline use).
|
|
15
|
+
- **`flow status --json` enriched** — now includes `installedVersion`, `latestVersion`, and `updateAvailable` fields for each item, so external scripts can detect upgrade candidates without parsing the multiselect UI.
|
|
16
|
+
- **`Pkg.installedVersion` / `Pkg.latestVersion` / `Pkg.marketplaces`** — optional methods on the registry interface. Implemented for `pua` and `claude-mem` (the two items whose marketplaces declare `version` in `.claude-plugin/marketplace.json`). Other items gracefully fall back to the boolean installed/not-installed display when versions aren't available.
|
|
41
17
|
|
|
42
|
-
|
|
18
|
+
### Notes
|
|
43
19
|
|
|
44
|
-
|
|
20
|
+
Of the 6 bundled items, only `pua` and `claude-mem` expose comparable versions. `chrome-devtools-mcp` and `frontend-design` (Anthropic official marketplace) don't declare `version` in marketplace metadata and so always render as "installed" without version. Both MCP servers (`sequential-thinking`, `context7`) have no installed-version concept (`npx -y` auto-fetches latest each launch / remote HTTP) and behave the same way.
|
|
45
21
|
|
|
46
|
-
|
|
47
|
-
the legacy user-level Context7 MCP entry has been reconciled
|
|
22
|
+
## 3.1.0 — 2026-04-26
|
|
48
23
|
|
|
49
|
-
|
|
24
|
+
Major rewrite preserving the same goal (one-command installer for Claude Code plugins and MCP servers) with a cleaner internal architecture and broader coverage.
|
|
50
25
|
|
|
51
|
-
|
|
52
|
-
(`hooks.json` is loaded automatically; manifest `hooks` field is reserved
|
|
53
|
-
for non-standard locations only) and resolved the `context7-plugin
|
|
54
|
-
unknown version` install failure that blocked upgrades
|
|
26
|
+
### Added
|
|
55
27
|
|
|
56
|
-
|
|
28
|
+
- **Bilingual UI** — every interactive run starts with a 中文 / English picker; default is auto-detected from `$LANG`. No config file is written.
|
|
29
|
+
- **Two new MCP servers**:
|
|
30
|
+
- `sequential-thinking` (`@modelcontextprotocol/server-sequential-thinking`)
|
|
31
|
+
- `context7` (Upstash HTTP MCP) with optional API key prompt at install time
|
|
32
|
+
- **`citty` subcommand mode** — `npx @curdx/flow install|uninstall|update|status` for non-interactive / CI use, alongside the original interactive menu.
|
|
33
|
+
- **`status --json`** — machine-readable install state for scripting.
|
|
34
|
+
- **`install --all --yes`** — non-interactive bulk install.
|
|
35
|
+
- **`Pkg` registry abstraction** (`src/registry/types.ts`) — every installable item declares `isInstalled / install / uninstall / update / prereqCheck / configPrompts` once, and the four flows (install / uninstall / update / status) use the same interface. Future additions are a single file in `src/registry/`.
|
|
36
|
+
- **Idempotency layer** — every flow pre-checks state via cached `claude plugin list --json` / `claude mcp list` parsing, so re-running after a partial install is safe.
|
|
37
|
+
- **`prereqCheck` for `chrome-devtools-mcp`** — detects Node ≥ 20.19 and a locally installed Chrome before attempting install.
|
|
38
|
+
- **GitHub Actions CI + Release workflows** — Node 20 + 22 matrix on PRs; `v*` tag triggers `npm publish --provenance --access public` and an auto-noted GitHub Release.
|
|
57
39
|
|
|
58
|
-
|
|
59
|
-
- surfaced bundled source repo metadata (`branch`, `shortSha`, `exactTag`, `dirty`) alongside bundled plugin body version in diagnostics and JSON output
|
|
60
|
-
- documented the reinstall workflow for "same version, but local source changed" plugin-development scenarios
|
|
40
|
+
### Changed
|
|
61
41
|
|
|
62
|
-
|
|
42
|
+
- `@clack/prompts` upgraded **0.8.x → 1.2.x** (Node ≥ 20.12 required).
|
|
43
|
+
- Bundler: now `tsup` producing a single 35 KB ESM file (`dist/index.mjs`) with shebang banner — no more multi-file dist.
|
|
44
|
+
- Plugin registry now uses the **real marketplace name** from `.claude-plugin/marketplace.json`, not the GitHub repo path. Specifically `chrome-devtools-mcp` lives in marketplace `chrome-devtools-plugins`, not `chrome-devtools-mcp`.
|
|
63
45
|
|
|
64
|
-
|
|
65
|
-
- exposed bundled plugin body version in the runtime report and machine-readable doctor payload for automation consumers
|
|
66
|
-
- documented the reinstall/restart recovery path when Claude is still loading an older CurDX-Flow build
|
|
46
|
+
### Removed
|
|
67
47
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
- taught `doctor` to inspect file-based Claude Code managed settings and apply them at the correct highest-precedence layer for CurDX-Flow plugin options
|
|
71
|
-
- upgraded the `doctor --json` contract to v2 so wrappers can distinguish inspected `managed-file` scope from uninspected server-managed / MDM / CLI overrides
|
|
72
|
-
- added report and workflow coverage for managed-settings fragments, invalid managed JSON, and managed-vs-local/project/user precedence
|
|
73
|
-
|
|
74
|
-
## 2.3.5
|
|
75
|
-
|
|
76
|
-
- added a versioned `doctor --json` contract for CI/wrappers, including applied-fix metadata and explicit settings-inspection scope metadata
|
|
77
|
-
- added CLI-level regression coverage so `doctor --json` stays silent except for JSON stdout and exit code
|
|
78
|
-
- locked runtime env consumer drift checks against manifest `userConfig` keys and the actual bundled hook/monitor scripts
|
|
79
|
-
|
|
80
|
-
## 2.3.1
|
|
81
|
-
|
|
82
|
-
- expanded `doctor` to report CurDX-Flow's bundled main-thread agent, monitor surface, and plugin option defaults
|
|
83
|
-
- documented where Claude Code stores CurDX-Flow non-sensitive `userConfig` values in `pluginConfigs`
|
|
84
|
-
- added troubleshooting guidance for stop-hook blocking and plugin monitor behavior
|
|
85
|
-
|
|
86
|
-
## 2.3.0
|
|
87
|
-
|
|
88
|
-
- added a default `flow-orchestrator` main-thread agent through plugin-level `settings.json`
|
|
89
|
-
- added a plugin `flow-state` monitor plus `userConfig` runtime knobs for stop-hook blocking, dependency reminders, and monitor cadence
|
|
90
|
-
- made the manifest explicit about `outputStyles` and `monitors`, shipped the monitor assets in npm tarballs, and strengthened pack/plugin contract tests
|
|
91
|
-
- updated doctor/runtime guidance and public docs to reflect the new main-agent + monitor architecture
|
|
92
|
-
|
|
93
|
-
## 2.2.4
|
|
94
|
-
|
|
95
|
-
- aligned the public docs surface with the current skill-first plugin layout
|
|
96
|
-
- kept thin entry docs while moving detailed workflow logic into skill references
|
|
97
|
-
- locked command summaries to workflow skill descriptions with tests
|
|
48
|
+
- `~/.curdx-flow/config.json` — language preference is no longer persisted; the picker runs every interactive session.
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,145 +1,44 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @curdx/flow
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
> Spec-driven workflow, goal-backward verification, and Karpathy discipline for real feature delivery.
|
|
5
|
-
|
|
6
|
-
[](https://www.npmjs.com/package/@curdx/flow)
|
|
7
|
-
[](./LICENSE)
|
|
8
|
-
[](https://code.claude.com)
|
|
9
|
-
|
|
10
|
-
CurdX-Flow is a skill-first Claude Code plugin. The public surface stays small:
|
|
11
|
-
11 slash commands, 5 auto-invoked skills, 17 internal agents, and a thin set of
|
|
12
|
-
runtime contracts. The heavy workflow detail lives in `skills/*/references/`,
|
|
13
|
-
`knowledge/`, and the `agent-preamble/`.
|
|
14
|
-
|
|
15
|
-
v3.0.0 is the modernization release: the plugin manifest, agent/skill schemas,
|
|
16
|
-
and contract validator are aligned with the latest Claude Code plugin spec
|
|
17
|
-
([sub-agents.md](https://code.claude.com/docs/en/sub-agents.md),
|
|
18
|
-
[plugins-reference.md](https://code.claude.com/docs/en/plugins-reference.md)),
|
|
19
|
-
and the plugin now ships a `bin/` directory whose executables are added to the
|
|
20
|
-
Bash tool's `PATH` while CurdX-Flow is enabled (Claude Code v2.1.91+).
|
|
21
|
-
|
|
22
|
-
## Install
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
npx @curdx/flow install --all
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Requires modern Claude Code and Node 18+. The install flow registers the plugin,
|
|
29
|
-
required reasoning/doc tools, and recommended companion plugins. Run
|
|
30
|
-
`npx @curdx/flow doctor` after install if anything looks off. For CI or wrapper
|
|
31
|
-
automation, use `npx @curdx/flow doctor --json`, which reports file-based
|
|
32
|
-
managed settings at their correct precedence layer.
|
|
33
|
-
|
|
34
|
-
After restart, CurdX-Flow routes the main thread through `flow-orchestrator`
|
|
35
|
-
by default and starts the bundled `.flow` progress monitor in interactive
|
|
36
|
-
Claude Code sessions.
|
|
37
|
-
|
|
38
|
-
## 11 slash commands, that's it
|
|
39
|
-
|
|
40
|
-
```text
|
|
41
|
-
/curdx-flow:init Initialize the .flow scaffold for the current repository.
|
|
42
|
-
/curdx-flow:start Create, resume, list, or switch the active feature spec.
|
|
43
|
-
/curdx-flow:status Show active spec health, progress, artifacts, and recovery hints.
|
|
44
|
-
/curdx-flow:spec Generate or refresh research, requirements, design, and tasks for the active spec.
|
|
45
|
-
/curdx-flow:implement Execute active-spec tasks with strategy routing and atomic progress.
|
|
46
|
-
/curdx-flow:cancel Cancel the active execution loop or delete a spec with explicit confirmation.
|
|
47
|
-
/curdx-flow:verify Verify the active spec against code, tests, and browser evidence.
|
|
48
|
-
/curdx-flow:review Run two-stage review with optional adversarial, edge-case, and DevEx passes.
|
|
49
|
-
/curdx-flow:fast Execute a one-shot small task without creating a spec.
|
|
50
|
-
/curdx-flow:debug Debug a bug or failing test with the root-cause workflow.
|
|
51
|
-
/curdx-flow:help Show command detail, workflow guidance, and troubleshooting.
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Plus 5 auto-invoked skills: `/curdx-flow:epic`, `/curdx-flow:browser-qa`,
|
|
55
|
-
`/curdx-flow:ui-sketch`, `/curdx-flow:security-audit`,
|
|
56
|
-
`/curdx-flow:brownfield-index`.
|
|
3
|
+
Interactive installer for Claude Code plugins and MCP servers.
|
|
57
4
|
|
|
58
5
|
## Quick start
|
|
59
6
|
|
|
60
7
|
```bash
|
|
61
|
-
|
|
62
|
-
claude
|
|
63
|
-
/curdx-flow:init
|
|
64
|
-
/curdx-flow:start jwt-auth "Add JWT authentication to the REST API"
|
|
65
|
-
/curdx-flow:spec
|
|
66
|
-
/curdx-flow:implement
|
|
67
|
-
/curdx-flow:verify
|
|
68
|
-
/curdx-flow:review
|
|
69
|
-
|
|
70
|
-
# Main artifacts:
|
|
71
|
-
# .flow/specs/jwt-auth/verification-report.md
|
|
72
|
-
# .flow/specs/jwt-auth/review-report.md
|
|
8
|
+
npx @curdx/flow
|
|
73
9
|
```
|
|
74
10
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
## What ships
|
|
78
|
-
|
|
79
|
-
- 11 slash commands and 5 auto-invoked skills
|
|
80
|
-
- 17 internal agents wired through `flow-orchestrator`
|
|
81
|
-
- 3 output styles: default, `CurdX Spec Mode`, `CurdX Fast Mode`
|
|
82
|
-
- a `flow-state` background monitor that streams spec progress changes back into Claude
|
|
83
|
-
- 9 composable gates and 14 knowledge docs referenced by every agent
|
|
84
|
-
- 4 execution strategies for `/curdx-flow:implement` (linear, subagent, stop-hook, wave)
|
|
85
|
-
- a plugin `bin/` directory: `curdx-flow-state` is PATH-mounted while the plugin is enabled, so agents and hooks can call it as a bare command
|
|
86
|
-
- thin public docs, thick supporting references
|
|
11
|
+
On first run you'll be asked to pick a language (中文 / English). Then choose what to install, update, uninstall, or just check status.
|
|
87
12
|
|
|
88
|
-
##
|
|
13
|
+
## Subcommands
|
|
89
14
|
|
|
15
|
+
```bash
|
|
16
|
+
npx @curdx/flow # interactive menu
|
|
17
|
+
npx @curdx/flow install # interactive install (current state-aware)
|
|
18
|
+
npx @curdx/flow install --all --yes
|
|
19
|
+
npx @curdx/flow uninstall
|
|
20
|
+
npx @curdx/flow update
|
|
21
|
+
npx @curdx/flow status
|
|
22
|
+
npx @curdx/flow status --json
|
|
23
|
+
npx @curdx/flow --lang en # override language
|
|
90
24
|
```
|
|
91
|
-
.claude-plugin/
|
|
92
|
-
plugin.json plugin manifest (agents/skills/outputStyles point at directories, not file lists)
|
|
93
|
-
marketplace.json
|
|
94
|
-
agents/ 17 specialist subagents
|
|
95
|
-
skills/ 16 skills (commands + auto-invoked)
|
|
96
|
-
hooks/
|
|
97
|
-
hooks.json SessionStart, UserPromptSubmit, Stop, SubagentStop, …
|
|
98
|
-
scripts/ shell handlers (sourced helpers in common.sh, invoked scripts +x)
|
|
99
|
-
gates/ 9 composable review gates
|
|
100
|
-
knowledge/ 14 long-form references @-included by agents
|
|
101
|
-
monitors/
|
|
102
|
-
monitors.json background watchers (flow-state)
|
|
103
|
-
output-styles/ default + spec-mode + fast-mode
|
|
104
|
-
agent-preamble/ shared preamble all agents @-include
|
|
105
|
-
schemas/ JSON Schemas for plugin manifest, agent / skill frontmatter, hooks
|
|
106
|
-
templates/ scaffold templates the CLI installer copies into .flow/
|
|
107
|
-
bin/ plugin executables on PATH (curdx-flow-state, plus the npm CLI bin)
|
|
108
|
-
cli/ npm-published CLI installer (install / upgrade / doctor / uninstall)
|
|
109
|
-
test/ node:test suite + plugin contract validator regression baseline
|
|
110
|
-
scripts/ release.sh + validate-plugin-contracts.mjs + npm-dist-tag
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
## Compatibility notes
|
|
114
25
|
|
|
115
|
-
|
|
116
|
-
Claude Code settings have `disableSkillShellExecution: true`, the spec
|
|
117
|
-
workflow will not run; remove that setting or scope it away from CurdX-Flow.
|
|
118
|
-
- **Plugin agent fields** — agent frontmatter follows the canonical fields
|
|
119
|
-
documented at
|
|
120
|
-
[sub-agents.md](https://code.claude.com/docs/en/sub-agents.md). The fields
|
|
121
|
-
`hooks`, `mcpServers`, and `permissionMode` are silently ignored by the
|
|
122
|
-
Claude Code plugin runtime; CurdX-Flow's schema rejects them at validation
|
|
123
|
-
time so misconfigurations surface before install.
|
|
124
|
-
- **Plugin executables on PATH** — the plugin root `bin/` directory lands on
|
|
125
|
-
the Bash tool's `PATH` while CurdX-Flow is enabled (Claude Code v2.1.91+).
|
|
26
|
+
## What it installs
|
|
126
27
|
|
|
127
|
-
|
|
28
|
+
| id | type | source |
|
|
29
|
+
| --- | --- | --- |
|
|
30
|
+
| `pua` | plugin | `tanweai/pua` → `pua@pua-skills` |
|
|
31
|
+
| `claude-mem` | plugin | `thedotmack/claude-mem` |
|
|
32
|
+
| `chrome-devtools-mcp` | plugin | `ChromeDevTools/chrome-devtools-mcp` |
|
|
33
|
+
| `frontend-design` | plugin | `claude-plugins-official` (built-in) |
|
|
34
|
+
| `sequential-thinking` | mcp | `@modelcontextprotocol/server-sequential-thinking` |
|
|
35
|
+
| `context7` | mcp | HTTP — `https://mcp.context7.com/mcp` (optional API key) |
|
|
128
36
|
|
|
129
|
-
|
|
130
|
-
npm test # 110+ tests
|
|
131
|
-
npm run validate:contracts # lenient validator
|
|
132
|
-
npm run validate:contracts:strict # strict validator (skill description-length cap is fatal)
|
|
133
|
-
claude plugin validate . # ground-truth gate
|
|
134
|
-
```
|
|
37
|
+
## Requirements
|
|
135
38
|
|
|
136
|
-
|
|
137
|
-
`
|
|
138
|
-
The tag push triggers `.github/workflows/npm-publish.yml`.
|
|
39
|
+
- Node.js >= 20.12
|
|
40
|
+
- `claude` CLI installed and on `PATH` (this tool shells out to `claude plugin` and `claude mcp`)
|
|
139
41
|
|
|
140
|
-
##
|
|
42
|
+
## License
|
|
141
43
|
|
|
142
|
-
|
|
143
|
-
- `subagent` is serial; `wave` is the parallel execution strategy.
|
|
144
|
-
- Headless usage should favor `claude --bare -p` and explicit `--plugin-dir`,
|
|
145
|
-
`--settings`, and `--mcp-config` wiring.
|
|
44
|
+
MIT
|