@@ -1338,7 +1338,7 @@ def init(
13381338 step_num = 2
13391339
13401340 # Determine skill display mode for the next-steps panel.
1341- # Skills integrations (codex, kimi, agy, trae) should show skill invocation syntax.
1341+ # Skills integrations (codex, kimi, agy, trae, cursor-agent ) should show skill invocation syntax.
13421342 from .integrations .base import SkillsIntegration as _SkillsInt
13431343 _is_skills_integration = isinstance (resolved_integration , _SkillsInt )
13441344
@@ -1347,7 +1347,8 @@ def init(
13471347 kimi_skill_mode = selected_ai == "kimi"
13481348 agy_skill_mode = selected_ai == "agy" and _is_skills_integration
13491349 trae_skill_mode = selected_ai == "trae"
1350- native_skill_mode = codex_skill_mode or claude_skill_mode or kimi_skill_mode or agy_skill_mode or trae_skill_mode
1350+ cursor_agent_skill_mode = selected_ai == "cursor-agent" and (ai_skills or _is_skills_integration )
1351+ native_skill_mode = codex_skill_mode or claude_skill_mode or kimi_skill_mode or agy_skill_mode or trae_skill_mode or cursor_agent_skill_mode
13511352
13521353 if codex_skill_mode and not ai_skills :
13531354 # Integration path installed skills; show the helpful notice
@@ -1356,6 +1357,9 @@ def init(
13561357 if claude_skill_mode and not ai_skills :
13571358 steps_lines .append (f"{ step_num } . Start Claude in this project directory; spec-kit skills were installed to [cyan].claude/skills[/cyan]" )
13581359 step_num += 1
1360+ if cursor_agent_skill_mode and not ai_skills :
1361+ steps_lines .append (f"{ step_num } . Start Cursor Agent in this project directory; spec-kit skills were installed to [cyan].cursor/skills[/cyan]" )
1362+ step_num += 1
13591363 usage_label = "skills" if native_skill_mode else "slash commands"
13601364
13611365 def _display_cmd (name : str ) -> str :
@@ -1365,6 +1369,8 @@ def _display_cmd(name: str) -> str:
13651369 return f"/speckit-{ name } "
13661370 if kimi_skill_mode :
13671371 return f"/skill:speckit-{ name } "
1372+ if cursor_agent_skill_mode :
1373+ return f"/speckit-{ name } "
13681374 return f"/speckit.{ name } "
13691375
13701376 steps_lines .append (f"{ step_num } . Start using { usage_label } with your AI agent:" )
0 commit comments