Skip to content

Fix glob patterns for sub-directories in /taches-cc-resources:heal-skill #18

@deadcoder0904

Description

@deadcoder0904

I think it supports 1 level down but not 2 level down as I got this error:

 Skill being healed: ss:headline-generator
  Issue discovered: The heal-skill tool's glob pattern doesn't match actual skill locations
  Root cause: The heal-skill tool is configured to search ./skills/*/SKILL.md but your skills are located at .claude/skills/ss/headline-generator/SKILL.md

  ---
  Analysis

  Looking at your skill structure:
  .claude/skills/
  └── ss/
      ├── headline-generator/SKILL.md
      ├── write-blog/SKILL.md
      └── audit-blog/SKILL.md

  The heal-skill tool uses pattern ./skills/*/SKILL.md which doesn't match the actual .claude/skills/ path.

  This is NOT a bug in your skill files. Your skills are correctly structured. The issue is in the heal-skill tool's configuration (glob pattern).

 Resolution Options

  1. The heal-skill tool needs updating - its glob pattern should be .claude/skills/**/SKILL.md instead of ./skills/*/SKILL.md. This is a plugin configuration issue, not a skill issue.
  2. Manual heal-skill invocation - If you need to heal a skill, I can do it manually without the automated tool by directly reading and editing the SKILL.md file.

What I've done differently:

  1. Used a subfolder to call it like you do /taches-cc-resources:heal-skill so I see /ss:headline-generator
  2. Used skills locally instead of globally at ~/.claude
  3. Edited some permissions in settings.local.json (but that shouldn't be an issue)
{
  "permissions": {
    "allow": [
      "Skill(taches-cc-resources:create-agent-skills)",
      "Read(*)",
      "Read(~/.claude/**)",
      "LS(*)",
      "Glob(*)",
      "Grep(*)",
      "TodoWrite(*)",
      "NotebookRead(*)",
      "Bash(grep:*)",
      "Bash(wc:*)",
      "Bash(ls:*)",
      "Bash(tree:*)",
      "WebFetch(domain:*)",
      "WebSearch",
      "Bash(grep:*)",
      "Bash(wc:*)",
      "Bash(ls:*)",
      "Bash(tree:*)",
      "Bash(git clone:*)",
      "Bash(git diff:*)",
      "Bash(bun install)",
      "Bash(bun test)",
      "Bash(bun lint)",
      "Bash(bun format)",
      "Skill(ss:headline-generator)"
    ],
    "defaultMode": "acceptEdits",
    "readOnlyDirectories": ["~/.claude"]
  },
...
...
...
}

I think sub-folders are supported in SKILLS and should be the way forward to separate by topics. Not an issue in small projects but for bigger one that uses multiple topics would need this for separation of concerns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions