Skip to content

Conversation

@wrsmith108
Copy link
Owner

Summary

  • Replaced 16 hardcoded ~/.claude/skills/linear/scripts/ paths with relative scripts/ equivalents across 6 files
  • Fixes skill breakage when installed in project-local .claude/skills/linear/ instead of global ~/.claude/skills/linear/
  • Preserved intentional absolute paths in installation instructions, hook configs, and changelog entries

Files Changed

File Changes
SKILL.md 3 script invocation paths
troubleshooting.md 8 script invocation paths
projects.md 1 script invocation path
README.md 2 script invocation paths (kept 4 install/hook paths)
scripts/setup.ts 1 SDK install instruction
hooks/post-edit.sh 1 sync suggestion path

Verification

  • grep ~/.claude/skills/linear/scripts/ returns 0 matches
  • npm run typecheck passes
  • npm run lint passes (0 errors, 11 pre-existing warnings)

Test plan

  • Install skill globally (~/.claude/skills/linear/) and verify commands in SKILL.md work
  • Install skill locally (.claude/skills/linear/) and verify commands work
  • Run npx tsx scripts/setup.ts from skill directory
  • Run npx tsx scripts/query.ts "query { viewer { name } }" from skill directory

Closes #8
Linear: SMI-2424

🤖 Generated with claude-flow

SKILL.md, troubleshooting.md, projects.md, README.md, setup.ts, and
post-edit.sh all contained hardcoded absolute paths assuming installation
at ~/.claude/skills/linear/. This broke project-local installations at
.claude/skills/linear/.

Replaced 16 script invocation paths with relative equivalents. Preserved
intentional absolute paths in installation instructions, hook configs,
and changelog entries.

Closes #8
Linear: SMI-2424

Co-Authored-By: claude-flow <[email protected]>
@wrsmith108 wrsmith108 merged commit 813d047 into main Feb 10, 2026
1 check passed
@github-actions
Copy link

🎉 This PR is included in version 2.2.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@wrsmith108 wrsmith108 deleted the fix/relative-paths branch February 10, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SKILL.md uses hardcoded ~/.claude/skills/linear paths instead of relative paths

1 participant