spec-kit
spec-kit copied to clipboard
feat: add Trae AI agent support
Summary
This PR integrates the Trae AI agent into the Spec Kit ecosystem. It enables full support across the CLI, context update scripts (Bash/PowerShell), release automation, and documentation.
Changes
🐍 CLI & Configuration
src/specify_cli/__init__.py: AddedtraetoAGENT_CONFIGas a supported IDE-based agent (configured to use.trae/folder).
🛠 Core Scripts
scripts/bash/update-agent-context.sh: Added logic to handle thetraeargument and update context files in.trae/rules/specify-rules.md.scripts/powershell/update-agent-context.ps1: Implemented equivalenttraesupport for Windows users.
📦 Release Automation
create-release-packages.sh(Bash):- Added generation logic for Trae rule files.
- Improved script portability for better macOS compatibility.
create-release-packages.ps1(PowerShell): Updated to generate Trae agent packages alongside other agents.create-github-release.sh: Configured to include Trae artifacts (spec-kit-template-trae-*.zip) in official GitHub releases.
📚 Documentation
AGENTS.md: Documented Trae as a supported agent, including its directory convention (.trae/rules/).README.md: Added Trae to the list of supported AI agents.
Verification
- Verified
specify initlogic via CLI configuration check. - Validated
update-agent-contextscripts on both Bash and PowerShell. - Successfully generated release packages locally for Trae using the updated build scripts.
This pull request has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.