Skip to content

Conversation

@glara
Copy link

@glara glara commented Dec 25, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant