Skip to content

Commit d974323

Browse files
randclaude
andcommitted
fix: Update all skill/command paths to use ~/.claude/skills/
Problem: - /skills command and all gateway skills used relative paths (cat skills/...) - These only worked when run from cc-polymath directory - When run from user projects (e.g., TypeScript monorepo), commands failed with "Skills catalog not found" Root cause: - Claude Code installs plugins to ~/.claude/plugins/marketplaces/ - Skills are made available globally in ~/.claude/skills/ - Commands were reading from current directory instead of global location Solution: - Updated all 100 files to use absolute paths: cat ~/.claude/skills/... - Now /skills command works from ANY directory - Gateway skills and INDEX.md files all reference correct paths Files updated: - 11 command files (commands/discover-*.md, commands/skills.md) - 89 skill files (all SKILL.md, INDEX.md, and individual skills) - 1092 total path replacements Testing: - Commands now work from any directory - Plugin paths resolve correctly - Global catalog at ~/.claude/skills/ is accessible 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3a94e5b commit d974323

100 files changed

Lines changed: 1092 additions & 1092 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

commands/discover-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Load API design skills (REST, GraphQL, auth, rate limiting)
77
Load the API design gateway skill:
88

99
```bash
10-
cat skills/discover-api/SKILL.md
10+
cat ~/.claude/skills/discover-api/SKILL.md
1111
```
1212

1313
This activates skills for:

commands/discover-containers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Load container skills (Docker, Kubernetes, security, optimization)
77
Load the containers gateway skill:
88

99
```bash
10-
cat skills/discover-containers/SKILL.md
10+
cat ~/.claude/skills/discover-containers/SKILL.md
1111
```
1212

1313
This activates skills for:

commands/discover-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Load database skills (PostgreSQL, MongoDB, Redis, optimization)
77
Load the database gateway skill:
88

99
```bash
10-
cat skills/discover-database/SKILL.md
10+
cat ~/.claude/skills/discover-database/SKILL.md
1111
```
1212

1313
This activates skills for:

commands/discover-debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Load debugging skills (GDB, LLDB, profiling, memory analysis)
77
Load the debugging gateway skill:
88

99
```bash
10-
cat skills/discover-debugging/SKILL.md
10+
cat ~/.claude/skills/discover-debugging/SKILL.md
1111
```
1212

1313
This activates skills for:

commands/discover-diagrams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Load diagram skills (Mermaid flowcharts, sequence, ER, architecture
77
Load the diagrams gateway skill:
88

99
```bash
10-
cat skills/discover-diagrams/SKILL.md
10+
cat ~/.claude/skills/discover-diagrams/SKILL.md
1111
```
1212

1313
This activates skills for:

commands/discover-frontend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Load frontend skills (React, Next.js, TypeScript, state management)
77
Load the frontend gateway skill:
88

99
```bash
10-
cat skills/discover-frontend/SKILL.md
10+
cat ~/.claude/skills/discover-frontend/SKILL.md
1111
```
1212

1313
This activates skills for:

commands/discover-infrastructure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Load infrastructure skills (Terraform, IaC, cloud platforms, contai
77
Load the infrastructure gateway skill:
88

99
```bash
10-
cat skills/discover-infrastructure/SKILL.md
10+
cat ~/.claude/skills/discover-infrastructure/SKILL.md
1111
```
1212

1313
This activates skills for:

commands/discover-ml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Load ML/AI skills (DSPy, training, RAG, embeddings, evaluation)
77
Load the ML/AI gateway skill:
88

99
```bash
10-
cat skills/discover-ml/SKILL.md
10+
cat ~/.claude/skills/discover-ml/SKILL.md
1111
```
1212

1313
This activates skills for:

commands/discover-mobile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Load mobile development skills (iOS, Swift, SwiftUI, React Native)
77
Load the mobile development gateway skill:
88

99
```bash
10-
cat skills/discover-mobile/SKILL.md
10+
cat ~/.claude/skills/discover-mobile/SKILL.md
1111
```
1212

1313
This activates skills for:

commands/discover-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Load testing skills (unit, integration, e2e, TDD, coverage)
77
Load the testing gateway skill:
88

99
```bash
10-
cat skills/discover-testing/SKILL.md
10+
cat ~/.claude/skills/discover-testing/SKILL.md
1111
```
1212

1313
This activates skills for:

0 commit comments

Comments
 (0)