claude-agent-skills 1.3.2 → 1.3.4

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/lib/prompts.js CHANGED
@@ -27,11 +27,20 @@ export async function pickScope(flags = {}) {
27
27
  export async function pickSkills(names, flags = {}, descriptions = {}) {
28
28
  if (flags.all) return names;
29
29
  if (flags.skill?.length) return flags.skill;
30
+
31
+ // Hard cap so descriptions never wrap — single line always fits ≥80 col terminals.
32
+ // prefix(4) + name(32) + divider(3) + desc(45) = 84 chars total.
33
+ const DESC_MAX = 45;
34
+ function fitDesc(s) {
35
+ if (!s) return '';
36
+ return s.length <= DESC_MAX ? s : s.slice(0, DESC_MAX - 1) + '…';
37
+ }
38
+
30
39
  return guard(await multiselect({
31
40
  message: 'Select skills (space to toggle, a for all, enter to confirm)',
32
41
  options: names.map((n, i) => {
33
42
  const name = skillColor(i)(ansis.bold(n.padEnd(32)));
34
- const desc = descriptions[n] ? white(descriptions[n].slice(0, 52)) : '';
43
+ const desc = descriptions[n] ? white(fitDesc(descriptions[n])) : '';
35
44
  return { value: n, label: name + divider + desc };
36
45
  }),
37
46
  required: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-agent-skills",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "Install and manage Pavi's Claude Code agent skills",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/skills.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": 1,
3
3
  "name": "claude-agent-skills",
4
- "version": "1.3.2",
4
+ "version": "1.3.4",
5
5
  "skills": [
6
6
  "ask-matt",
7
7
  "brainstorming",