Skip to content

feat: add Trae AI agent support#1392

Closed
glara wants to merge 2 commits into
github:mainfrom
glara:feat/add-trae-support
Closed

feat: add Trae AI agent support#1392
glara wants to merge 2 commits into
github:mainfrom
glara:feat/add-trae-support

Conversation

@glara

@glara glara commented Dec 25, 2025

Copy link
Copy Markdown

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: Added trae to AGENT_CONFIG as a supported IDE-based agent (configured to use .trae/ folder).

🛠 Core Scripts

  • scripts/bash/update-agent-context.sh: Added logic to handle the trae argument and update context files in .trae/rules/specify-rules.md.
  • scripts/powershell/update-agent-context.ps1: Implemented equivalent trae support 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 init logic via CLI configuration check.
  • Validated update-agent-context scripts on both Bash and PowerShell.
  • Successfully generated release packages locally for Trae using the updated build scripts.

- Add Trae to supported agents in CLI and documentation
- Update release package script to support Trae
- Improve release script portability for MacOS compatibility
@glara glara requested a review from localden as a code owner December 25, 2025 18:36
@github-actions

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added the stale label May 30, 2026
@mnriem

mnriem commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Closing as superseded — Trae is now supported natively (the trae integration shipped via #2038), available with specify init --ai trae. Thank you for the contribution and for helping drive Trae support! 🙏

@mnriem mnriem closed this Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants