🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@curdx/flow

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@curdx/flow

Interactive installer for Claude Code plugins and MCP servers

latest
Source
npmnpm
Version
7.3.5
Version published
Weekly downloads
333
909.09%
Maintainers
1
Weekly downloads
 
Created
Source

curdx-flow

Spec-driven delivery for Claude Code — turn a single prompt into a reviewable, resumable, verifiable delivery record.

npm version GitHub release License Claude Code

English · 简体中文

curdx-flow overview

/curdx-flow:start reads your repo and your goal, then auto-routes: handle directly · light spec · full spec · resume work · or triage one big ask into linked specs.

Why it exists

Claude Code can write code. Real feature work exposes three failure modes the moment it gets serious:

Without curdx-flowWith curdx-flow
Context rot — chats grow long, the model forgets the original askGoal is pinned to requirements.md. Survives every restart.
Completion hallucination — "it's done" with no command, browser, or CI outputCompletion requires verificationBlocks. No silent passes.
Process mismatch — small edits crushed by ceremony, big features rushed in one shot/start routes: direct · light · full · resume · triage

It isn't another project management system. It's an execution discipline layer for Claude Code.

30-second install

The recommended path — the npm installer first asks for your language (中文 / English), then opens an interactive picker so you can choose the main plugin, companion plugins, and MCP servers yourself; it also syncs the marketplace entry and the managed block in ~/.claude/CLAUDE.md:

npx @curdx/flow install

CI / scripted environments? Skip prompts and install everything:

npx @curdx/flow install --all --yes --lang en

Inside Claude Code:

/curdx-flow:help
/curdx-flow:start todo-app build a todo app with create/edit/complete/delete, browser-verified

You can also install via Claude Code's native commands:

claude plugin marketplace add curdx/curdx-flow
claude plugin install curdx-flow@curdx

Prefer the @curdx/flow installer — it keeps companion plugins and capability descriptors in sync. The native claude plugin install is better for debugging the marketplace or pointing at a local plugin directory.

Workflow

curdx-flow workflow loop

The typical path:

  • Start — identify repo, goal, risk, and any existing specs.
  • Research — gather code facts, official docs, prior context.
  • Requirements — turn the goal into acceptance criteria and boundaries.
  • Design — capture approach, risks, interfaces, verification strategy.
  • Tasks — slice into value-bearing tasks, each with a verify command.
  • Implement — execute task-by-task via native /goal plus specialist agents.
  • Verify — record command / browser / CI / release / npm evidence into verificationBlocks.

Common commands

CommandPurpose
/curdx-flow:start [name] [goal]Recommended entry. Auto-routes, creates, or resumes a spec.
/curdx-flow:new <name> [goal]Force-create a new spec (no auto-resume).
/curdx-flow:requirementsGenerate requirements + acceptance criteria from research/goal.
/curdx-flow:designGenerate technical design from requirements.
/curdx-flow:tasksGenerate executable tasks from design.
/curdx-flow:implementRun the task loop with verification.
/curdx-flow:statusCurrent spec, progress, health, next command.
/curdx-flow:triage [epic] [goal]Decompose a large goal into linked specs with explicit dependencies.
/curdx-flow:prompt-optimize [draft]Refine a prompt + routing suggestion without executing.
/curdx-flow:cancel [name]Stop execution or delete spec state (with confirmation).

Capabilities it coordinates

curdx-flow is a Claude Code plugin, but it also explicitly detects and uses these:

CapabilityTypeHow curdx-flow uses it
puaClaude Code pluginRecovery after repeated failure, parallel planning, Chinese-language skills.
claude-memClaude Code pluginSearch prior decisions, similar tasks, recurring failure modes.
chrome-devtools-mcpClaude Code pluginReal Chrome: DOM, console, network, screenshot evidence.
ui-ux-pro-maxClaude Code pluginDesign judgment and quality checks for visible UI/UX.
context7External MCPCurrent library / framework docs — detected, not bundled.
sequential-thinkingExternal MCPExplicit hypothesis decomposition for high-risk tasks — detected, not bundled.

When one is missing, curdx-flow doctor reports the degraded state and the fix — it won't silently skip critical evidence.

CLI

@curdx/flow ships both an installer and a diagnostic tool:

# Show install state
npx @curdx/flow status

# Install or update plugins / MCP capabilities
npx @curdx/flow install --all --yes
npx @curdx/flow update

# Analyze Claude Code session logs
npx @curdx/flow analyze

# Validate verificationBlocks for the current spec
npx @curdx/flow check

The plugin also exposes a runtime curdx-flow CLI for skills and hooks:

curdx-flow doctor
curdx-flow route --compile --goal "release a Claude Code plugin"
curdx-flow dev detect
curdx-flow dev up
curdx-flow dev health
curdx-flow dev verify
curdx-flow dev down

When to use it

Use it for:

  • Claude Code plugins, CLIs, full-stack apps, frontend pages, backend services, release flows.
  • Work where research → requirements → design → tasks → execution → verification all need to be traceable.
  • Release-grade tasks that need browser, CI, npm / GitHub Release evidence.
  • Tasks that have failed several times and need a recoverable failure trail.

Skip it for:

  • One-off "what does this snippet mean?" questions.
  • Requests where you explicitly want answers without file edits.
  • Zero-risk one-line tweaks — /curdx-flow:start will route those to direct execution or a light spec anyway.

What a spec looks like

By default, specs land under specs/<name>/:

specs/
└── todo-app/
    ├── research.md
    ├── requirements.md
    ├── design.md
    ├── tasks.md
    ├── .curdx-state.json
    └── .progress.md

Ground rules:

  • research.md / requirements.md / design.md / tasks.md are committable context assets.
  • .curdx-state.json is execution state: phase, task index, verificationBlocks, recovery info.
  • .progress.md is runtime progress + learning — usually .gitignore-d.
  • Completion claims must trace back to verificationBlocks — not just to model prose.

Repo structure

src/                       # TypeScript CLI, registry, hooks source
plugins/curdx-flow/        # The Claude Code plugin itself
  .claude-plugin/           # plugin.json
  skills/                   # /curdx-flow:* slash skills
  agents/                   # executor, reviewer, QA, architect, PM, …
  hooks/                    # Claude Code hook configs + generators
  schemas/                  # state, evidence, report schemas
scripts/                   # build, version bump, validation, Claude Code smoke
tests/                     # Vitest tests
_bmad-output/              # committed planning + implementation baselines

Local development

npm ci
npm run build
npm run build:hooks
npm run typecheck
npm run test:hooks

Release-grade validation:

npm run verify
claude plugin validate ./plugins/curdx-flow
CURDX_FLOW_CLAUDE_BIN=claude npm run test:claudecc

After editing anything under src/hooks/** you must run:

npm run build:hooks
npm run check:hooks-fresh
npm run test:hooks

Release rules

Bump version through the script — never by hand:

node scripts/bump-version.mjs patch

A release requires two tags pushed together:

git tag -a vX.Y.Z -m "@curdx/flow X.Y.Z"
git tag -a curdx-flow--vX.Y.Z -m "curdx-flow X.Y.Z"
git push origin main vX.Y.Z curdx-flow--vX.Y.Z
  • vX.Y.Z — triggers the npm publish.
  • curdx-flow--vX.Y.Z — the plugin tag Claude Code's marketplace resolves.
  • Don't push tags until npm run verify, claude plugin validate, and test:claudecc all pass.

Troubleshooting

SymptomFix
/curdx-flow:* not visibleRun claude plugin list; confirm curdx-flow@curdx is installed and enabled.
Plugin dependency missingRe-sync via npx @curdx/flow install curdx-flow --yes.
Chrome DevTools MCP unavailableConfirm chrome-devtools-mcp@chrome-devtools-plugins is installed and local Chrome is present.
Spec stuck mid-execution/curdx-flow:status for the current phase, then resume as advised or /curdx-flow:cancel.
Unsure if release is safenpm run verify && claude plugin validate ./plugins/curdx-flow && CURDX_FLOW_CLAUDE_BIN=claude npm run test:claudecc.

References

License

MIT

Keywords

claude

FAQs

Package last updated on 19 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts