/help lists /tdd ~20 times despite only 2 source files on disk

Resolved 💬 4 comments Opened May 8, 2026 by peter216 Closed May 8, 2026

Description

/help lists the /tdd slash command approximately 20 times with identical descriptions, despite only 2 source files existing on disk: ~/.claude/commands/tdd.md and ~/.claude/skills/tdd/SKILL.md. All duplicate entries show (user) tag, indicating they are being registered from user space.

The duplication appears to be a registration/rendering bug in Claude Code — there are no additional copies of the file on the filesystem.

Steps to reproduce:

  1. Have a tdd.md in ~/.claude/commands/ and a tdd/SKILL.md in ~/.claude/skills/
  2. Open the slash command menu (type /)
  3. Observe /tdd listed ~20 times with description "Remind agent about TDD approach and continue conversation (user)"

Expected: /tdd listed once (or at most twice if both the command and skill register separately).
Actual: /tdd listed approximately 20 times.

System

  • OS: Linux 6.17.0-23-generic x86_64
  • Logged: 2026-05-08T12:29:23-04:00

Context

None

---
Filed from local bugtrack via /filebug. Internal ID: bug-001

View original on GitHub ↗

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