@@ -1312,15 +1312,16 @@ def init(
13121312 step_num = 2
13131313
13141314 # Determine skill display mode for the next-steps panel.
1315- # Skills integrations (codex, kimi, agy) should show skill invocation syntax.
1315+ # Skills integrations (codex, kimi, agy, trae ) should show skill invocation syntax.
13161316 from .integrations .base import SkillsIntegration as _SkillsInt
13171317 _is_skills_integration = isinstance (resolved_integration , _SkillsInt )
13181318
13191319 codex_skill_mode = selected_ai == "codex" and (ai_skills or _is_skills_integration )
13201320 claude_skill_mode = selected_ai == "claude" and (ai_skills or _is_skills_integration )
13211321 kimi_skill_mode = selected_ai == "kimi"
13221322 agy_skill_mode = selected_ai == "agy" and _is_skills_integration
1323- native_skill_mode = codex_skill_mode or claude_skill_mode or kimi_skill_mode or agy_skill_mode
1323+ trae_skill_mode = selected_ai == "trae"
1324+ native_skill_mode = codex_skill_mode or claude_skill_mode or kimi_skill_mode or agy_skill_mode or trae_skill_mode
13241325
13251326 if codex_skill_mode and not ai_skills :
13261327 # Integration path installed skills; show the helpful notice
@@ -1332,7 +1333,7 @@ def init(
13321333 usage_label = "skills" if native_skill_mode else "slash commands"
13331334
13341335 def _display_cmd (name : str ) -> str :
1335- if codex_skill_mode or agy_skill_mode :
1336+ if codex_skill_mode or agy_skill_mode or trae_skill_mode :
13361337 return f"$speckit-{ name } "
13371338 if claude_skill_mode :
13381339 return f"/speckit-{ name } "
0 commit comments