Skip to content

Commit bc583bd

Browse files
committed
docs: Update AGENTS.md to include Factory CLI support
- Added Factory CLI to the list of supported agents. - Updated AI_CHOICES and command file formats to reflect Factory CLI integration. - Fixed minor formatting inconsistencies in the documentation.
1 parent de4139d commit bc583bd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

AGENTS.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Specify supports multiple AI agents by generating agent-specific command files a
3838
| **Qwen Code** | `.qwen/commands/` | TOML | `qwen` | Alibaba's Qwen Code CLI |
3939
| **opencode** | `.opencode/command/` | Markdown | `opencode` | opencode CLI |
4040
| **Windsurf** | `.windsurf/workflows/` | Markdown | N/A (IDE-based) | Windsurf IDE workflows |
41+
| **Factory CLI** | `.factory/commands/` | Markdown | `droid` | Factory CLI |
4142

4243
### Step-by-Step Integration Guide
4344

@@ -50,7 +51,7 @@ Add the new agent to the `AI_CHOICES` dictionary in `src/specify_cli/__init__.py
5051
```python
5152
AI_CHOICES = {
5253
"copilot": "GitHub Copilot",
53-
"claude": "Claude Code",
54+
"claude": "Claude Code",
5455
"gemini": "Gemini CLI",
5556
"cursor": "Cursor",
5657
"qwen": "Qwen Code",
@@ -138,7 +139,7 @@ Add to case statement:
138139
case "$AGENT_TYPE" in
139140
# ... existing cases ...
140141
windsurf) update_agent_file "$WINDSURF_FILE" "Windsurf" ;;
141-
"")
142+
"")
142143
# ... existing checks ...
143144
[ -f "$WINDSURF_FILE" ] && update_agent_file "$WINDSURF_FILE" "Windsurf";
144145
# Update default creation condition
@@ -193,10 +194,11 @@ elif selected_ai == "windsurf":
193194
### CLI-Based Agents
194195
Require a command-line tool to be installed:
195196
- **Claude Code**: `claude` CLI
196-
- **Gemini CLI**: `gemini` CLI
197+
- **Gemini CLI**: `gemini` CLI
197198
- **Cursor**: `cursor-agent` CLI
198199
- **Qwen Code**: `qwen` CLI
199200
- **opencode**: `opencode` CLI
201+
- **Factory CLI**: `droid` CLI
200202

201203
### IDE-Based Agents
202204
Work within integrated development environments:
@@ -206,7 +208,7 @@ Work within integrated development environments:
206208
## Command File Formats
207209

208210
### Markdown Format
209-
Used by: Claude, Cursor, opencode, Windsurf
211+
Used by: Claude, Cursor, opencode, Windsurf, Factory CLI
210212

211213
```markdown
212214
---
@@ -269,4 +271,4 @@ When adding new agents:
269271

270272
---
271273

272-
*This documentation should be updated whenever new agents are added to maintain accuracy and completeness.*
274+
*This documentation should be updated whenever new agents are added to maintain accuracy and completeness.*

0 commit comments

Comments
 (0)