@ccpluginizer/ccpluginizer 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 ADDED
@@ -0,0 +1,45 @@
1
+ # @ccpluginizer/ccpluginizer
2
+
3
+ > CLI for pluginizing non-plugin Claude Code repos.
4
+
5
+ Generate, validate, and submit [ccpluginizer marketplace](https://github.com/lifebugz/ccpluginizer) entries from any GitHub repo containing Claude Code-compatible content (skills, agents, commands, hooks, MCP servers).
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ bun add -g @ccpluginizer/ccpluginizer
11
+ ```
12
+
13
+ Or run one-shot without installing:
14
+
15
+ ```bash
16
+ bunx @ccpluginizer/ccpluginizer scan <owner/repo>
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ ccpluginizer scan <owner/repo> # Generate a marketplace entry
23
+ ccpluginizer submit <owner/repo> # Open a PR to add the repo to the catalog
24
+ ccpluginizer validate <entry.json> # Validate an entry against the schema
25
+ ```
26
+
27
+ `<owner/repo>` accepts either GitHub shorthand (`elysiajs/skills`) or a full URL (`https://github.com/elysiajs/skills`).
28
+
29
+ ## How it works
30
+
31
+ ccpluginizer detects skills, agents, commands, hooks, and MCP servers in the source repo, then synthesizes a marketplace entry that uses Claude Code's `strict: false` mode to point at the source. Source code is never copied or redistributed.
32
+
33
+ Three detection layers:
34
+
35
+ 1. **Convention paths** — `.claude/skills/`, `.claude/agents/`, `.claude/commands/`, etc.
36
+ 2. **Manifest metadata** — `.claude-plugin/manifest.json` or `.ccpluginizer.json` marker file.
37
+ 3. **Heuristic fallback** — looks for `SKILL.md` files with YAML frontmatter, `commands/*.md`, etc.
38
+
39
+ ## Repository
40
+
41
+ Source, issues, and contribution guide: https://github.com/lifebugz/ccpluginizer
42
+
43
+ ## License
44
+
45
+ MIT
package/bin/ccpluginizer CHANGED
@@ -1,2 +1,11 @@
1
1
  #!/usr/bin/env sh
2
- exec bun "$(dirname "$0")/../dist/index.js" "$@"
2
+ # Resolve symlinks (POSIX-portable; macOS/BSD readlink lacks -f, so iterate).
3
+ script="$0"
4
+ while [ -L "$script" ]; do
5
+ link=$(readlink "$script")
6
+ case "$link" in
7
+ /*) script="$link" ;;
8
+ *) script="$(dirname "$script")/$link" ;;
9
+ esac
10
+ done
11
+ exec bun "$(cd "$(dirname "$script")" && pwd)/../dist/index.js" "$@"
package/package.json CHANGED
@@ -1,16 +1,34 @@
1
1
  {
2
2
  "name": "@ccpluginizer/ccpluginizer",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "CLI for pluginizing non-plugin Claude Code repos",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
+ "homepage": "https://github.com/lifebugz/ccpluginizer#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/lifebugz/ccpluginizer.git",
11
+ "directory": "packages/cli"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/lifebugz/ccpluginizer/issues"
15
+ },
16
+ "keywords": [
17
+ "claude-code",
18
+ "claude",
19
+ "plugin",
20
+ "marketplace",
21
+ "cli",
22
+ "ccpluginizer"
23
+ ],
7
24
  "bin": {
8
25
  "ccpluginizer": "./bin/ccpluginizer"
9
26
  },
10
27
  "main": "./dist/index.js",
11
28
  "files": [
12
29
  "bin",
13
- "dist"
30
+ "dist",
31
+ "README.md"
14
32
  ],
15
33
  "scripts": {
16
34
  "typecheck": "tsc --noEmit",
@@ -32,7 +50,6 @@
32
50
  "@crustjs/plugins": "^0.0.22",
33
51
  "@crustjs/progress": "^0.0.3",
34
52
  "@crustjs/prompts": "^0.0.13",
35
- "@crustjs/store": "^0.0.4",
36
53
  "@crustjs/style": "^0.1.0",
37
54
  "valibot": "^1.3.1"
38
55
  },