🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

devflow-kit

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devflow-kit

Agentic Development Toolkit for Claude Code - Enhance AI-assisted development with intelligent commands and workflows

Source
npmnpm
Version
1.6.1
Version published
Weekly downloads
49
Maintainers
1
Weekly downloads
 
Created
Source

DevFlow

npm version CI License: MIT Node.js 18+ Website

Development workflows for Claude Code — spec, implement, code-review, debug in one command.

DevFlow init demo

Why DevFlow

Claude Code is powerful but workflows are manual — you write ad-hoc prompts, lose context on every restart, and repeat the same review steps across projects.

DevFlow adds structured commands that handle the full lifecycle: specify features, implement with exploration and planning, review with multiple perspectives, and debug with parallel investigation. Session memory persists automatically across restarts and compaction.

Features

  • Structured code review — multiple specialized reviewers (security, architecture, performance, and more)
  • Full-lifecycle implementation — spec, explore, plan, code, validate, refine in one command
  • Automatic session memory — survives restarts, /clear, and context compaction
  • Parallel debugging — competing hypotheses investigated simultaneously
  • 35 quality skills — 9 auto-activating core, 8 optional language/ecosystem, plus specialized review, agent, and orchestration skills

Quick Start

npx devflow-kit init

Then in Claude Code:

/code-review

Commands

PluginCommandDescription
devflow-specify/specifyInteractive feature specification with clarification gates
devflow-implement/implementComplete task lifecycle — explore, plan, code, validate, refine
devflow-code-review/code-reviewMulti-perspective code review with severity classification
devflow-resolve/resolveProcess review issues — fix or defer to tech debt
devflow-debug/debugParallel hypothesis debugging
devflow-self-review/self-reviewSelf-review workflow (Simplifier + Scrutinizer)
devflow-ambient(hook)Ambient mode — intent classification with agent orchestration
devflow-core-skills(auto)Auto-activating quality enforcement skills

Command Details

/specify

Guides you through defining a feature with three mandatory gates:

  • Understanding Gate - Confirm the feature idea is understood
  • Scope Gate - Validate priorities and boundaries
  • Acceptance Gate - Confirm success criteria

Creates a GitHub issue with well-defined requirements ready for /implement.

/implement

Executes a single task through the complete development lifecycle:

  • Exploration — analyze codebase for relevant patterns and dependencies
  • Planning — design the implementation approach
  • Implementation — write code on a feature branch
  • Validation — run build, typecheck, lint, and tests
  • Refinement — simplify and review for quality
  • Alignment Check — verify implementation matches the original request

Creates a PR when complete.

/code-review

Multi-perspective code review with specialized reviewers:

  • Core: Security, Architecture, Performance, Quality
  • Conditional (activated when relevant): TypeScript, React, Accessibility, Go, Python, Java, Rust, Database, Dependencies, Documentation
  • Findings classified as must-fix, should-fix, or nit with severity and confidence levels

Provides actionable feedback with specific file locations and suggested fixes.

/debug

Investigates bugs using competing hypotheses:

  • Hypothesis Generation — identify 3-5 plausible explanations
  • Parallel Investigation — each hypothesis investigated independently
  • Evidence Evaluation — hypotheses ranked by supporting evidence
  • Root Cause — the best-supported explanation with fix recommendation

Produces a root cause analysis report with confidence level.

/resolve

Processes issues from /code-review:

  • Validates each issue is real (not false positive)
  • Assesses risk of fixing (low vs high)
  • Fixes low-risk issues immediately
  • Defers high-risk issues to tech debt backlog

Auto-Activating Skills

The devflow-core-skills plugin provides quality enforcement skills that activate automatically:

SkillTriggers When
core-patternsImplementing business logic, error handling
docs-frameworkCreating documentation artifacts in .docs/
git-safetyRebasing, force-pushing, merge conflicts
git-workflowStaging files, creating commits, PRs
github-patternsGitHub API operations, PR comments, releases
test-driven-developmentImplementing new features (RED-GREEN-REFACTOR)
test-patternsWriting or modifying tests
input-validationCreating API endpoints
search-firstAdding utilities, helpers, or infrastructure code

Language & Ecosystem Plugins

Optional plugins for language-specific patterns. Install only what you need:

PluginSkillTriggers When
devflow-typescripttypescriptWorking in TypeScript codebases
devflow-reactreactWorking with React components
devflow-accessibilityaccessibilityCreating UI components, forms
devflow-frontend-designfrontend-designWorking with CSS, styling
devflow-gogoWorking in Go codebases
devflow-pythonpythonWorking in Python codebases
devflow-javajavaWorking in Java codebases
devflow-rustrustWorking in Rust codebases
# Install specific language plugins
npx devflow-kit init --plugin=typescript,react
npx devflow-kit init --plugin=go

Requirements

Installation

Install All Plugins

npx devflow-kit init

Install Specific Plugins

# List available plugins
npx devflow-kit list

# Install specific plugin(s)
npx devflow-kit init --plugin=implement
npx devflow-kit init --plugin=implement,code-review

Scopes

  • --scope user (default) - Install for all projects (~/.claude/)
  • --scope local - Install for current project only (.claude/)

Working Memory

DevFlow automatically preserves session context across restarts, /clear, and context compaction — zero ceremony required.

Three shell hooks run behind the scenes:

HookWhenWhat
StopAfter each responseUpdates .memory/WORKING-MEMORY.md with current focus, decisions, and progress. Throttled — skips if updated <2 min ago.
SessionStartOn startup, /clear, resume, compactionInjects previous working memory + fresh git state as system context. Warns if memory is >1h stale.
PreCompactBefore context compactionBacks up git state to JSON. Bootstraps a minimal working memory from git if none exists yet.

Working memory is per-project — scoped to each repo's .memory/ directory. Multiple sessions across different repos don't interfere.

Documentation Structure

DevFlow creates project documentation in .docs/ and working memory in .memory/:

.docs/
├── reviews/{branch}/         # Review reports per branch
└── design/                   # Implementation plans

.memory/
├── WORKING-MEMORY.md         # Auto-maintained by Stop hook
├── backup.json               # Pre-compact git state snapshot
└── knowledge/
    ├── decisions.md           # Architectural decisions (ADR-NNN, append-only)
    └── pitfalls.md            # Known pitfalls (area-specific gotchas)

Workflow Examples

Implementing a Feature

/specify     # Define the feature with clarification gates
/implement   # Execute the full lifecycle

Debugging an Issue

/debug "login fails after session timeout"
/debug #42   # Investigate from GitHub issue

Before Creating a PR

/code-review      # Multi-perspective code review
/resolve     # Fix low-risk issues, defer high-risk to backlog

Session Continuity

Session context is saved and restored automatically via Working Memory hooks — no manual steps needed.

CLI Reference

CommandDescription
npx devflow-kit initInstall all plugins
npx devflow-kit init --plugin=<names>Install specific plugin(s)
npx devflow-kit listList available plugins
npx devflow-kit ambient --enableEnable always-on ambient mode
npx devflow-kit ambient --disableDisable ambient mode
npx devflow-kit uninstallRemove DevFlow

Init Options

OptionDescription
--plugin <names>Comma-separated plugin names (e.g., implement,code-review)
--scope <user|local>Installation scope (default: user)
--teams / --no-teamsEnable/disable Agent Teams (experimental, default: off)
--ambient / --no-ambientEnable/disable ambient mode (default: on)
--memory / --no-memoryEnable/disable working memory (default: on)
--verboseShow detailed output

Uninstall Options

OptionDescription
--scope <user|local>Uninstall scope (default: user)
--plugin <names>Comma-separated plugin names to uninstall selectively
--keep-docsPreserve .docs/ directory
--dry-runShow what would be removed without deleting anything
--verboseShow detailed uninstall output

Building from Source

git clone https://github.com/dean0x/devflow.git
cd devflow
npm install
npm run build
node dist/cli.js init

License

MIT

Keywords

claude

FAQs

Package last updated on 20 Mar 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