skillmds 1.0.12 → 1.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillmds",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "SkillMD for agents: the `skillmds` MCP server + the `skillmd` CLI (lint, scan, search, install, publish Agent Skills) from skillmd.com.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -24,11 +24,22 @@
24
24
  "llm"
25
25
  ],
26
26
  "homepage": "https://skillmd.com",
27
- "bugs": { "url": "https://skillmd.com/contact" },
27
+ "bugs": {
28
+ "url": "https://skillmd.com/contact"
29
+ },
28
30
  "author": "SkillMD",
29
31
  "license": "MIT",
30
- "files": ["bin", "dist", "vendor", "assets", "README.md", "CHANGELOG.md"],
31
- "engines": { "node": ">=18" },
32
+ "files": [
33
+ "bin",
34
+ "dist",
35
+ "vendor",
36
+ "assets",
37
+ "README.md",
38
+ "CHANGELOG.md"
39
+ ],
40
+ "engines": {
41
+ "node": ">=18"
42
+ },
32
43
  "dependencies": {
33
44
  "@clack/prompts": "^0.8.0",
34
45
  "@modelcontextprotocol/sdk": "^1.13.0",
package/vendor/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // ../../packages/core/src/parse.ts
2
2
  import { parse as parseYaml } from "yaml";
3
3
  var MAX_SKILL_BYTES = 256 * 1024;
4
- var MAX_DESCRIPTION = 500;
4
+ var MAX_DESCRIPTION = 1024;
5
5
  var MAX_NAME = 120;
6
6
  var slugify = (s) => String(s).toLowerCase().trim().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 60) || "skill";
7
7
  function parseSkillMd(raw, type = "single") {
@@ -18,7 +18,7 @@ function parseSkillMd(raw, type = "single") {
18
18
  const description = String(fm.description ?? "").replace(/\s+/g, " ").trim();
19
19
  if (!name) return { error: "frontmatter 'name' is required" };
20
20
  if (!description) return { error: "frontmatter 'description' is required" };
21
- if (description.length > MAX_DESCRIPTION) return { error: "description must be <= 500 chars" };
21
+ if (description.length > MAX_DESCRIPTION) return { error: `description must be <= ${MAX_DESCRIPTION} chars` };
22
22
  return {
23
23
  name: name.slice(0, MAX_NAME),
24
24
  description: description.slice(0, MAX_DESCRIPTION),
@@ -98,7 +98,7 @@ var RULES2 = [
98
98
  {
99
99
  id: "SK003",
100
100
  severity: "error",
101
- description: "description must be present and \u2264 500 chars",
101
+ description: "description must be present and \u2264 1024 chars",
102
102
  check(s, _ctx) {
103
103
  const out = [];
104
104
  if (!s.description.trim()) out.push(diag(this, "frontmatter 'description' is required"));