-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat: Trae skills with proactive command invocation + docs alignment #601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughThe changes introduce support for a new AI tool named Trae by adding it to documentation and configuration. Three files are updated: command reference documentation lists Trae's command syntax, supported tools documentation registers Trae as an available tool, and the configuration file adds a Trae entry to the AI_TOOLS array. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile OverviewGreptile SummaryThis PR adds support for Trae as a skill-only AI tool. Trae is configured to generate skills in Key changes:
The implementation follows the existing pattern for tools without command adapters: Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant CLI as openspec init
participant Config as AI_TOOLS Registry
participant Init as Tool Setup
participant FS as File System
participant Adapter as CommandAdapterRegistry
User->>CLI: openspec init --tools trae
CLI->>Config: Lookup 'trae' tool
Config-->>CLI: {name: 'Trae', skillsDir: '.trae'}
CLI->>Init: Generate skills & commands
Init->>FS: Create .trae/skills/openspec-new-change/SKILL.md
Init->>FS: Create .trae/skills/openspec-continue-change/SKILL.md
Init->>FS: Create .trae/skills/openspec-apply-change/SKILL.md
Init->>FS: Create .trae/skills/... (all 10 skills)
Init->>Adapter: get('trae')
Adapter-->>Init: undefined (no adapter)
Note over Init: Commands skipped (skill-only mode)
Init-->>User: ✓ Setup complete for Trae<br/>Skills in .trae/<br/>Commands skipped (no adapter)
Note over User: User invokes skills directly
User->>User: /openspec-new-change
Note over User: Trae reads .trae/skills/openspec-new-change/SKILL.md
|
TabishB
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Man that refactor was so worth it, if it makes it this easy to add in new providers! proactive command invocation sounds super cool!
Review CompleteYour review story is ready! Comment !reviewfast on this PR to re-generate the story. |
Summary
.trae./openspec-new-change,/openspec-apply-change).Changes
.trae/skills.Behavior
openspec init --tools traegenerates.trae/skills/(commands are invoked via skill names in Trae).Verification
.trae/skills/openspec-*present and callable via skill-name commands./openspec-*) consistently.