skills 1.5.7 → 1.5.9
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 +8 -2
- package/dist/_chunks/libs/@clack/core.mjs +1 -1
- package/dist/_chunks/libs/@clack/prompts.mjs +1 -1
- package/dist/_chunks/libs/@kwsites/file-exists.mjs +1 -1
- package/dist/_chunks/libs/@vercel/detect-agent.mjs +1 -1
- package/dist/_chunks/libs/simple-git.mjs +2 -2
- package/dist/_chunks/rolldown-runtime.mjs +1 -10
- package/dist/cli.mjs +643 -537
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -342,7 +342,13 @@ metadata:
|
|
|
342
342
|
|
|
343
343
|
### Skill Discovery
|
|
344
344
|
|
|
345
|
-
The CLI searches for skills in these locations within a repository
|
|
345
|
+
The CLI searches for skills in these locations within a repository. Each
|
|
346
|
+
skill container directory is walked one level deep for the common flat
|
|
347
|
+
layout (`skills/<name>/SKILL.md`) and one extra level deep for catalog
|
|
348
|
+
layouts (`skills/<category>/<name>/SKILL.md`). A `SKILL.md` discovered at
|
|
349
|
+
the shallower level shadows anything nested below it. Use `--full-depth`
|
|
350
|
+
to also discover `SKILL.md` files outside these container directories
|
|
351
|
+
(e.g. under `examples/` or `tests/`).
|
|
346
352
|
|
|
347
353
|
<!-- skill-discovery:start -->
|
|
348
354
|
|
|
@@ -410,7 +416,7 @@ If `.claude-plugin/marketplace.json` or `.claude-plugin/plugin.json` exists, ski
|
|
|
410
416
|
}
|
|
411
417
|
```
|
|
412
418
|
|
|
413
|
-
This enables compatibility with the [Claude Code plugin marketplace](https://code.claude.com/docs/en/plugin-marketplaces) ecosystem.
|
|
419
|
+
This enables compatibility with the [Claude Code plugin marketplace](https://code.claude.com/docs/en/plugin-marketplaces) ecosystem. Skill paths declared in a manifest are searched at their declared depth and are not subject to the depth-2 catalog walk described above.
|
|
414
420
|
|
|
415
421
|
If no skills are found in standard locations, a recursive search is performed.
|
|
416
422
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as __toESM, t as __commonJSMin } from "../../rolldown-runtime.mjs";
|
|
2
2
|
import { stdin, stdout } from "node:process";
|
|
3
3
|
import * as g from "node:readline";
|
|
4
4
|
import O from "node:readline";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as __toESM } from "../../rolldown-runtime.mjs";
|
|
2
2
|
import { a as SD, c as fD, d as require_src, i as RD, l as pD, n as LD, o as _D, r as MD, s as dD, t as ID, u as require_picocolors } from "./core.mjs";
|
|
3
3
|
import { stripVTControlCharacters } from "node:util";
|
|
4
4
|
import y from "node:process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __require, t as __commonJSMin } from "../../rolldown-runtime.mjs";
|
|
2
2
|
var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as __toESM } from "../rolldown-runtime.mjs";
|
|
2
2
|
import { n as require_src, t as require_dist } from "./@kwsites/file-exists.mjs";
|
|
3
3
|
import { t as require_dist$1 } from "./@kwsites/promise-deferred.mjs";
|
|
4
|
-
import { spawn } from "child_process";
|
|
5
4
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
5
|
+
import { spawn } from "child_process";
|
|
6
6
|
import { normalize } from "node:path";
|
|
7
7
|
import { EventEmitter } from "node:events";
|
|
8
8
|
var import_dist = require_dist();
|
|
@@ -6,15 +6,6 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
9
|
-
var __exportAll = (all, symbols) => {
|
|
10
|
-
let target = {};
|
|
11
|
-
for (var name in all) __defProp(target, name, {
|
|
12
|
-
get: all[name],
|
|
13
|
-
enumerable: true
|
|
14
|
-
});
|
|
15
|
-
if (symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
-
return target;
|
|
17
|
-
};
|
|
18
9
|
var __copyProps = (to, from, except, desc) => {
|
|
19
10
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
20
11
|
key = keys[i];
|
|
@@ -30,4 +21,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
21
|
enumerable: true
|
|
31
22
|
}) : target, mod));
|
|
32
23
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
33
|
-
export {
|
|
24
|
+
export { __require as n, __toESM as r, __commonJSMin as t };
|