commandby mojisejr

Claude Code Slash Commands

This directory contains proper Claude Code slash commands implemented as markdown files that Claude processes and executes.

Installs: 0
Used in: 5 repos
Updated: 2d ago
$npx ai-builder add command mojisejr/README

Installs to .claude/commands/README.md

# Claude Code Slash Commands

This directory contains proper Claude Code slash commands implemented as markdown files that Claude processes and executes.

## šŸŽ‰ Implementation Complete!

All 13 workflow commands from your `=` command system have been successfully converted to proper Claude Code slash commands.

## Available Commands

### Mode Management
- **`/mode`** - Set or show execution mode (manual/copilot/status)

### Context Management
- **`/fcs`** - Create and manage context discussions

### Task Management
- **`/plan`** - Create task GitHub Issues
- **`/impl`** - Implementation workflow
- **`/pr`** - Create Pull Requests

### Knowledge Management (7 commands)
- **`/khub`** - Access Knowledge Hub #102
- **`/kupdate`** - Create knowledge entries
- **`/klink`** - Link knowledge to hub
- **`/ksync`** - Synchronize knowledge hub
- **`/ksearch`** - Search knowledge entries
- **`/krecent`** - Show recent knowledge
- **`/kcategory`** - Browse by category

### Other Commands
- **`/rrr`** - Create daily retrospectives

## Command Structure

Each command markdown file includes:

- **Usage** - Clear syntax and parameters
- **Examples** - Practical usage scenarios
- **Implementation** - Step-by-step execution details
- **Integration** - How commands work together
- **Error Handling** - Common issues and solutions
- **Files** - Related files and dependencies

## Key Features

### āœ… Proper Claude Code Implementation
- Markdown files in `.claude/commands/` directory
- Processed and executed by Claude Code
- Rich documentation and help built-in

### āœ… Enhanced Functionality
- Better error handling with helpful suggestions
- Comprehensive validation of prerequisites
- Progress tracking for multi-step operations
- GitHub CLI integration with error recovery

### āœ… Backward Compatibility
- All original `=` commands still supported
- Existing workflows continue to work
- Gradual migration to slash commands possible

## Usage Examples

### Basic Workflow
```bash
# Set execution mode
/mode manual

# Create context for discussion
/fcs payment-system

# Plan tasks from context
/plan Add Stripe webhook handler

# Implement task
/impl 123

# Create PR
/pr Ready for review
```

### Knowledge Workflow
```bash
# Check existing knowledge (MANDATORY)
/khub

# Create new knowledge entry
/kupdate database "SQLite migration performance fix"

# Link to knowledge hub (auto-prompted)
# y → /klink 124

# Search knowledge
/ksearch "migration performance"
```

## Files

```
.claude/commands/
ā”œā”€ā”€ mode.md         # Mode management
ā”œā”€ā”€ fcs.md          # Context management
ā”œā”€ā”€ plan.md         # Task planning
ā”œā”€ā”€ impl.md         # Implementation workflow
ā”œā”€ā”€ pr.md           # Pull request creation
ā”œā”€ā”€ khub.md         # Knowledge hub access
ā”œā”€ā”€ kupdate.md      # Knowledge creation
ā”œā”€ā”€ klink.md        # Knowledge linking
ā”œā”€ā”€ ksync.md        # Knowledge synchronization
ā”œā”€ā”€ ksearch.md      # Knowledge search
ā”œā”€ā”€ krecent.md      # Recent knowledge
ā”œā”€ā”€ kcategory.md    # Category browsing
ā”œā”€ā”€ rrr.md          # Daily retrospective
└── README.md       # This documentation
```

## Documentation

Updated documentation in:
- `CLAUDE.md` - Main project documentation
- `AGENTS.md` - Agent-specific documentation

Both files now include comprehensive slash command documentation while preserving all original `=` command information for backward compatibility.

## Getting Started

1. **Check current mode**: `/mode status`
2. **Create context**: `/fcs [topic]`
3. **Plan tasks**: `/plan [task description]`
4. **Implement**: `/impl [issue-number]`
5. **Create PR**: `/pr [feedback]`

For knowledge management:
1. **Read hub first**: `/khub`
2. **Create entry**: `/kupdate [category] "[topic]"`
3. **Link to hub**: Auto-prompted or `/klink [issue]`

## Benefits

- **Proper Integration**: Works seamlessly with Claude Code
- **Rich Documentation**: Each command is thoroughly documented
- **Error Handling**: Clear guidance for troubleshooting
- **Validation**: Prevents common mistakes
- **Workflow Enhancement**: Maintains all existing workflow benefits
- **Future-Proof**: Built on Claude Code's standard slash command system

---

**šŸŽ‰ Your workflow system is now fully integrated with Claude Code!**

Quick Install

$npx ai-builder add command mojisejr/README

Details

Type
command
Author
mojisejr
Slug
mojisejr/README
Created
6d ago