@spardutti/claude-skills 1.23.0 → 1.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -59,6 +59,7 @@ Personal collection of reusable Claude Code **skills**, **slash commands**, and
59
59
  | Skill | Description |
60
60
  |-------|-------------|
61
61
  | `single-responsibility` | Single Responsibility Principle — language-agnostic SRP, file size limits, CQS, separation of concerns, smell tests |
62
+ | `avoid-hasty-abstractions` | AHA / Rule of Three — prefer duplication over the wrong abstraction, boolean-parameter creep, undoing bad extractions |
62
63
 
63
64
  ### Quality
64
65
 
@@ -70,9 +70,9 @@ export async function setupHook(targetDir = process.cwd()) {
70
70
  }
71
71
 
72
72
  // --- UserPromptSubmit hook (forced eval via command) ---
73
- const relativeHookPath = `.claude/hooks/${HOOK_FILENAME}`;
73
+ const hookCommand = `$CLAUDE_PROJECT_DIR/.claude/hooks/${HOOK_FILENAME}`;
74
74
  const promptHookEntry = {
75
- hooks: [{ type: "command", command: relativeHookPath }],
75
+ hooks: [{ type: "command", command: hookCommand }],
76
76
  };
77
77
 
78
78
  if (Array.isArray(settings.hooks.UserPromptSubmit)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spardutti/claude-skills",
3
- "version": "1.23.0",
3
+ "version": "1.24.1",
4
4
  "description": "CLI to install Claude Code skills from the claude-skills collection",
5
5
  "type": "module",
6
6
  "bin": {