@devobsessed/code-captain 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +214 -0
- package/bin/install.js +1048 -0
- package/claude-code/README.md +276 -0
- package/claude-code/agents/code-captain.md +121 -0
- package/claude-code/agents/spec-generator.md +271 -0
- package/claude-code/agents/story-creator.md +309 -0
- package/claude-code/agents/tech-spec.md +440 -0
- package/claude-code/commands/cc-initialize.md +520 -0
- package/copilot/README.md +210 -0
- package/copilot/chatmodes/Code Captain.chatmode.md +60 -0
- package/copilot/docs/best-practices.md +74 -0
- package/copilot/prompts/create-adr.prompt.md +468 -0
- package/copilot/prompts/create-spec.prompt.md +430 -0
- package/copilot/prompts/edit-spec.prompt.md +396 -0
- package/copilot/prompts/execute-task.prompt.md +144 -0
- package/copilot/prompts/explain-code.prompt.md +292 -0
- package/copilot/prompts/initialize.prompt.md +65 -0
- package/copilot/prompts/new-command.prompt.md +310 -0
- package/copilot/prompts/plan-product.prompt.md +450 -0
- package/copilot/prompts/research.prompt.md +329 -0
- package/copilot/prompts/status.prompt.md +424 -0
- package/copilot/prompts/swab.prompt.md +217 -0
- package/cursor/README.md +224 -0
- package/cursor/cc.md +183 -0
- package/cursor/cc.mdc +69 -0
- package/cursor/commands/create-adr.md +504 -0
- package/cursor/commands/create-spec.md +430 -0
- package/cursor/commands/edit-spec.md +405 -0
- package/cursor/commands/execute-task.md +514 -0
- package/cursor/commands/explain-code.md +289 -0
- package/cursor/commands/initialize.md +397 -0
- package/cursor/commands/new-command.md +312 -0
- package/cursor/commands/plan-product.md +466 -0
- package/cursor/commands/research.md +317 -0
- package/cursor/commands/status.md +413 -0
- package/cursor/commands/swab.md +209 -0
- package/cursor/docs/best-practices.md +74 -0
- package/cursor/integrations/azure-devops/create-azure-work-items.md +403 -0
- package/cursor/integrations/azure-devops/sync-azure-work-items.md +486 -0
- package/cursor/integrations/github/create-github-issues.md +765 -0
- package/cursor/integrations/github/scripts/create-issues-batch.sh +272 -0
- package/cursor/integrations/github/sync-github-issues.md +237 -0
- package/cursor/integrations/github/sync.md +305 -0
- package/manifest.json +381 -0
- package/package.json +58 -0
- package/windsurf/README.md +254 -0
- package/windsurf/rules/cc.md +5 -0
- package/windsurf/workflows/create-adr.md +331 -0
- package/windsurf/workflows/create-spec.md +280 -0
- package/windsurf/workflows/edit-spec.md +273 -0
- package/windsurf/workflows/execute-task.md +276 -0
- package/windsurf/workflows/explain-code.md +292 -0
- package/windsurf/workflows/initialize.md +298 -0
- package/windsurf/workflows/new-command.md +321 -0
- package/windsurf/workflows/status.md +213 -0
package/README.md
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
# Code Captain: AI Development Partner
|
|
2
|
+
|
|
3
|
+
> **Your comprehensive AI coding assistant for the complete development lifecycle**
|
|
4
|
+
|
|
5
|
+
Code Captain is an intelligent development workflow system that guides you through requirements gathering, planning, implementation, and project management. Think of it as your senior technical lead who can analyze requirements, design systems, implement features, and coordinate with external project management tools.
|
|
6
|
+
|
|
7
|
+
## 🎯 What is Code Captain?
|
|
8
|
+
|
|
9
|
+
Code Captain transforms how you work with AI development assistants by providing:
|
|
10
|
+
|
|
11
|
+
- **📋 Systematic Workflows** - Structured approaches to common development tasks
|
|
12
|
+
- **🏗️ Complete Lifecycle Coverage** - From requirements to deployment
|
|
13
|
+
- **🔍 Project Management Integration** - GitHub, Azure DevOps, and more
|
|
14
|
+
- **📚 Organized Documentation** - Everything has its place and purpose
|
|
15
|
+
|
|
16
|
+
Instead of ad-hoc AI prompting, Code Captain provides proven workflows for:
|
|
17
|
+
|
|
18
|
+
- **Requirements & Planning** - Specifications, user stories, research, and architectural decisions
|
|
19
|
+
- **Implementation** - Test-driven development with progress tracking
|
|
20
|
+
- **Project Management** - Seamless integration with external tools
|
|
21
|
+
- **Documentation** - Comprehensive, organized outputs
|
|
22
|
+
|
|
23
|
+
## 🚀 Quick Installation
|
|
24
|
+
|
|
25
|
+
**Cross-platform interactive installer:**
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npx @devobsessed/code-captain
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
The installer will:
|
|
32
|
+
- 🔍 Auto-detect your development environment
|
|
33
|
+
- 🎯 Install the appropriate Code Captain integration
|
|
34
|
+
- 📦 Set up the complete workflow system
|
|
35
|
+
- ✅ Configure everything for immediate use
|
|
36
|
+
|
|
37
|
+
**Requirements:** Node.js 16 or higher
|
|
38
|
+
|
|
39
|
+
## 🛠️ Supported Development Environments
|
|
40
|
+
|
|
41
|
+
Code Captain integrates with multiple AI-powered development environments. Choose your platform:
|
|
42
|
+
|
|
43
|
+
### [Cursor IDE](cursor/README.md)
|
|
44
|
+
*AI-first development with built-in agent system*
|
|
45
|
+
- Native `.cursor/rules/` integration
|
|
46
|
+
- Command recognition and auto-completion
|
|
47
|
+
- Seamless workflow execution
|
|
48
|
+
- **→ [Cursor Setup Guide](cursor/README.md)**
|
|
49
|
+
|
|
50
|
+
### [GitHub Copilot + VS Code](copilot/README.md)
|
|
51
|
+
*Classic VS Code with Copilot Chat integration*
|
|
52
|
+
- Custom chat modes and prompts
|
|
53
|
+
- `.github/` repository integration
|
|
54
|
+
- Team collaboration features
|
|
55
|
+
- **→ [Copilot Setup Guide](copilot/README.md)**
|
|
56
|
+
|
|
57
|
+
### [Windsurf](windsurf/README.md)
|
|
58
|
+
*Codeium's AI-powered development environment*
|
|
59
|
+
- Custom workflow integration
|
|
60
|
+
- Built-in AI coordination
|
|
61
|
+
- Advanced context management
|
|
62
|
+
- **→ [Windsurf Setup Guide](windsurf/README.md)**
|
|
63
|
+
|
|
64
|
+
### [Claude.dev](claude-code/README.md)
|
|
65
|
+
*VS Code extension for Claude integration*
|
|
66
|
+
- Direct Claude API integration
|
|
67
|
+
- Custom agent configurations
|
|
68
|
+
- Flexible workflow execution
|
|
69
|
+
- **→ [Claude.dev Setup Guide](claude-code/README.md)**
|
|
70
|
+
|
|
71
|
+
## 🎮 Core Commands (All Platforms)
|
|
72
|
+
|
|
73
|
+
### 📋 Project Setup & Analysis
|
|
74
|
+
- **`initialize`** - Analyze and set up project documentation
|
|
75
|
+
- **`plan-product "idea"`** - Comprehensive product planning
|
|
76
|
+
- **`research "topic"`** - Systematic technical research
|
|
77
|
+
- **`new-command "name" "desc"`** - Extend Code Captain
|
|
78
|
+
|
|
79
|
+
### 📝 Requirements & Planning
|
|
80
|
+
- **`create-spec "feature"`** - Feature specifications with technical details
|
|
81
|
+
- **`edit-spec [id] "changes"`** - Modify existing specifications
|
|
82
|
+
- **`create-adr "decision"`** - Architecture Decision Records with research
|
|
83
|
+
- **`explain-code [target]`** - Code explanations with diagrams
|
|
84
|
+
|
|
85
|
+
### ⚙️ Implementation
|
|
86
|
+
- **`execute-task`** - Test-driven development workflow
|
|
87
|
+
- **`status`** - Comprehensive project status
|
|
88
|
+
- **`swab`** - Small code improvements
|
|
89
|
+
|
|
90
|
+
### 🔗 Platform Integration
|
|
91
|
+
- **`create-github-issues`** - Generate GitHub issues from specs
|
|
92
|
+
- **`sync-github-issues`** - Sync with GitHub project management
|
|
93
|
+
- **`create-azure-work-items`** - Generate Azure DevOps work items
|
|
94
|
+
- **`sync-azure-work-items`** - Sync with Azure DevOps
|
|
95
|
+
|
|
96
|
+
*Command syntax and execution varies by IDE - see platform-specific documentation*
|
|
97
|
+
|
|
98
|
+
## 🔄 Workflow Examples
|
|
99
|
+
|
|
100
|
+
### Feature Development
|
|
101
|
+
```bash
|
|
102
|
+
# 1. Research and plan
|
|
103
|
+
cc: research "WebSocket vs Server-Sent Events"
|
|
104
|
+
cc: create-adr "real-time communication strategy"
|
|
105
|
+
|
|
106
|
+
# 2. Create comprehensive specification
|
|
107
|
+
cc: create-spec "real-time chat system"
|
|
108
|
+
|
|
109
|
+
# 3. Implement with TDD
|
|
110
|
+
cc: execute-task
|
|
111
|
+
|
|
112
|
+
# 4. Integrate with project management
|
|
113
|
+
cc: create-github-issues
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Project Analysis
|
|
117
|
+
```bash
|
|
118
|
+
# Analyze existing codebase
|
|
119
|
+
cc: initialize
|
|
120
|
+
|
|
121
|
+
# Plan new features based on analysis
|
|
122
|
+
cc: plan-product "enhanced user dashboard"
|
|
123
|
+
|
|
124
|
+
# Clean up as you go
|
|
125
|
+
cc: swab
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## 📁 Directory Structure
|
|
129
|
+
|
|
130
|
+
After installation, Code Captain creates an organized workspace:
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
.code-captain/
|
|
134
|
+
├── commands/ # All available commands
|
|
135
|
+
├── docs/ # Generated documentation
|
|
136
|
+
├── research/ # Technical research reports
|
|
137
|
+
├── decision-records/ # Architecture Decision Records
|
|
138
|
+
├── specs/ # Feature specifications
|
|
139
|
+
└── cc.md # Complete reference guide
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Plus IDE-specific integration files in:
|
|
143
|
+
- `.cursor/rules/` (Cursor)
|
|
144
|
+
- `.github/` (Copilot)
|
|
145
|
+
- `.windsurf/` (Windsurf)
|
|
146
|
+
- `.claude/` (Claude.dev)
|
|
147
|
+
|
|
148
|
+
## 🔧 Platform-Specific Setup
|
|
149
|
+
|
|
150
|
+
Each development environment has its own setup process and command syntax:
|
|
151
|
+
|
|
152
|
+
| Platform | Installation Location | Command Format | Documentation |
|
|
153
|
+
|----------|----------------------|----------------|---------------|
|
|
154
|
+
| **Cursor** | `.cursor/rules/` | `cc: command` | [Cursor Guide](cursor/README.md) |
|
|
155
|
+
| **Copilot** | `.github/` | `/command` | [Copilot Guide](copilot/README.md) |
|
|
156
|
+
| **Windsurf** | `.windsurf/` | `/command` | [Windsurf Guide](windsurf/README.md) |
|
|
157
|
+
| **Claude.dev** | `.claude/` | `/command` | [Claude.dev Guide](claude-code/README.md) |
|
|
158
|
+
|
|
159
|
+
## 🚀 Key Advantages
|
|
160
|
+
|
|
161
|
+
### vs. Manual AI Prompting
|
|
162
|
+
- ✅ **Systematic workflows** vs. ad-hoc requests
|
|
163
|
+
- ✅ **Organized documentation** vs. scattered outputs
|
|
164
|
+
- ✅ **Project management integration** vs. isolated interactions
|
|
165
|
+
- ✅ **Progress tracking** vs. manual status management
|
|
166
|
+
|
|
167
|
+
### vs. Traditional Development Tools
|
|
168
|
+
- ✅ **AI-powered planning** vs. manual specification creation
|
|
169
|
+
- ✅ **Integrated TDD workflow** vs. separate testing processes
|
|
170
|
+
- ✅ **Automatic issue creation** vs. manual project management setup
|
|
171
|
+
- ✅ **Comprehensive documentation** vs. minimal or missing docs
|
|
172
|
+
|
|
173
|
+
## 🛠 Development & Customization
|
|
174
|
+
|
|
175
|
+
### Local Development
|
|
176
|
+
```bash
|
|
177
|
+
# Clone and test locally
|
|
178
|
+
git clone https://github.com/devobsessed/code-captain.git
|
|
179
|
+
cd code-captain
|
|
180
|
+
|
|
181
|
+
# Install from local source
|
|
182
|
+
CC_LOCAL_SOURCE=. npx @devobsessed/code-captain
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### Adding Platform Support
|
|
186
|
+
1. Create `platform-name/` directory
|
|
187
|
+
2. Add platform-specific commands and documentation
|
|
188
|
+
3. Update installer platform detection
|
|
189
|
+
4. Create platform-specific README
|
|
190
|
+
|
|
191
|
+
## 🔮 Roadmap
|
|
192
|
+
|
|
193
|
+
- **Additional Platforms** - Neovim, Emacs, JetBrains IDEs
|
|
194
|
+
- **Enhanced Templates** - More workflows and automation
|
|
195
|
+
- **Team Collaboration** - Multi-developer coordination
|
|
196
|
+
- **Enterprise Features** - Organization-wide standards
|
|
197
|
+
|
|
198
|
+
## 🤝 Contributing
|
|
199
|
+
|
|
200
|
+
1. **Fork the repository**
|
|
201
|
+
2. **Choose your platform** - Add support for new IDEs or enhance existing ones
|
|
202
|
+
3. **Follow existing patterns** - Command structure, documentation, installation
|
|
203
|
+
4. **Test thoroughly** - Verify installer and platform integration
|
|
204
|
+
5. **Submit pull request** - Include platform-specific documentation
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
**Transform your development process with intelligent, organized workflows.**
|
|
209
|
+
|
|
210
|
+
**Ready to get started?**
|
|
211
|
+
|
|
212
|
+
1. **Install:** `npx @devobsessed/code-captain`
|
|
213
|
+
2. **Choose your IDE** from the links above
|
|
214
|
+
3. **Begin with:** `cc: initialize`
|