[Bug] Custom slash command appears duplicated and incorrectly highlighted in command selection menu

Resolved 💬 8 comments Opened Nov 4, 2025 by IrumiDesu7 Closed Nov 15, 2025

Bug Description
i have defined my custom slash command in user-wide setup and name it commit.md. but now everytime i type slash to do anything the custom command always shows up in the first order and often be in active state as if i am selecting it (in blue color text). even when i type for unrelated slash like i type "/usage" the /commit commands shows up twice like this

/commit Analyze changes and create atomic commits by logical unit, not by file. Use type: message format ... (project)
/usage Show plan usage limits and both the commit slash is in blue color which confuse me. but then if  i press enter the usage slash is the one selected tho
/commit Analyze changes and create atomic commits by logical unit, not by file. Use type: message format ... (project)

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.0.32
  • Feedback ID: 8ba03507-ae71-4925-b6c7-63f66b930cce

Errors

[{"error":"Error: 1: 1 \n    at xID (/$bunfs/root/claude:513:3997)\n    at async MID (/$bunfs/root/claude:513:1612)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-03T23:58:56.439Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: vue\n    at Fq (/$bunfs/root/claude:1210:3185)\n    at map (native:1:11)\n    at k3 (/$bunfs/root/claude:1210:2902)\n    at IOB (/$bunfs/root/claude:1749:17060)\n    at tZ (/$bunfs/root/claude:101:19415)\n    at gn (/$bunfs/root/claude:103:42816)\n    at h1 (/$bunfs/root/claude:103:38357)\n    at Kd (/$bunfs/root/claude:103:38285)\n    at WE (/$bunfs/root/claude:103:38139)\n    at sQ (/$bunfs/root/claude:103:35218)","timestamp":"2025-11-04T00:00:04.881Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at Fq (/$bunfs/root/claude:1210:3185)\n    at map (native:1:11)\n    at k3 (/$bunfs/root/claude:1210:2902)\n    at nQB (/$bunfs/root/claude:1730:6593)\n    at tZ (/$bunfs/root/claude:101:19415)\n    at gn (/$bunfs/root/claude:103:42816)\n    at h1 (/$bunfs/root/claude:103:38357)\n    at Kd (/$bunfs/root/claude:103:38285)\n    at WE (/$bunfs/root/claude:103:38139)\n    at sQ (/$bunfs/root/claude:103:35218)","timestamp":"2025-11-04T00:00:17.893Z"}]

<img width="622" height="129" alt="Image" src="https://github.com/user-attachments/assets/e43b3922-7044-4041-85a2-46f645596965" />

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗