Skip to content

fix(pstack): name Claude Code skills after their folders - #696

Open
CollatzConjecture wants to merge 1 commit into
cursor:mainfrom
CollatzConjecture:fix/pstack-claude-skill-names
Open

CollatzConjecture wants to merge 1 commit into
cursor:mainfrom
CollatzConjecture:fix/pstack-claude-skill-names

Conversation

@CollatzConjecture

@CollatzConjecture CollatzConjecture commented Oct 17, 2026 •

Copy link
Copy Markdown

Summary

Two pstack skills have display names in their frontmatter, Poteto Mode and Make Bot UI. In the Claude Code tree, the SDK uses the frontmatter name in its command list. SDK hosts such as T3 Code therefore offer /pstack:Poteto Mode, which parses as the unknown command /pstack:Poteto with the argument Mode.

The generator now writes each skill's folder name into the Claude Code tree. The Cursor files in pstack/ keep their display names.

 render()
   for each skill
+    set frontmatter `name:` to the skill's folder name
     add the adapter line (21 skills)

The regenerated tree changes only skills/poteto-mode/SKILL.md and skills/make-bot-ui/SKILL.md. The other 52 skills already use their folder names.

Evidence

Each tree was loaded with claude --plugin-dir <tree> on Claude Code 2.1.302, and the command list came from the SDK initialize control response:

  • Before (main): pstack:Poteto Mode, pstack:Make Bot UI. Sending /pstack:Poteto Mode … gets the reply that the command isn't installed.
    After: pstack:poteto-mode, pstack:make-bot-ui. /pstack:poteto-mode loads the skill (# Poteto mode), and /pstack:make-bot-ui loads it too (# How to make a bot UI).
  • node scripts/generate-pstack-harness-trees.mjs --check reports harness/pstack is up to date.

Merge Danger

Door: two-way

Blast Radius: tiny

Only the Claude Code install changes. Cursor reads pstack/ directly, and that folder has no changes. Anyone who typed /pstack:poteto-mode keeps the same command.

🤖 Generated with Claude Code


Note

Low Risk
Scoped to generated Claude Code harness output; Cursor still reads pstack/ unchanged and existing folder-based commands stay the same.

Overview
Fixes broken Claude Code slash commands for skills whose Cursor frontmatter name includes spaces (e.g. Poteto Mode, Make Bot UI).

The pstack harness generator now rewrites every skill’s name: in the Claude Code tree to the skill folder slug (e.g. poteto-mode) before optional adapter-line injection. Source pstack/skills keeps display names; only the generated harness/pstack/claude-code install changes, so hosts expose runnable /pstack:poteto-mode instead of /pstack:Poteto Mode.

Reviewed by Cursor Bugbot for commit fdb6ee5. Bugbot is set up for automated code reviews on this repo. Configure here.

The SDK command list uses each skill's frontmatter `name`, so `Poteto Mode`
and `Make Bot UI` showed up as `/pstack:Poteto Mode` and `/pstack:Make Bot UI`,
which parse as the unknown command `/pstack:Poteto`. The generator now writes
the folder name into the Claude Code tree. Cursor keeps its display names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant