@supatent/skills 0.2.0 → 0.2.2

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
@@ -9,7 +9,7 @@ Installs AI-powered content authoring skills into your Claude Code environment.
9
9
  ## Quick start
10
10
 
11
11
  ```bash
12
- npx supatent-skills
12
+ npx @supatent/skills
13
13
  ```
14
14
 
15
15
  This copies skill files to `.claude/skills/supatent/` in your project. Then use `/supatent:core` in Claude Code to get started.
@@ -24,12 +24,12 @@ This copies skill files to `.claude/skills/supatent/` in your project. Then use
24
24
 
25
25
  ## Updating
26
26
 
27
- Run `npx supatent-skills` again to update. The installer tracks checksums — files you've manually edited won't be overwritten without confirmation.
27
+ Run `npx @supatent/skills` again to update. The installer tracks checksums — files you've manually edited won't be overwritten without confirmation.
28
28
 
29
29
  Use `--force` to skip confirmation prompts:
30
30
 
31
31
  ```bash
32
- npx supatent-skills --force
32
+ npx @supatent/skills --force
33
33
  ```
34
34
 
35
35
  ## Requirements
package/bin/install.mjs CHANGED
@@ -4,6 +4,7 @@
4
4
  // Copies bundled skill files to .claude/skills/supatent/ with manifest tracking.
5
5
 
6
6
  import { readFile, writeFile, mkdir, copyFile, readdir, stat } from 'node:fs/promises';
7
+ import { realpathSync } from 'node:fs';
7
8
  import { createHash } from 'node:crypto';
8
9
  import { join, dirname, relative, resolve } from 'node:path';
9
10
  import { fileURLToPath } from 'node:url';
@@ -308,7 +309,7 @@ async function main() {
308
309
  // Run main only when executed directly (not when imported for testing)
309
310
  // ---------------------------------------------------------------------------
310
311
 
311
- const isMain = process.argv[1] && resolve(process.argv[1]) === resolve(__filename);
312
+ const isMain = process.argv[1] && realpathSync(resolve(process.argv[1])) === realpathSync(resolve(__filename));
312
313
 
313
314
  if (isMain) {
314
315
  main().catch((err) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supatent/skills",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Claude Code content authoring skills for Supatent CMS",
5
5
  "type": "module",
6
6
  "bin": {