skillset 0.1.0-beta.0 → 0.1.0-beta.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
@@ -2,7 +2,7 @@
2
2
 
3
3
  `skillset` compiles portable agent plugin and skill source into target-native Claude and Codex outputs.
4
4
 
5
- It is developed as public source under Outfitter. The package remains marked private for now to prevent accidental npm publication while the compiler contract is still settling.
5
+ It is developed as public source under Outfitter. The npm package is published under the `beta` tag while the compiler contract is still settling; `latest` remains reserved for stable releases.
6
6
 
7
7
  This repo also self-hosts a small `.skillset/` source tree:
8
8
 
@@ -75,7 +75,7 @@ skillset create
75
75
  skillset create team-loadout --name team-loadout --targets claude,codex --yes
76
76
  ```
77
77
 
78
- For a user-global source checkout, `skillset create --global` defaults to `~/.skillset/src`. This is still Skillset-owned source, not a live Claude or Codex runtime directory. The corresponding preview/build area is documented as `~/.skillset/build`, but setup does not create it or write to `~/.claude`, `~/.codex`, or `.agents`. Future package-manager bootstraps such as `npx create-skillset` and `bunx create-skillset` are aliases for the same `create` flow; publication remains deferred while the package is private.
78
+ For a user-global source checkout, `skillset create --global` defaults to `~/.skillset/src`. This is still Skillset-owned source, not a live Claude or Codex runtime directory. The corresponding preview/build area is documented as `~/.skillset/build`, but setup does not create it or write to `~/.claude`, `~/.codex`, or `.agents`. The beta package can be run through package managers with commands such as `npx skillset@beta create` or `bunx skillset@beta create`; setup still routes through the same plan-first `create` flow.
79
79
 
80
80
  Setup commands create only source files: `.skillset/config.yaml`, `.skillset/src/.gitkeep`, and optional `.skillset/instructions/project.md`, `.skillset/src/agents/`, `.skillset/src/claude/`, and `.skillset/src/codex/rules/` placeholders when requested. The generated config uses `compile.targets`; target adapter config still belongs in `claude` and `codex` blocks or root `defaults.<target>.<surface>`.
81
81
 
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { spawnSync } from "node:child_process";
4
+ import { fileURLToPath } from "node:url";
5
+ import { dirname, join } from "node:path";
6
+
7
+ const cliPath = join(dirname(fileURLToPath(import.meta.url)), "..", "src", "cli.ts");
8
+ const result = spawnSync("bun", [cliPath, "create", ...process.argv.slice(2)], { stdio: "inherit" });
9
+
10
+ if (result.error) {
11
+ console.error("create-skillset requires Bun. Install it from https://bun.sh and retry.");
12
+ process.exit(1);
13
+ }
14
+
15
+ process.exit(result.status ?? 1);
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { spawnSync } from "node:child_process";
4
+ import { fileURLToPath } from "node:url";
5
+ import { dirname, join } from "node:path";
6
+
7
+ const cliPath = join(dirname(fileURLToPath(import.meta.url)), "..", "src", "cli.ts");
8
+ const result = spawnSync("bun", [cliPath, ...process.argv.slice(2)], { stdio: "inherit" });
9
+
10
+ if (result.error) {
11
+ console.error("skillset requires Bun. Install it from https://bun.sh and retry.");
12
+ process.exit(1);
13
+ }
14
+
15
+ process.exit(result.status ?? 1);
package/docs/layout.md CHANGED
@@ -105,7 +105,7 @@ This compiler repo uses that same layout for its own source:
105
105
 
106
106
  `skillset create` creates a new source repo, defaulting to `my-skillset` under the current directory. `skillset create --global` defaults the source checkout to `~/.skillset/src`. This global source path and the documented `~/.skillset/build` preview/build area are Skillset-owned locations, not live target runtime directories. Setup does not create or mutate `~/.claude`, `~/.codex`, `.agents`, marketplaces, trust settings, or symlinks.
107
107
 
108
- The generated setup config uses `compile.targets` for provider selection. Target-native adapter settings still belong in `claude` and `codex` blocks, and reusable defaults belong in `defaults.<target>.<surface>` or the target-local `defaults` block. Package-manager bootstraps such as `npx create-skillset` and `bunx create-skillset` are intended to invoke the same `create` flow once publishing exists; this package remains private while the source contract is settling.
108
+ The generated setup config uses `compile.targets` for provider selection. Target-native adapter settings still belong in `claude` and `codex` blocks, and reusable defaults belong in `defaults.<target>.<surface>` or the target-local `defaults` block. The beta package can be run through package managers with commands such as `npx skillset@beta create` or `bunx skillset@beta create`; setup still routes through the same plan-first `create` flow.
109
109
 
110
110
  Provider selection, plugin output roots, and standalone skill output roots can be enabled with defaults or configured from root `.skillset/config.yaml`:
111
111
 
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "skillset",
3
- "version": "0.1.0-beta.0",
3
+ "version": "0.1.0-beta.2",
4
4
  "description": "Source-first compiler for Claude and Codex agent loadouts.",
5
5
  "type": "module",
6
6
  "files": [
7
+ "bin/*.js",
7
8
  "src/*.ts",
8
9
  "docs/",
9
10
  "README.md"
@@ -31,8 +32,8 @@
31
32
  "skills"
32
33
  ],
33
34
  "bin": {
34
- "create-skillset": "./src/cli.ts",
35
- "skillset": "./src/cli.ts"
35
+ "create-skillset": "bin/create-skillset.js",
36
+ "skillset": "bin/skillset.js"
36
37
  },
37
38
  "scripts": {
38
39
  "build": "bun run typecheck",