@rely-ai/caliber 1.11.2 → 1.12.1

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.
Files changed (2) hide show
  1. package/dist/bin.js +5 -5
  2. package/package.json +1 -1
package/dist/bin.js CHANGED
@@ -1554,7 +1554,7 @@ SCORING CRITERIA \u2014 your output is scored deterministically. Optimize for 10
1554
1554
  Existence (25 pts):
1555
1555
  - CLAUDE.md exists (6 pts) \u2014 always generate for claude/both targets
1556
1556
  - AGENTS.md exists (6 pts) \u2014 always generate for codex target (serves as primary instructions file)
1557
- - Skills configured (8 pts) \u2014 generate exactly 3 focused skills for full points (6 base + 1 per extra, cap 2). Two skills = 7 pts, three = 8 pts.
1557
+ - Skills configured (8 pts) \u2014 generate at least 3 skills for full points. Generate more if the project has multiple distinct tools, frameworks, or workflows that benefit from dedicated skills.
1558
1558
  - MCP servers mentioned (3 pts) \u2014 reference detected MCP integrations
1559
1559
  - For "both" target: .cursorrules/.cursor/rules/ exist (3+3 pts), cross-platform parity (2 pts)
1560
1560
 
@@ -1588,7 +1588,7 @@ Bonus (5 pts):
1588
1588
 
1589
1589
  OUTPUT SIZE CONSTRAINTS \u2014 these are critical:
1590
1590
  - CLAUDE.md / AGENTS.md: MUST be under 100 lines for maximum score. Aim for 70-90 lines. Be extremely concise \u2014 only commands, architecture overview, and key conventions. Use bullet points and tables, not prose.
1591
- - Skills: generate exactly 3 skills per target platform. Only go above 3 for large multi-framework projects.
1591
+ - Skills: generate 3-6 skills per target platform based on project complexity. Each skill should cover a distinct tool, workflow, or domain \u2014 don't pad with generic skills.
1592
1592
  - Each skill content: max 150 lines. Focus on patterns and examples, not exhaustive docs.
1593
1593
  - Cursor rules: max 5 .mdc files.
1594
1594
  - If the project is large, prioritize depth on the 3-4 most critical tools over breadth across everything.`;
@@ -1646,7 +1646,7 @@ CoreSetup schema:
1646
1646
  }
1647
1647
 
1648
1648
  IMPORTANT: Do NOT generate full skill content. Only output skill topic names and descriptions.
1649
- Skills will be generated separately. Generate exactly 3 skill topics per target platform.
1649
+ Skills will be generated separately. Generate 3-6 skill topics per target platform based on project complexity. Each topic should cover a distinct tool, workflow, or domain.
1650
1650
 
1651
1651
  Skill topic description MUST include WHAT it does + WHEN to use it with specific trigger phrases.
1652
1652
  Example: "Manages database migrations. Use when user says 'run migration', 'create migration', 'db schema change', or modifies files in db/migrations/."
@@ -1687,7 +1687,7 @@ Bonus (5 pts): Hooks (2 pts), AGENTS.md (1 pt), OpenSkills format (2 pts) \u2014
1687
1687
  OUTPUT SIZE CONSTRAINTS:
1688
1688
  - CLAUDE.md / AGENTS.md: MUST be under 100 lines. Aim for 70-90 lines.
1689
1689
  - Cursor rules: max 5 .mdc files.
1690
- - Skill topics: exactly 3 per platform (name + description only, no content).`;
1690
+ - Skill topics: 3-6 per platform based on project complexity (name + description only, no content).`;
1691
1691
  var SKILL_GENERATION_PROMPT = `You generate a single skill file for a coding agent (Claude Code, Cursor, or Codex).
1692
1692
 
1693
1693
  Given project context and a skill topic, produce a focused SKILL.md body.
@@ -4275,7 +4275,7 @@ function validateDocumentedCommands(dir) {
4275
4275
  const seen = /* @__PURE__ */ new Set();
4276
4276
  let match;
4277
4277
  while ((match = cmdPattern.exec(claudeMd)) !== null) {
4278
- const scriptName = match[1];
4278
+ const scriptName = match[1].replace(/[.,;:!?)]+$/, "");
4279
4279
  if (seen.has(scriptName)) continue;
4280
4280
  seen.add(scriptName);
4281
4281
  const builtins = /* @__PURE__ */ new Set(["install", "ci", "test", "start", "init", "publish", "pack", "link", "uninstall"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rely-ai/caliber",
3
- "version": "1.11.2",
3
+ "version": "1.12.1",
4
4
  "description": "Analyze your codebase and generate optimized AI agent configs (CLAUDE.md, .cursorrules, skills) — no API key needed",
5
5
  "type": "module",
6
6
  "bin": {