Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pezzos/VSClaude

Repository files navigation

VSClaude - Claude Workflow Manager

A Visual Studio Code extension that transforms Claude Code's agile development workflow into an interactive, visual interface directly integrated into your IDE.

Overview

VSClaude creates a visual tree-based interface for managing the complete Claude Code development workflow - from project initialization through epic planning, story management, and task execution. The extension displays real-time project state and enables seamless execution of Claude Code commands from within VS Code, transforming the text-based workflow into an intuitive graphical experience.

Features

Visual Interface

  • πŸ“Š Interactive Tree View: Hierarchical display of projects β†’ epics β†’ stories β†’ tickets in VS Code sidebar
  • 🎯 Real-time State Management: Live tracking of project progress with visual status indicators
  • πŸ”§ One-Click Actions: Execute Claude Code commands directly from tree elements
  • πŸ“‹ Context-Aware Navigation: Right-click menus and double-click file opening
  • πŸ“ˆ Progress Visualization: Completion badges and progress indicators throughout the workflow

Command Integration

  • ⚑ Direct Claude Code Execution: Run commands through integrated VS Code terminal
  • πŸš€ Quick Actions: Command palette integration for rapid workflow navigation
  • πŸ”„ Auto-Refresh: File watchers automatically update tree state on document changes
  • βš™οΈ Configurable Timeouts: Customizable command execution settings

Smart State Detection

  • πŸ“ Project Initialization: Auto-detect uninitialized projects and guide setup
  • πŸ“š Epic Management: Parse and display epics with completion status
  • πŸ“ Story Planning: Priority-based story display with visual priority indicators
  • 🎫 Ticket Tracking: Individual task management with status progression

Visual Workflow Examples

Project Lifecycle in Tree View

πŸ—οΈ My Project (uninitialized)
   └── πŸ”§ Initialize project

// After initialization
πŸ“ My E-commerce Project
   β”œβ”€β”€ πŸ“‹ Import feedback
   β”œβ”€β”€ πŸ” Challenge
   └── πŸ“Š Status

// After epic planning
πŸ“ My E-commerce Project
   β”œβ”€β”€ βœ… Update β†’ [Import] [Challenge] [Enrich] [Status]
   └── πŸ“š Epics
       β”œβ”€β”€ 🎯 Epic #1: Authentication System
       β”‚   └── πŸ”§ Select epic
       β”œβ”€β”€ 🎯 Epic #2: Product Catalog
       β”‚   └── πŸ”§ Select epic
       └── βž• Plan new epics

// Active epic with stories
πŸ“ My E-commerce Project
   └── πŸ“š Epics
       └── 🎯 Epic #1: Authentication System (current)
           β”œβ”€β”€ βœ… Manage β†’ [Complete] [Status]
           └── πŸ“ Stories
               β”œβ”€β”€ πŸ“Œ Story #1: User Registration [P0]
               β”‚   └── πŸ”§ Start story
               β”œβ”€β”€ πŸ“Œ Story #2: Login Flow [P0]
               β”‚   └── πŸ”§ Start story
               └── πŸ“Œ Story #3: Password Reset [P1]
                   └── πŸ”§ Start story

// Active story with tickets
πŸ“ My E-commerce Project
   └── πŸ“š Epics
       └── 🎯 Epic #1: Authentication System
           └── πŸ“ Stories
               └── πŸ“Œ Story #1: User Registration (active)
                   β”œβ”€β”€ βœ… Complete story
                   └── 🎫 Tickets
                       β”œβ”€β”€ βœ“ Create user model
                       β”œβ”€β”€ 🚧 Implement API endpoint
                       β”œβ”€β”€ ⏳ Add validation
                       └── ⏳ Write tests

Visual Status Indicators

Icon Element Type Status/Priority
πŸ—οΈ Project Uninitialized
πŸ“ Project Active/Initialized
πŸ“š Collection Epic collection
🎯 Epic Gray=Planned, Blue=Active, Green=Completed
πŸ“ Collection Story collection
πŸ“Œ Story P0=Red, P1=Orange, P2=Yellow, P3=Gray
🎫 Collection Ticket collection
⏳ Ticket Planned
🚧 Ticket In Progress
βœ“ Ticket Completed
πŸ”§ Action Single action available
βœ… Action Multiple actions available
βž• Action Add/Create new item

Extension Structure

claude-workflow-manager/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ extension.ts                   # Main entry point and activation
β”‚   β”œβ”€β”€ providers/
β”‚   β”‚   β”œβ”€β”€ WorkflowTreeProvider.ts   # Main tree view provider
β”‚   β”‚   └── StateManager.ts          # Project state management
β”‚   β”œβ”€β”€ commands/
β”‚   β”‚   β”œβ”€β”€ CommandExecutor.ts       # Claude command execution (claude -p)
β”‚   β”‚   └── CommandRegistry.ts       # Command mapping and registry
β”‚   β”œβ”€β”€ parsers/
β”‚   β”‚   β”œβ”€β”€ ProjectParser.ts         # Parse EPICS.md and project files
β”‚   β”‚   β”œβ”€β”€ EpicParser.ts           # Parse PRD.md for epic details
β”‚   β”‚   └── StoryParser.ts          # Parse STORIES.md for story planning
β”‚   └── views/
β”‚       β”œβ”€β”€ icons/                   # Custom icons for tree view elements
β”‚       └── themes/                  # Color themes for different states
β”œβ”€β”€ package.json                     # Extension manifest and dependencies
β”œβ”€β”€ README.md                       # User documentation
└── CHANGELOG.md                    # Version history and updates

Key Architecture Components

  • TreeDataProvider: VS Code's native tree view interface implementation
  • State Detection: Real-time monitoring of .md file changes for auto-refresh
  • Terminal Integration: Direct execution of Claude Code commands with visibility
  • File System Watchers: Automatic tree updates on document modifications
  • Context Menus: Right-click actions for workflow element interactions

Advanced Features

Status Bar Integration

  • Current epic/story/ticket displayed in VS Code status bar
  • Click status bar to focus element in tree view
  • Quick navigation without opening tree panel

Command Palette Integration

  • Claude: Next ticket - Auto-select next available ticket
  • Claude: Complete current - Mark current element as completed
  • Claude: Show metrics - Display progress dashboard
  • Claude: Clear context - Reset current workflow context

Smart Notifications

  • Toast notifications for command completion
  • Warning alerts for invalid action attempts
  • Progress bars for long-running operations
  • File change detection and auto-refresh

Configuration Options

{
    "claudeWorkflow.autoRefresh": true,
    "claudeWorkflow.commandTimeout": 60,
    "claudeWorkflow.showCompletedItems": true,
    "claudeWorkflow.githubConfigRepo": "user/claude-config"
}

VS Code Commands Implemented

Command ID Description Shortcut
claude-workflow.initProject Initialize new project -
claude-workflow.refresh Manual tree refresh Ctrl+Shift+R
claude-workflow.executeCommand Execute Claude command -
claude-workflow.showCurrent Show current context Ctrl+Shift+C
claude-workflow.clearContext Clear workflow context -
claude-workflow.nextTicket Select next ticket Ctrl+Shift+N
claude-workflow.completeCurrent Complete current element Ctrl+Shift+X

Installation

Quick Setup

  1. Package the extension: npm run package
  2. Install the generated .vsix file in VS Code
  3. Ensure Claude Code CLI is installed and available in PATH
  4. Extension will guide you through project initialization

Automated Setup Process

  1. Clone configuration repository from GitHub
  2. Install commands in .claude/commands/ directory
  3. Verify Claude CLI availability
  4. Activate extension and initialize project structure

Development

Prerequisites

  • Node.js (v16 or higher)
  • VS Code
  • Claude Code CLI

Setup

cd claude-workflow-manager
npm install
npm run compile

Testing

npm run test

Package Extension

npm run package

Claude Code Workflow

This project follows the Claude Code agile methodology:

  • Epic-Level: start β†’ design β†’ plan
  • Iteration-Level: iterate β†’ ship β†’ clear

Documentation Structure

docs/
β”œβ”€β”€ 1-project/     # Global project vision and roadmap
β”œβ”€β”€ 2-current-epic/ # Current epic execution
β”œβ”€β”€ 3-current-task/ # Current task details
└── archive/       # Completed epics backup

Contributing

  1. Follow the Claude Code agile methodology
  2. Maintain TypeScript strict mode compliance
  3. Ensure comprehensive test coverage
  4. Document all public APIs
  5. Test across platforms (Windows, macOS, Linux)

License

See LICENSE file for details.


For detailed workflow instructions and development standards, refer to CLAUDE.md.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages