@makerx/yoke 0.2.0 → 0.3.0
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 +0 -1
- package/dist/cli.js +4 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,6 @@ Claude Code skills for MakerX AI-assisted delivery, and the CLI they call.
|
|
|
4
4
|
|
|
5
5
|
## Principles
|
|
6
6
|
|
|
7
|
-
- **User-invoked.** Skills run only when you type their slash command.
|
|
8
7
|
- **Overridable.** A skill of your own with the same name wins.
|
|
9
8
|
- **Lean.** Few skills, short prompts; the CLI enforces the rules.
|
|
10
9
|
|
package/dist/cli.js
CHANGED
|
@@ -7,7 +7,7 @@ import { Command } from "commander";
|
|
|
7
7
|
// package.json
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "@makerx/yoke",
|
|
10
|
-
version: "0.
|
|
10
|
+
version: "0.3.0",
|
|
11
11
|
description: "Lean, user-invoked Claude Code skills for MakerX AI-assisted delivery, plus the CLI they call.",
|
|
12
12
|
license: "MIT",
|
|
13
13
|
author: "MakerX",
|
|
@@ -259,24 +259,13 @@ import { join } from "path";
|
|
|
259
259
|
// src/skill.ts
|
|
260
260
|
var ownerMarker = 'owner: "@makerx/yoke"';
|
|
261
261
|
function renderSkill({ name, description, body }) {
|
|
262
|
-
return [
|
|
263
|
-
"---",
|
|
264
|
-
`name: ${name}`,
|
|
265
|
-
`description: ${description}`,
|
|
266
|
-
"disable-model-invocation: true",
|
|
267
|
-
"metadata:",
|
|
268
|
-
` ${ownerMarker}`,
|
|
269
|
-
"---",
|
|
270
|
-
"",
|
|
271
|
-
body.trim(),
|
|
272
|
-
""
|
|
273
|
-
].join("\n");
|
|
262
|
+
return ["---", `name: ${name}`, `description: ${description}`, "metadata:", ` ${ownerMarker}`, "---", "", body.trim(), ""].join("\n");
|
|
274
263
|
}
|
|
275
264
|
|
|
276
265
|
// src/features/pr/skill.ts
|
|
277
266
|
var prSkill = {
|
|
278
267
|
name: "pr",
|
|
279
|
-
description: "Raise a PR with a concise What/Why/(How) description",
|
|
268
|
+
description: "Raise a PR with a concise What/Why/(How) description. Use when asked to raise, open or create a pull request, or to rewrite a PR description.",
|
|
280
269
|
body: `
|
|
281
270
|
Run \`yoke pr raise --help\` and follow it exactly. Do not use \`gh pr create\`.
|
|
282
271
|
|
|
@@ -310,7 +299,7 @@ function syncSkills(destination, skills = bundledSkills) {
|
|
|
310
299
|
|
|
311
300
|
// src/cli.ts
|
|
312
301
|
var { version } = package_default;
|
|
313
|
-
var program = new Command("yoke").description("Lean
|
|
302
|
+
var program = new Command("yoke").description("Lean Claude Code skills and the CLI they call.").version(version);
|
|
314
303
|
program.command("sync").description("Write yoke's skills into this repo's .claude/skills, or ~/.claude/skills with --user").option("--user", "write to ~/.claude/skills instead, for every repo").action((options) => {
|
|
315
304
|
const user = options.user ?? false;
|
|
316
305
|
const display = (path) => user ? path : relative(process.cwd(), path);
|