🚀 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
0.3.0
Version published
Weekly downloads
61
-17.57%
Maintainers
1
Weekly downloads
 
Created
Source

DevFlow - Agentic Development Toolkit

A comprehensive collection of Claude Code commands and configurations designed to enhance developer workflows when working with AI coding assistants.

Installation

# Run with npx (recommended - no global install needed)
npx devflow-kit init

That's it! DevFlow is now installed and ready to use in Claude Code.

What's Included

📊 Slash Commands

CommandPurposeWhen to Use
/catch-upSmart summaries for starting new sessions with status validationStarting a session
/research [topic]Comprehensive pre-implementation research and planningBefore implementing features
/devlogDevelopment log for comprehensive session documentationEnding a session
/plan-next-stepsExtract actionable next steps from current discussionAfter planning discussion
/debug [issue]Systematic debugging with issue-specific investigationWhen troubleshooting
/pre-commitReview uncommitted changes using specialized sub-agentsBefore committing
/commitIntelligent atomic commit creation with safety checksWhen ready to commit
/pre-prComprehensive branch review for PR readinessBefore creating PR
/releaseAutomated release workflow with version management and publishingCreating a new release

🤖 Sub-Agents

Sub-AgentSpecialtyPurpose
audit-securitySecurity AnalysisExpert vulnerability detection and security code review
audit-performancePerformanceOptimization and bottleneck detection
audit-architectureArchitectureDesign pattern analysis and code structure review
audit-testsTestingTest quality, coverage, and effectiveness analysis (surgical execution)
audit-complexityComplexityCode complexity and maintainability assessment
audit-dependenciesDependenciesDependency management and security analysis
audit-databaseDatabaseDatabase design and optimization review
audit-documentationDocumentationDocs-code alignment, API accuracy, comment quality
catch-upContext RestorationProject status and context restoration with validation
commitGit OperationsIntelligent commit creation with safety checks
researchImplementation PlanningPre-implementation research, approach analysis, and planning
releaseRelease AutomationProject-agnostic release workflow with version management

How Sub-Agents Work:

  • Specialized AI assistants with deep expertise in specific domains
  • Separate context windows for focused analysis
  • Can be invoked explicitly or automatically by orchestrator commands
  • Restricted tool access appropriate to their domain

Invoking Sub-Agents:

# Explicit invocation
"Use the audit-security sub-agent to analyze this authentication code"

# Automatic delegation (Claude Code decides which sub-agent to use)
"Review this code for security issues"

📊 Smart Statusline

Real-time project context display showing:

  • Current model and session duration
  • Git branch and uncommitted changes indicator
  • Session cost tracking
  • Project context
  • Zero configuration - works immediately after installation

🔒 Security & Token Optimization

DevFlow automatically creates a comprehensive .claudeignore file at your git repository root to:

Protect Sensitive Data:

  • Environment files (.env, .env.*, .envrc)
  • Credentials & keys (*.key, *.pem, SSH keys)
  • Cloud configs (.aws/, .gcp/, .azure/)
  • Package tokens (.npmrc, .pypirc)
  • Database files (*.sql, *.db)

Optimize Token Usage:

  • Dependencies (node_modules/, vendor/, venv/)
  • Build artifacts (dist/, build/, .next/)
  • IDE files (.vscode/, .idea/)
  • Lock files (package-lock.json, yarn.lock)
  • Media and binaries

Covers patterns for all major languages and operating systems.

Development Workflow

Starting a Session

  • /catch-up - Review what was done previously
  • Check statusline for current model, git state, duration
  • Review recommended next actions

During Development

  • /research [topic] - Research implementation approaches before coding
  • /pre-commit - Review changes before committing
  • /commit - Create intelligent atomic commits
  • Invoke audit sub-agents as needed

Ending a Session

  • /devlog - Document decisions and state
  • /pre-pr - Review branch before creating PR
  • /commit - Final commits with validation

Creating a Release

  • /pre-pr - Comprehensive branch review
  • /release - Automated release workflow
    • Detects project type (Node.js, Rust, Python, Go, etc.)
    • Analyzes commits and suggests version bump
    • Generates changelog from git history
    • Builds and tests before publishing
    • Creates git tags and platform releases
  • Verify package in registry

When Things Go Wrong

  • Check git log and recent commits
  • /debug [issue description] - Structured debugging
  • Revert changes using git
  • Document lessons learned

CLI Commands

CommandPurposeOptions
devflow initInitialize DevFlow for Claude Code--skip-docs - Skip creating .docs/ structure
devflow uninstallRemove DevFlow from Claude Code--keep-docs - Keep .docs/ directory

What devflow init does:

  • Installs commands to ~/.claude/commands/devflow/
  • Installs sub-agents to ~/.claude/agents/devflow/
  • Installs scripts to ~/.devflow/scripts/
  • Updates ~/.claude/settings.json (statusline and model)
  • Creates .claudeignore at git repository root
  • Creates .docs/ structure for project documentation

First Run:

devflow init
/devlog      # Document your current project state
/catch-up    # Get oriented with the project

Advanced Usage

Custom Audit Rules

# Extend sub-agents for project-specific patterns
echo "Check for exposed API keys in config files" >> ~/.claude/agents/devflow/audit-security.md

Team Usage

# Share session documentation with team
/devlog
git add .docs/status/
git commit -m "Session status: completed user auth feature"

Integration Examples

/research "add JWT authentication"  # Research before implementing
/pre-commit    # Review uncommitted changes
/commit        # Create atomic commits
/pre-pr        # Branch review before PR
/release       # Automated release workflow
/debug "TypeError in auth module"  # Debug specific issue

Philosophy

Modern development increasingly involves AI agents that can read, write, and modify code autonomously. DevFlow provides:

  • Trust but Verify - Tools to catch AI agent mistakes
  • Context Preservation - Memory across long-term projects
  • Quality Gates - Automated checks for AI changes
  • Developer Empowerment - Enhance human judgment, not replace it

Building from Source

# Clone and build
git clone https://github.com/dean0x/devflow.git
cd devflow
npm install
npm run build

# Test locally
node dist/cli.js init

# Watch mode for development
npm run dev

Project Structure:

src/
├── cli/                   # CLI source code (TypeScript)
│   ├── commands/           # init.ts, uninstall.ts
│   └── cli.ts             # CLI entry point
└── claude/                # Claude Code configuration
    ├── agents/devflow/     # Sub-agent definitions (.md)
    ├── commands/devflow/   # Slash command definitions (.md)
    ├── scripts/            # statusline.sh
    └── settings.json       # Claude Code settings

Support

  • Check installed command documentation
  • Review .docs/status/ for recent sessions
  • Use /debug [issue] for systematic troubleshooting
  • Report issues at https://github.com/dean0x/devflow/issues

License

MIT

Keywords

claude

FAQs

Package last updated on 16 Oct 2025

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