Problem
The release script .github/workflows/scripts/create-release-packages.sh is not properly including agent template files when creating packages for different AI agents.
Current Issues
- Claude agent: Missing
agent_templates/claude/CLAUDE.md file in package
- Copilot agent: Incorrect directory structure and missing
agent_templates/copilot/copilot-instructions.md file
Expected Behavior
The release script should:
- Copy
agent_templates/claude/CLAUDE.md to CLAUDE.md in the package root for Claude packages
- Copy
agent_templates/copilot/copilot-instructions.md to .github/copilot-instructions.md for Copilot packages
- Ensure all agent context files are properly included in their respective packages
Impact
Without these fixes:
- Claude packages won't include the necessary context file
- Copilot packages will have incorrect structure and missing instructions
- Users won't have proper agent-specific context when using the packages
Proposed Solution
Update the release script to properly handle agent template files:
case $agent in
claude)
mkdir -p "$base_dir/.claude/commands"
generate_commands claude md "\$ARGUMENTS" "$base_dir/.claude/commands" "$script"
[[ -f agent_templates/claude/CLAUDE.md ]] && cp agent_templates/claude/CLAUDE.md "$base_dir/CLAUDE.md" ;;
copilot)
[[ -f agent_templates/copilot/copilot-instructions.md ]] && cp agent_templates/copilot/copilot-instructions.md "$base_dir/.github/copilot-instructions.md" ;;
This ensures that agent-specific context files are properly included in the release packages.
Problem
The release script
.github/workflows/scripts/create-release-packages.shis not properly including agent template files when creating packages for different AI agents.Current Issues
agent_templates/claude/CLAUDE.mdfile in packageagent_templates/copilot/copilot-instructions.mdfileExpected Behavior
The release script should:
agent_templates/claude/CLAUDE.mdtoCLAUDE.mdin the package root for Claude packagesagent_templates/copilot/copilot-instructions.mdto.github/copilot-instructions.mdfor Copilot packagesImpact
Without these fixes:
Proposed Solution
Update the release script to properly handle agent template files:
This ensures that agent-specific context files are properly included in the release packages.