Skip to content

Commit bb61ef0

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 536a4c9 + 8bd155b commit bb61ef0

File tree

6 files changed

+45
-33
lines changed

6 files changed

+45
-33
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -81,23 +81,25 @@ jobs:
8181
cat > release_notes.md << EOF
8282
Template release ${{ steps.get_tag.outputs.new_version }}
8383
84-
Updated specification-driven development templates for GitHub Copilot, Claude Code, Gemini CLI, Cursor, opencode, and Auggie CLI.
84+
Updated specification-driven development templates for GitHub Copilot, Claude Code, Gemini CLI, Cursor, Qwen, opencode, and Auggie CLI.
8585
86-
Now includes per-script variants for POSIX shell (sh) and PowerShell (ps).
86+
Now includes per-script variants for POSIX shell (sh) and PowerShell (ps).
8787
88-
Download the template for your preferred AI assistant + script type:
89-
- spec-kit-template-copilot-sh-${{ steps.get_tag.outputs.new_version }}.zip
90-
- spec-kit-template-copilot-ps-${{ steps.get_tag.outputs.new_version }}.zip
91-
- spec-kit-template-claude-sh-${{ steps.get_tag.outputs.new_version }}.zip
92-
- spec-kit-template-claude-ps-${{ steps.get_tag.outputs.new_version }}.zip
93-
- spec-kit-template-gemini-sh-${{ steps.get_tag.outputs.new_version }}.zip
94-
- spec-kit-template-gemini-ps-${{ steps.get_tag.outputs.new_version }}.zip
95-
- spec-kit-template-cursor-sh-${{ steps.get_tag.outputs.new_version }}.zip
96-
- spec-kit-template-cursor-ps-${{ steps.get_tag.outputs.new_version }}.zip
97-
- spec-kit-template-opencode-sh-${{ steps.get_tag.outputs.new_version }}.zip
98-
- spec-kit-template-opencode-ps-${{ steps.get_tag.outputs.new_version }}.zip
99-
- spec-kit-template-auggie-sh-${{ steps.get_tag.outputs.new_version }}.zip
100-
- spec-kit-template-auggie-ps-${{ steps.get_tag.outputs.new_version }}.zip
88+
Download the template for your preferred AI assistant + script type:
89+
- spec-kit-template-copilot-sh-${{ steps.get_tag.outputs.new_version }}.zip
90+
- spec-kit-template-copilot-ps-${{ steps.get_tag.outputs.new_version }}.zip
91+
- spec-kit-template-claude-sh-${{ steps.get_tag.outputs.new_version }}.zip
92+
- spec-kit-template-claude-ps-${{ steps.get_tag.outputs.new_version }}.zip
93+
- spec-kit-template-gemini-sh-${{ steps.get_tag.outputs.new_version }}.zip
94+
- spec-kit-template-gemini-ps-${{ steps.get_tag.outputs.new_version }}.zip
95+
- spec-kit-template-cursor-sh-${{ steps.get_tag.outputs.new_version }}.zip
96+
- spec-kit-template-cursor-ps-${{ steps.get_tag.outputs.new_version }}.zip
97+
- spec-kit-template-opencode-sh-${{ steps.get_tag.outputs.new_version }}.zip
98+
- spec-kit-template-opencode-ps-${{ steps.get_tag.outputs.new_version }}.zip
99+
- spec-kit-template-qwen-sh-${{ steps.get_tag.outputs.new_version }}.zip
100+
- spec-kit-template-qwen-ps-${{ steps.get_tag.outputs.new_version }}.zip
101+
- spec-kit-template-auggie-sh-${{ steps.get_tag.outputs.new_version }}.zip
102+
- spec-kit-template-auggie-ps-${{ steps.get_tag.outputs.new_version }}.zip
101103
EOF
102104
103105
echo "Generated release notes:"
@@ -120,6 +122,8 @@ jobs:
120122
spec-kit-template-cursor-ps-${{ steps.get_tag.outputs.new_version }}.zip \
121123
spec-kit-template-opencode-sh-${{ steps.get_tag.outputs.new_version }}.zip \
122124
spec-kit-template-opencode-ps-${{ steps.get_tag.outputs.new_version }}.zip \
125+
spec-kit-template-qwen-sh-${{ steps.get_tag.outputs.new_version }}.zip \
126+
spec-kit-template-qwen-ps-${{ steps.get_tag.outputs.new_version }}.zip \
123127
spec-kit-template-auggie-sh-${{ steps.get_tag.outputs.new_version }}.zip \
124128
spec-kit-template-auggie-ps-${{ steps.get_tag.outputs.new_version }}.zip \
125129
--title "Spec Kit Templates - $VERSION_NO_V" \

.github/workflows/scripts/create-release-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -euo pipefail
66
# Usage: .github/workflows/scripts/create-release-packages.sh <version>
77
# Version argument should include leading 'v'.
88
# Optionally set AGENTS and/or SCRIPTS env vars to limit what gets built.
9-
# AGENTS : space or comma separated subset of: claude gemini copilot opencode auggie (default: all)
9+
# AGENTS : space or comma separated subset of: claude gemini copilot qwen opencode auggie (default: all)
1010
# SCRIPTS : space or comma separated subset of: sh ps (default: both)
1111
# Examples:
1212
# AGENTS=claude SCRIPTS=sh $0 v0.2.0

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Here are a few things you can do that will increase the likelihood of your pull
3131

3232
- Follow the project's coding conventions.
3333
- Write tests for new functionality.
34-
- Update documentation (`README.md,` `spec-driven.md`) if your changes affect user-facing features.
34+
- Update documentation (`README.md`, `spec-driven.md`) if your changes affect user-facing features.
3535
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
3636
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
3737
- Test your changes with the Spec-Driven Development workflow to ensure compatibility.

scripts/bash/update-agent-context.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ REPO_ROOT=$(git rev-parse --show-toplevel)
44
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
55
FEATURE_DIR="$REPO_ROOT/specs/$CURRENT_BRANCH"
66
NEW_PLAN="$FEATURE_DIR/plan.md"
7-
CLAUDE_FILE="$REPO_ROOT/CLAUDE.md"; GEMINI_FILE="$REPO_ROOT/GEMINI.md"; COPILOT_FILE="$REPO_ROOT/.github/copilot-instructions.md"; CURSOR_FILE="$REPO_ROOT/.cursor/rules/specify-rules.mdc"; AGENTS_FILE="$REPO_ROOT/AGENTS.md"; AUGGIE_FILE="$REPO_ROOT/.augment/rules/specify-rules.md"
7+
CLAUDE_FILE="$REPO_ROOT/CLAUDE.md"; GEMINI_FILE="$REPO_ROOT/GEMINI.md"; COPILOT_FILE="$REPO_ROOT/.github/copilot-instructions.md"; CURSOR_FILE="$REPO_ROOT/.cursor/rules/specify-rules.mdc"; QWEN_FILE="$REPO_ROOT/QWEN.md"; AGENTS_FILE="$REPO_ROOT/AGENTS.md"; AUGGIE_FILE="$REPO_ROOT/.augment/rules/specify-rules.md"
88
AGENT_TYPE="$1"
99
[ -f "$NEW_PLAN" ] || { echo "ERROR: No plan.md found at $NEW_PLAN"; exit 1; }
1010
echo "=== Updating agent context files for feature $CURRENT_BRANCH ==="
@@ -52,14 +52,17 @@ case "$AGENT_TYPE" in
5252
gemini) update_agent_file "$GEMINI_FILE" "Gemini CLI" ;;
5353
copilot) update_agent_file "$COPILOT_FILE" "GitHub Copilot" ;;
5454
cursor) update_agent_file "$CURSOR_FILE" "Cursor IDE" ;;
55+
qwen) update_agent_file "$QWEN_FILE" "Qwen Code" ;;
5556
opencode) update_agent_file "$AGENTS_FILE" "opencode" ;;
5657
auggie) update_agent_file "$AUGGIE_FILE" "Auggie CLI" ;;
5758
"") [ -f "$CLAUDE_FILE" ] && update_agent_file "$CLAUDE_FILE" "Claude Code"; \
5859
[ -f "$GEMINI_FILE" ] && update_agent_file "$GEMINI_FILE" "Gemini CLI"; \
5960
[ -f "$COPILOT_FILE" ] && update_agent_file "$COPILOT_FILE" "GitHub Copilot"; \
6061
[ -f "$CURSOR_FILE" ] && update_agent_file "$CURSOR_FILE" "Cursor IDE"; \
62+
[ -f "$QWEN_FILE" ] && update_agent_file "$QWEN_FILE" "Qwen Code"; \
6163
[ -f "$AGENTS_FILE" ] && update_agent_file "$AGENTS_FILE" "opencode"; \
6264
[ -f "$AUGGIE_FILE" ] && update_agent_file "$AUGGIE_FILE" "Auggie CLI"; \
63-
if [ ! -f "$CLAUDE_FILE" ] && [ ! -f "$GEMINI_FILE" ] && [ ! -f "$COPILOT_FILE" ] && [ ! -f "$CURSOR_FILE" ] && [ ! -f "$AGENTS_FILE" ] && [ ! -f "$AUGGIE_FILE" ]; then update_agent_file "$CLAUDE_FILE" "Claude Code"; fi ;;
64-
*) echo "ERROR: Unknown agent type '$AGENT_TYPE' (expected claude|gemini|copilot|cursor|opencode|auggie)"; exit 1 ;;
65-
echo; echo "Summary of changes:"; [ -n "$NEW_LANG" ] && echo "- Added language: $NEW_LANG"; [ -n "$NEW_FRAMEWORK" ] && echo "- Added framework: $NEW_FRAMEWORK"; [ -n "$NEW_DB" ] && [ "$NEW_DB" != "N/A" ] && echo "- Added database: $NEW_DB"; echo; echo "Usage: $0 [claude|gemini|copilot|cursor|opencode|auggie]"
65+
if [ ! -f "$CLAUDE_FILE" ] && [ ! -f "$GEMINI_FILE" ] && [ ! -f "$COPILOT_FILE" ] && [ ! -f "$CURSOR_FILE" ] && [ ! -f "$QWEN_FILE" ] && [ ! -f "$AGENTS_FILE" ] && [ ! -f "$AUGGIE_FILE" ]; then update_agent_file "$CLAUDE_FILE" "Claude Code"; fi ;;
66+
*) echo "ERROR: Unknown agent type '$AGENT_TYPE' (expected claude|gemini|copilot|cursor|qwen|opencode|auggie)"; exit 1 ;;
67+
esac
68+
echo; echo "Summary of changes:"; [ -n "$NEW_LANG" ] && echo "- Added language: $NEW_LANG"; [ -n "$NEW_FRAMEWORK" ] && echo "- Added framework: $NEW_FRAMEWORK"; [ -n "$NEW_DB" ] && [ "$NEW_DB" != "N/A" ] && echo "- Added database: $NEW_DB"; echo; echo "Usage: $0 [claude|gemini|copilot|cursor|qwen|opencode|auggie]"

scripts/powershell/update-agent-context.ps1

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $claudeFile = Join-Path $repoRoot 'CLAUDE.md'
1313
$geminiFile = Join-Path $repoRoot 'GEMINI.md'
1414
$copilotFile = Join-Path $repoRoot '.github/copilot-instructions.md'
1515
$cursorFile = Join-Path $repoRoot '.cursor/rules/specify-rules.mdc'
16+
$qwenFile = Join-Path $repoRoot 'QWEN.md'
1617
$agentsFile = Join-Path $repoRoot 'AGENTS.md'
1718
$auggieFile = Join-Path $repoRoot '.augment/rules/specify-rules.md'
1819

@@ -73,24 +74,28 @@ switch ($AgentType) {
7374
'gemini' { Update-AgentFile $geminiFile 'Gemini CLI' }
7475
'copilot' { Update-AgentFile $copilotFile 'GitHub Copilot' }
7576
'cursor' { Update-AgentFile $cursorFile 'Cursor IDE' }
77+
'qwen' { Update-AgentFile $qwenFile 'Qwen Code' }
7678
'opencode' { Update-AgentFile $agentsFile 'opencode' }
7779
'auggie' { Update-AgentFile $auggieFile 'Auggie CLI' }
7880
'' {
7981
foreach ($pair in @(
8082
@{file=$claudeFile; name='Claude Code'},
8183
@{file=$geminiFile; name='Gemini CLI'},
8284
@{file=$copilotFile; name='GitHub Copilot'},
83-
@{file=$cursorFile; name='Cursor IDE'}
84-
@{file=$agentsFile; name='opencode'}
85+
@{file=$cursorFile; name='Cursor IDE'},
86+
@{file=$qwenFile; name='Qwen Code'},
87+
@{file=$agentsFile; name='opencode'},
88+
@{file=$auggieFile; name='Auggie CLI'}
8589
)) {
8690
if (Test-Path $pair.file) { Update-AgentFile $pair.file $pair.name }
8791
}
88-
if (-not (Test-Path $claudeFile) -and -not (Test-Path $geminiFile) -and -not (Test-Path $copilotFile) -and -not (Test-Path $cursorFile) -and -not (Test-Path $agentsFile) -and -not (Test-Path $auggieFile)) {
92+
93+
if (-not (Test-Path $claudeFile) -and -not (Test-Path $geminiFile) -and -not (Test-Path $copilotFile) -and -not (Test-Path $cursorFile) -and -not (Test-Path $qwenFile) -and -not (Test-Path $agentsFile) -and -not (Test-Path $auggieFile)) {
8994
Write-Output 'No agent context files found. Creating Claude Code context file by default.'
9095
Update-AgentFile $claudeFile 'Claude Code'
9196
}
9297
}
93-
Default { Write-Error "ERROR: Unknown agent type '$AgentType'. Use: claude, gemini, copilot, cursor, opencode, auggie or leave empty for all."; exit 1 }
98+
Default { Write-Error "ERROR: Unknown agent type '$AgentType'. Use: claude, gemini, copilot, cursor, qwen, opencode, auggie or leave empty for all."; exit 1 }
9499
}
95100

96101
Write-Output ''
@@ -100,4 +105,4 @@ if ($newFramework) { Write-Output "- Added framework: $newFramework" }
100105
if ($newDb -and $newDb -ne 'N/A') { Write-Output "- Added database: $newDb" }
101106

102107
Write-Output ''
103-
Write-Output 'Usage: ./update-agent-context.ps1 [claude|gemini|copilot|cursor|opencode|auggie]'
108+
Write-Output 'Usage: ./update-agent-context.ps1 [claude|gemini|copilot|cursor|qwen|opencode|auggie]'

0 commit comments

Comments
 (0)