You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add comprehensive Qwen Code integration following existing patterns:
- Add Qwen as fourth AI assistant option in CLI
- Update all documentation to include Qwen CLI references
- Extend GitHub Actions workflow for Qwen template generation
- Add Qwen support to shell scripts and templates
- Maintain backward compatibility with existing assistants
1. Install [uv](https://docs.astral.sh/uv/) for package management
13
13
1. Install [Git](https://git-scm.com/downloads)
14
-
1. Have an AI coding agent available: [Claude Code](https://www.anthropic.com/claude-code), [GitHub Copilot](https://code.visualstudio.com/), or [Gemini CLI](https://github.com/google-gemini/gemini-cli)
14
+
1. Have an AI coding agent available: [Claude Code](https://www.anthropic.com/claude-code), [GitHub Copilot](https://code.visualstudio.com/), [Gemini CLI](https://github.com/google-gemini/gemini-cli), or [Qwen CLI](https://github.com/QwenLM/qwen-code)
@@ -147,11 +147,12 @@ You will be prompted to select the AI agent you are using. You can also proactiv
147
147
specify init <project_name> --ai claude
148
148
specify init <project_name> --ai gemini
149
149
specify init <project_name> --ai copilot
150
+
specify init <project_name> --ai qwen
150
151
# Or in current directory:
151
152
specify init --here --ai claude
152
153
```
153
154
154
-
The CLI will check if you have Claude Codeor Gemini CLI installed. If you do not, or you prefer to get the templates without checking for the right tools, use `--ignore-agent-tools` with your command:
155
+
The CLI will check if you have Claude Code, Gemini CLI, or Qwen CLI installed. If you do not, or you prefer to get the templates without checking for the right tools, use `--ignore-agent-tools` with your command:
155
156
156
157
```bash
157
158
specify init <project_name> --ai claude --ignore-agent-tools
console.print("[red]Error:[/red] Qwen CLI is required for Qwen Code projects")
745
+
agent_tool_missing=True
740
746
# GitHub Copilot check is not needed as it's typically available in supported IDEs
741
747
742
748
ifagent_tool_missing:
@@ -824,6 +830,12 @@ def init(
824
830
steps_lines.append(" - See GEMINI.md for all available commands")
825
831
elifselected_ai=="copilot":
826
832
steps_lines.append(f"{step_num}. Open in Visual Studio Code and use [bold cyan]/specify[/], [bold cyan]/plan[/], [bold cyan]/tasks[/] commands with GitHub Copilot")
833
+
elifselected_ai=="qwen":
834
+
steps_lines.append(f"{step_num}. Use / commands with Qwen CLI")
835
+
steps_lines.append(" - Run qwen /specify to create specifications")
836
+
steps_lines.append(" - Run qwen /plan to create implementation plans")
837
+
steps_lines.append(" - Run qwen /tasks to generate tasks")
838
+
steps_lines.append(" - See QWEN.md for all available commands")
827
839
828
840
step_num+=1
829
841
steps_lines.append(f"{step_num}. Update [bold magenta]CONSTITUTION.md[/bold magenta] with your project's non-negotiable principles")
@@ -856,11 +868,12 @@ def check():
856
868
console.print("\n[cyan]Optional AI tools:[/cyan]")
→ If NEEDS CLARIFICATION remain: ERROR "Resolve unknowns"
19
-
5. Execute Phase 1 → contracts, data-model.md, quickstart.md, agent-specific template file (e.g., `CLAUDE.md` for Claude Code, `.github/copilot-instructions.md` for GitHub Copilot, or `GEMINI.md` for Gemini CLI).
19
+
5. Execute Phase 1 → contracts, data-model.md, quickstart.md, agent-specific template file (e.g., `CLAUDE.md` for Claude Code, `.github/copilot-instructions.md` for GitHub Copilot, `GEMINI.md` for Gemini CLI, or `QWEN.md` for Qwen Code).
20
20
6. Re-evaluate Constitution Check section
21
21
→ If new violations: Refactor design, return to Phase 1
0 commit comments