Skip to content

Commit e823483

Browse files
committed
Update document for supported agents
1 parent 3bdd519 commit e823483

6 files changed

+269
-3
lines changed

web/content/docs/2-development-with-ai-devkit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Development with AI DevKit
33
description: Learn how to use AI DevKit commands for structured development workflows
44
slug: development-with-ai-devkit
5-
order: 2
5+
order: 3
66
---
77

88
## Start with `/new-requirement`
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
---
2+
title: Supported AI Agents & Environments
3+
description: Environments supported by AI DevKit
4+
order: 2
5+
---
6+
7+
## Supported Environments
8+
9+
### [Cursor](https://cursor.com/)
10+
**What AI DevKit provides:**
11+
- `AGENTS.md` - Context file with AI agent configurations
12+
- `.cursor/commands/` - Custom slash commands for structured development workflows
13+
- `.cursor/rules/` - Editor rules for consistent coding standards
14+
15+
### [Claude Code](https://www.claude.com/product/claude-code)
16+
**What AI DevKit provides:**
17+
- `AGENTS.md` - Claude workspace configuration and context
18+
- `.claude/commands/` - Command-line tools and scripts optimized for Claude Code
19+
20+
### [GitHub Copilot](https://github.com/features/copilot)
21+
**What AI DevKit provides:**
22+
- `AGENTS.md` - GitHub Copilot configuration and context settings
23+
- `.github/commands/` - GitHub-integrated workflow commands
24+
25+
### [Google Gemini](https://geminicli.com/)
26+
**What AI DevKit provides:**
27+
- `AGENTS.md` - Gemini configuration with multimodal context
28+
- `.gemini/commands/` - Commands optimized for Gemini's capabilities
29+
30+
### [OpenAI Codex](https://chatgpt.com/en-SE/features/codex)
31+
**What AI DevKit provides:**
32+
- `AGENTS.md` - Codex-specific configuration and context
33+
- `.codex/commands/` - Commands tailored for Codex's code-focused capabilities
34+
35+
### [Windsurf](https://windsurf.com/)
36+
**What AI DevKit provides:**
37+
- `AGENTS.md` - Windsurf environment configuration
38+
- `.windsurf/commands/` - Commands optimized for Windsurf's interface
39+
40+
### [KiloCode](https://kilocode.ai/)
41+
**What AI DevKit provides:**
42+
- `AGENTS.md` - KiloCode configuration for large project handling
43+
- `.kilocode/commands/` - Commands designed for large-scale development
44+
45+
### [AMP](https://ampcode.com/)
46+
**What AI DevKit provides:**
47+
- `AGENTS.md` - AMP configuration for accelerated workflows
48+
- `.agents/commands/` - Commands optimized for rapid development cycles
49+
50+
### [OpenCode](https://opencode.ai/)
51+
**What AI DevKit provides:**
52+
- `AGENTS.md` - OpenCode configuration with community features
53+
- `.opencode/commands/` - Commands leveraging open-source AI improvements
54+
55+
### [Roo Code](https://roocode.com/)
56+
**What AI DevKit provides:**
57+
- `AGENTS.md` - Roo Code configuration and context
58+
- `.roo/commands/` - Commands optimized for Roo's advanced features
59+
60+
## Environment Setup
61+
62+
### Interactive Multi-Selection
63+
64+
When you run `ai-devkit init`, you can select multiple environments simultaneously:
65+
66+
```bash
67+
ai-devkit init
68+
```
69+
70+
This presents an interactive checklist where you can:
71+
- Use spacebar to select/deselect environments
72+
- Press Enter to confirm your selections
73+
- Choose any combination of the 10 supported environments
74+
75+
### Configuration Storage
76+
77+
Your selections are stored in `.ai-devkit.json`:
78+
79+
```json
80+
{
81+
"version": "0.4.0",
82+
"environments": ["cursor", "claude", "github"],
83+
"initializedPhases": ["requirements", "design"],
84+
"createdAt": "2025-10-31T...",
85+
"updatedAt": "2025-10-31T..."
86+
}
87+
```
88+
89+
### Re-running Setup
90+
91+
If you want to add more environments later:
92+
93+
```bash
94+
ai-devkit init
95+
```
96+
97+
AI DevKit will:
98+
1. Detect existing environments
99+
2. Show confirmation prompts for overwriting
100+
3. Add new environments alongside existing ones
101+
102+
### Override Protection
103+
104+
When re-running `ai-devkit init`, you'll be prompted before overwriting existing environment configurations:
105+
106+
```
107+
Warning: The following environments are already set up: cursor, claude
108+
109+
Do you want to continue?
110+
```
111+
112+
## Contributing New Environments
113+
114+
AI DevKit welcomes contributions for new AI development environments. To add support for a new environment:
115+
116+
1. **Create Environment Definition**: Add to `src/util/env.ts`
117+
2. **Add Templates**: Create `templates/env/{code}/` directory
118+
3. **Update Documentation**: Add to this guide
119+
4. **Test Integration**: Ensure proper initialization and configuration
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
title: Development with AI DevKit
3+
description: Learn how to use AI DevKit commands for structured development workflows
4+
slug: development-with-ai-devkit
5+
order: 3
6+
---
7+
8+
## Start with `/new-requirement`
9+
10+
The `/new-requirement` command is your entry point for any new feature development. It guides you through a complete development lifecycle:
11+
12+
```bash
13+
# In Cursor or Claude Code
14+
/new-requirement
15+
```
16+
17+
**What happens:**
18+
1. **Requirements Capture** - Define what you're building and why
19+
2. **Design Phase** - Create architecture and technical specifications
20+
3. **Planning** - Break down work into actionable tasks
21+
4. **Implementation** - Step-by-step coding with guidance
22+
5. **Testing** - Generate comprehensive test coverage
23+
6. **Git Workflow** - Structured commits and PR creation
24+
25+
**Generated Documentation:**
26+
- `docs/ai/requirements/feature-{name}.md` - Requirements and user stories
27+
- `docs/ai/design/feature-{name}.md` - Architecture and technical design
28+
- `docs/ai/planning/feature-{name}.md` - Task breakdown and timeline
29+
- `docs/ai/implementation/feature-{name}.md` - Implementation notes
30+
- `docs/ai/testing/feature-{name}.md` - Test strategy and cases
31+
32+
### Refine Your Work
33+
34+
**Review Requirements:**
35+
```bash
36+
/review-requirements
37+
```
38+
Validates completeness and identifies gaps in your requirements.
39+
40+
**Review Design:**
41+
```bash
42+
/review-design
43+
```
44+
Ensures architecture clarity and generates Mermaid diagrams.
45+
46+
**Execute Your Plan:**
47+
```bash
48+
/execute-plan
49+
```
50+
Interactive task execution that:
51+
- Reads your planning document
52+
- Presents tasks in logical order
53+
- Captures progress and notes
54+
- Prompts documentation updates
55+
56+
**Code Review:**
57+
```bash
58+
/code-review
59+
```
60+
Pre-commit review that checks:
61+
- Alignment with design documents
62+
- Logic, security, and performance issues
63+
- Code redundancy and missing tests
64+
- Documentation completeness
65+
66+
**Generate Tests:**
67+
```bash
68+
/writing-test
69+
```
70+
Creates unit and integration tests targeting high coverage.

web/content/docs/3-understand-existing-code-with-ai-devkit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Understanding Existing Code with AI DevKit
33
description: Learn how to analyze and document existing codebases using AI DevKit's capture-knowledge command
4-
order: 3
4+
order: 4
55
---
66

77
## Use `/capture-knowledge` for Code Analysis

web/content/docs/4-debugging-with-ai-devkit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Debugging with AI DevKit
33
description: Learn how to systematically debug issues using AI DevKit's structured debugging workflows
4-
order: 4
4+
order: 5
55
---
66

77
## Use `/debug` for Systematic Problem Solving
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: Understanding Existing Code with AI DevKit
3+
description: Learn how to analyze and document existing codebases using AI DevKit's capture-knowledge command
4+
order: 4
5+
---
6+
7+
## Use `/capture-knowledge` for Code Analysis
8+
9+
When working with existing codebases, the `/capture-knowledge` command helps you understand complex systems by analyzing code from any entry point and generating comprehensive documentation with visual diagrams.
10+
11+
```bash
12+
# In Cursor
13+
/capture-knowledge <entry-point> [options]
14+
15+
# In Claude Code
16+
Use the capture-knowledge command to analyze <entry-point>
17+
```
18+
19+
### Entry Point Types
20+
21+
**Files:**
22+
```bash
23+
/capture-knowledge src/api/users.ts
24+
```
25+
Analyzes a specific file and its dependencies.
26+
27+
**Folders:**
28+
```bash
29+
/capture-knowledge src/services/
30+
```
31+
Analyzes an entire module or directory structure.
32+
33+
**Functions:**
34+
```bash
35+
/capture-knowledge calculateTotalPrice
36+
```
37+
Analyzes a specific function and its call chain.
38+
39+
**API Endpoints:**
40+
```bash
41+
/capture-knowledge POST:/api/users
42+
```
43+
Analyzes complete API request/response flow.
44+
45+
### What You Get
46+
47+
**Detailed Explanations**
48+
- Natural language descriptions of how code works
49+
- Implementation details and design patterns
50+
- Logic flow and component relationships
51+
52+
**Recursive Analysis**
53+
- Automatically traces all dependencies
54+
- Maps complete execution paths
55+
- Identifies external integrations
56+
57+
**Visual Diagrams**
58+
- Flowcharts showing execution paths
59+
- Sequence diagrams for API flows
60+
- Architecture diagrams for modules
61+
- Component relationship maps
62+
63+
**Actionable Insights**
64+
- Performance considerations
65+
- Security implications
66+
- Potential improvements
67+
- Refactoring opportunities
68+
69+
### Use Cases
70+
71+
- **Onboarding** - Help new developers understand complex systems
72+
- **Documentation** - Generate comprehensive system documentation
73+
- **Debugging** - Understand complete execution flows
74+
- **Refactoring** - Get full context before making changes
75+
- **Knowledge Base** - Create searchable documentation
76+
77+
**Output Location:** Analysis is saved to `docs/ai/knowledge/` and can be versioned with your code.

0 commit comments

Comments
 (0)