skilldrop-cli 0.13.8 → 0.13.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.
Files changed (24) hide show
  1. package/README.md +1 -1
  2. package/bin/skilldrop.js +14 -0
  3. package/catalogue.json +1 -1
  4. package/package.json +1 -1
  5. package/packs/{claude-api → api-builder}/pack.json +2 -2
  6. package/packs/dev-team/skills/contribution-wizard/SKILL.md +1 -1
  7. package/packs/dev-team/skills/contribution-wizard/manifest.json +1 -1
  8. package/profiles.json +1 -1
  9. /package/packs/{claude-api → api-builder}/skills/eval-harness-generator/SKILL.md +0 -0
  10. /package/packs/{claude-api → api-builder}/skills/eval-harness-generator/evals/eval_queries.json +0 -0
  11. /package/packs/{claude-api → api-builder}/skills/eval-harness-generator/evals/evals.json +0 -0
  12. /package/packs/{claude-api → api-builder}/skills/eval-harness-generator/manifest.json +0 -0
  13. /package/packs/{claude-api → api-builder}/skills/prompt-caching-advisor/SKILL.md +0 -0
  14. /package/packs/{claude-api → api-builder}/skills/prompt-caching-advisor/evals/eval_queries.json +0 -0
  15. /package/packs/{claude-api → api-builder}/skills/prompt-caching-advisor/evals/evals.json +0 -0
  16. /package/packs/{claude-api → api-builder}/skills/prompt-caching-advisor/manifest.json +0 -0
  17. /package/packs/{claude-api → api-builder}/skills/token-budget-estimator/SKILL.md +0 -0
  18. /package/packs/{claude-api → api-builder}/skills/token-budget-estimator/evals/eval_queries.json +0 -0
  19. /package/packs/{claude-api → api-builder}/skills/token-budget-estimator/evals/evals.json +0 -0
  20. /package/packs/{claude-api → api-builder}/skills/token-budget-estimator/manifest.json +0 -0
  21. /package/packs/{claude-api → api-builder}/skills/tool-use-schema-writer/SKILL.md +0 -0
  22. /package/packs/{claude-api → api-builder}/skills/tool-use-schema-writer/evals/eval_queries.json +0 -0
  23. /package/packs/{claude-api → api-builder}/skills/tool-use-schema-writer/evals/evals.json +0 -0
  24. /package/packs/{claude-api → api-builder}/skills/tool-use-schema-writer/manifest.json +0 -0
package/README.md CHANGED
@@ -22,7 +22,7 @@ Install one pack. Every role pack also brings `core` (intake, critique, review c
22
22
  - **Explaining things to decision-makers:** `stakeholder-comms` — audience profiles, exec summaries, decision logs, guides. [Open pack](https://sananthanarayan.github.io/skilldrop/packs/stakeholder-comms/)
23
23
  - **On-brand decks and flyers:** `design` — capture your brand once, then build `.pptx` decks and print-ready flyers with your logo, colours and fonts. [Open pack](https://sananthanarayan.github.io/skilldrop/packs/design/)
24
24
  - **Adopting and building AI:** `ai-engineering` — readiness, use-case triage, policy, agent loops, budgets, agent threat models, evals. [Open pack](https://sananthanarayan.github.io/skilldrop/packs/ai-engineering/)
25
- - **Building on the Claude API:** `claude-api` — prompt caching, token budgets, eval generation, tool schemas. [Open pack](https://sananthanarayan.github.io/skilldrop/packs/claude-api/)
25
+ - **Building on the Claude API:** `api-builder` — prompt caching, token budgets, eval generation, tool schemas. [Open pack](https://sananthanarayan.github.io/skilldrop/packs/api-builder/)
26
26
  - **Everyone:** `core` on its own. [Open pack](https://sananthanarayan.github.io/skilldrop/packs/core/)
27
27
 
28
28
  ## Start in one command
package/bin/skilldrop.js CHANGED
@@ -879,11 +879,23 @@ function removeHooksFor(skill, dest, ide) {
879
879
 
880
880
  /* ---------- commands ---------- */
881
881
 
882
+ /* Packs that were renamed, so an old command or script keeps working. claude-api became
883
+ api-builder in 0.13.9: Claude Code reserves plugin names that start with "claude-". */
884
+ const PACK_ALIASES = { "claude-api": "api-builder" };
885
+ function packAlias(flags, ps) {
886
+ const n = flags.pack;
887
+ if (n && ps && !ps[n] && PACK_ALIASES[n] && ps[PACK_ALIASES[n]]) {
888
+ console.error(`note: pack '${n}' is now '${PACK_ALIASES[n]}' — use --pack ${PACK_ALIASES[n]}`);
889
+ flags.pack = PACK_ALIASES[n];
890
+ }
891
+ }
892
+
882
893
  function expandNames(args, cat) {
883
894
  if (args.flags.all) return skillsIn(cat);
884
895
  if (args.flags.pack) {
885
896
  const ps = packsOf(cat);
886
897
  if (!ps) die(`catalog '${cat.source}' defines no packs — install skills by name`);
898
+ packAlias(args.flags, ps);
887
899
  const p = ps[args.flags.pack];
888
900
  if (!p) die(`unknown pack '${args.flags.pack}' in catalog '${cat.source}'`);
889
901
  return packMembers(ps, args.flags.pack, "skills");
@@ -1535,6 +1547,7 @@ function installLoops(args) {
1535
1547
  if (!names.length && args.flags.pack) {
1536
1548
  const ps = packsOf(cat);
1537
1549
  if (!ps) die(`catalog '${cat.source}' defines no packs`);
1550
+ packAlias(args.flags, ps);
1538
1551
  const pk = ps[args.flags.pack];
1539
1552
  if (!pk) die(`unknown pack '${args.flags.pack}' in catalog '${cat.source}'`);
1540
1553
  names = packMembers(ps, args.flags.pack, "loops");
@@ -1693,6 +1706,7 @@ function firstValueLines(p) {
1693
1706
  function infoPack(args) {
1694
1707
  const cat = resolveCatalog(args.flags.from);
1695
1708
  const ps = packsOf(cat) || die(`catalog '${cat.source}' has no packs`);
1709
+ packAlias(args.flags, ps);
1696
1710
  const name = args.flags.pack;
1697
1711
  const p = ps[name] || die(`unknown pack '${name}' — available: ${Object.keys(ps).join(", ")}`);
1698
1712
  if (args.flags.json)
package/catalogue.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$comment": "RFC-0034. The catalogue index: pack display order and the outcome browse axis (RFC-0026). Pack metadata lives in packs/<pack>/pack.json; membership is the folders — a skill is in a pack because it sits at packs/<pack>/skills/<name>/.",
3
3
  "version": "1.0.0",
4
- "packs": ["core", "solution-architect", "product-manager", "dev-team", "sre-oncall", "stakeholder-comms", "design", "ai-engineering", "claude-api"],
4
+ "packs": ["core", "solution-architect", "product-manager", "dev-team", "sre-oncall", "stakeholder-comms", "design", "ai-engineering", "api-builder"],
5
5
  "outcomes": {
6
6
  "decide-what-to-build": {
7
7
  "for": "Product managers · founders · strategists",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skilldrop-cli",
3
- "version": "0.13.8",
3
+ "version": "0.13.9",
4
4
  "description": "Portable AI-agent skills for the deliverables knowledge workers ship \u2014 diagrams, ADRs, PRDs, runbooks, decks, reviews \u2014 installable into Claude Code, Cursor, Kiro, and any IDE that takes custom instructions. One command per skill or per role-based pack.",
5
5
  "author": {
6
6
  "name": "Sanjay Ananthanarayan",
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "description": "Skills for teams building on the Anthropic API — prompt caching, token budgeting, eval generation for skills, and tool-use schema writing.",
3
- "display_name": "Claude API",
3
+ "display_name": "API builder",
4
4
  "keywords": ["anthropic", "prompt-caching", "tokens", "tool-use", "evals"],
5
5
  "links": {
6
- "documentation": "https://sananthanarayan.github.io/skilldrop/packs/claude-api/"
6
+ "documentation": "https://sananthanarayan.github.io/skilldrop/packs/api-builder/"
7
7
  },
8
8
  "maintainers": [
9
9
  {
@@ -18,7 +18,7 @@ Ask these questions in a single block — not one at a time:
18
18
  > 1. **Purpose**: what does this skill do in one sentence?
19
19
  > 2. **Input**: what does the agent receive? (paste, file, structured data, conversational context)
20
20
  > 3. **Output**: what does the agent produce? (artifact type, format, length)
21
- > 4. **Pack**: which role pack does it belong to? (solution-architect / product-manager / dev-team / sre-oncall / stakeholder-comms / ai-engineering / claude-api / new pack)
21
+ > 4. **Pack**: which role pack does it belong to? (solution-architect / product-manager / dev-team / sre-oncall / stakeholder-comms / ai-engineering / api-builder / new pack)
22
22
  > 5. **Is it a gate?** Does it emit a pass/fail verdict, or generate an artifact?
23
23
  > 6. **Related skills**: which existing skills does it complement or hand off to?
24
24
  > 7. **External deps**: does it need API keys, npm packages, or pip libraries?
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contribution-wizard",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Guides an author through creating a new skilldrop skill from scratch — generates the manifest, SKILL.md, eval cases, and skill-catalogue entry from a plain-language description of the skill's purpose. Use when authoring a new skill for this repo or a private fork, ensuring a new skill meets the schema and validation requirements before submission.",
5
5
  "entrypoint": "SKILL.md",
6
6
  "deps": { "npm": [], "pip": [] },
package/profiles.json CHANGED
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "full": {
18
18
  "description": "The complete catalogue: every pack, every reviewer agent, every loop.",
19
- "packs": ["core", "solution-architect", "product-manager", "dev-team", "sre-oncall", "stakeholder-comms", "design", "ai-engineering", "claude-api"],
19
+ "packs": ["core", "solution-architect", "product-manager", "dev-team", "sre-oncall", "stakeholder-comms", "design", "ai-engineering", "api-builder"],
20
20
  "agents": ["devils-advocate", "security-reviewer", "code-quality"],
21
21
  "loops": ["discover", "design", "build", "release", "operate", "ship-a-draft"]
22
22
  }