@vibe-agent-toolkit/cli 0.1.32-rc.3 → 0.1.32-rc.5

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.
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Skill-quality checklist footer
3
+ *
4
+ * Shared footer rendered by `vat audit` and `vat skills validate` when at
5
+ * least one skill-level finding is present (warnings or errors against
6
+ * SKILL.md files, or any of the newer quality codes). Suppressed on clean
7
+ * runs so footers don't become ambient advertising.
8
+ */
9
+ import type { createLogger } from './logger.js';
10
+ /**
11
+ * Validation codes that always justify showing the footer when they appear,
12
+ * even if no other skill-level issues fire (they are the quality-checklist
13
+ * items most likely to benefit from the rubric's rationale).
14
+ */
15
+ export declare const SKILL_QUALITY_FOOTER_CODES: ReadonlySet<string>;
16
+ /**
17
+ * Render the footer to stderr when conditions are met.
18
+ *
19
+ * Shown when:
20
+ * - any issue with one of SKILL_QUALITY_FOOTER_CODES fired, OR
21
+ * - `hasSkillFindings` is true (at least one warning or error on a SKILL.md).
22
+ *
23
+ * Idempotent-safe: the caller decides once whether to call this.
24
+ */
25
+ export declare function renderSkillQualityFooter(logger: ReturnType<typeof createLogger>, hasSkillFindings: boolean, emittedCodes: Iterable<string>): void;
26
+ //# sourceMappingURL=skill-quality-footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-quality-footer.d.ts","sourceRoot":"","sources":["../../src/utils/skill-quality-footer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,WAAW,CAAC,MAAM,CAMzD,CAAC;AAIH;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,EACvC,gBAAgB,EAAE,OAAO,EACzB,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,GAC7B,IAAI,CAeN"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Skill-quality checklist footer
3
+ *
4
+ * Shared footer rendered by `vat audit` and `vat skills validate` when at
5
+ * least one skill-level finding is present (warnings or errors against
6
+ * SKILL.md files, or any of the newer quality codes). Suppressed on clean
7
+ * runs so footers don't become ambient advertising.
8
+ */
9
+ /**
10
+ * Validation codes that always justify showing the footer when they appear,
11
+ * even if no other skill-level issues fire (they are the quality-checklist
12
+ * items most likely to benefit from the rubric's rationale).
13
+ */
14
+ export const SKILL_QUALITY_FOOTER_CODES = new Set([
15
+ 'SKILL_DESCRIPTION_OVER_CLAUDE_CODE_LIMIT',
16
+ 'SKILL_DESCRIPTION_FILLER_OPENER',
17
+ 'SKILL_DESCRIPTION_WRONG_PERSON',
18
+ 'SKILL_NAME_MISMATCHES_DIR',
19
+ 'SKILL_TIME_SENSITIVE_CONTENT',
20
+ ]);
21
+ const FOOTER_LINE = `ℹ For the full pre-publication rubric and rationale on each finding, load the 'vat-skill-review' skill (from the vibe-agent-toolkit plugin) or see https://github.com/jdutton/vibe-agent-toolkit/blob/main/packages/vat-development-agents/resources/skills/vat-skill-review.md`;
22
+ /**
23
+ * Render the footer to stderr when conditions are met.
24
+ *
25
+ * Shown when:
26
+ * - any issue with one of SKILL_QUALITY_FOOTER_CODES fired, OR
27
+ * - `hasSkillFindings` is true (at least one warning or error on a SKILL.md).
28
+ *
29
+ * Idempotent-safe: the caller decides once whether to call this.
30
+ */
31
+ export function renderSkillQualityFooter(logger, hasSkillFindings, emittedCodes) {
32
+ const hasNewCode = (() => {
33
+ for (const code of emittedCodes) {
34
+ if (SKILL_QUALITY_FOOTER_CODES.has(code)) {
35
+ return true;
36
+ }
37
+ }
38
+ return false;
39
+ })();
40
+ if (!hasSkillFindings && !hasNewCode) {
41
+ return;
42
+ }
43
+ logger.info(`\n${FOOTER_LINE}`);
44
+ }
45
+ //# sourceMappingURL=skill-quality-footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-quality-footer.js","sourceRoot":"","sources":["../../src/utils/skill-quality-footer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAwB,IAAI,GAAG,CAAC;IACrE,0CAA0C;IAC1C,iCAAiC;IACjC,gCAAgC;IAChC,2BAA2B;IAC3B,8BAA8B;CAC/B,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,iRAAiR,CAAC;AAEtS;;;;;;;;GAQG;AACH,MAAM,UAAU,wBAAwB,CACtC,MAAuC,EACvC,gBAAyB,EACzB,YAA8B;IAE9B,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE;QACvB,KAAK,MAAM,IAAI,IAAI,YAAY,EAAE,CAAC;YAChC,IAAI,0BAA0B,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBACzC,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,EAAE,CAAC;IAEL,IAAI,CAAC,gBAAgB,IAAI,CAAC,UAAU,EAAE,CAAC;QACrC,OAAO;IACT,CAAC;IAED,MAAM,CAAC,IAAI,CAAC,KAAK,WAAW,EAAE,CAAC,CAAC;AAClC,CAAC"}
package/docs/audit.md CHANGED
@@ -276,7 +276,7 @@ Warnings indicate potential issues but don't prevent usage:
276
276
  | `SKILL_MISSING_DESCRIPTION` | error | `description` field missing from frontmatter | Add `description` field |
277
277
  | `SKILL_NAME_INVALID` | error | Name contains invalid characters | Use only letters, numbers, hyphens, underscores |
278
278
  | `SKILL_DESCRIPTION_TOO_LONG` | error | Description exceeds 500 characters | Shorten description |
279
- | `SKILL_NAME_RESERVED_WORD` | error | Name is a reserved word | Choose a different name |
279
+ | `RESERVED_WORD_IN_NAME` | warning | Name contains `anthropic` or `claude`; Claude Code rejects non-certified skills using these words | Rename the skill to avoid these words |
280
280
  | `SKILL_NAME_XML_TAGS` | error | Name contains XML-like tags | Remove XML tags from name |
281
281
  | `SKILL_DESCRIPTION_XML_TAGS` | error | Description contains XML-like tags | Remove XML tags from description |
282
282
  | `SKILL_DESCRIPTION_EMPTY` | error | Description is empty or whitespace | Provide meaningful description |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-agent-toolkit/cli",
3
- "version": "0.1.32-rc.3",
3
+ "version": "0.1.32-rc.5",
4
4
  "description": "Command-line interface for vibe-agent-toolkit",
5
5
  "type": "module",
6
6
  "bin": {
@@ -41,16 +41,16 @@
41
41
  "//dependencies-note": "DO NOT add example agent packages or adopter packages here. Adopter packages (like vat-development-agents) depend on the CLI binary at build time — declaring them as deps creates a circular build dependency. They are built in a second turbo pass via package#task overrides in turbo.json.",
42
42
  "dependencies": {
43
43
  "@anthropic-ai/sdk": "^0.71.2",
44
- "@vibe-agent-toolkit/agent-config": "0.1.32-rc.3",
45
- "@vibe-agent-toolkit/agent-schema": "0.1.32-rc.3",
46
- "@vibe-agent-toolkit/agent-skills": "0.1.32-rc.3",
47
- "@vibe-agent-toolkit/claude-marketplace": "0.1.32-rc.3",
48
- "@vibe-agent-toolkit/discovery": "0.1.32-rc.3",
49
- "@vibe-agent-toolkit/gateway-mcp": "0.1.32-rc.3",
50
- "@vibe-agent-toolkit/rag": "0.1.32-rc.3",
51
- "@vibe-agent-toolkit/rag-lancedb": "0.1.32-rc.3",
52
- "@vibe-agent-toolkit/resources": "0.1.32-rc.3",
53
- "@vibe-agent-toolkit/utils": "0.1.32-rc.3",
44
+ "@vibe-agent-toolkit/agent-config": "0.1.32-rc.5",
45
+ "@vibe-agent-toolkit/agent-schema": "0.1.32-rc.5",
46
+ "@vibe-agent-toolkit/agent-skills": "0.1.32-rc.5",
47
+ "@vibe-agent-toolkit/claude-marketplace": "0.1.32-rc.5",
48
+ "@vibe-agent-toolkit/discovery": "0.1.32-rc.5",
49
+ "@vibe-agent-toolkit/gateway-mcp": "0.1.32-rc.5",
50
+ "@vibe-agent-toolkit/rag": "0.1.32-rc.5",
51
+ "@vibe-agent-toolkit/rag-lancedb": "0.1.32-rc.5",
52
+ "@vibe-agent-toolkit/resources": "0.1.32-rc.5",
53
+ "@vibe-agent-toolkit/utils": "0.1.32-rc.5",
54
54
  "adm-zip": "^0.5.16",
55
55
  "commander": "^12.1.0",
56
56
  "js-yaml": "^4.1.0",