claude-agent-skills 1.3.8 → 1.4.0

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/banner.js CHANGED
@@ -23,20 +23,21 @@ const SKILLS_LINES = [
23
23
  const ART = [...CLAUDE_LINES, ...SKILLS_LINES];
24
24
  const MAX_WIDTH = Math.max(...ART.map(l => l.length));
25
25
 
26
- // One pride stripe per art line (12 lines2 lines per colour)
26
+ // Colour palette per art line crimson gradient top deep red bottom.
27
+ // To restore pride rainbow: replace each entry with the pride colours.
27
28
  const PRIDE = [
28
- [220, 30, 30], // red
29
- [220, 30, 30],
30
- [255, 140, 0], // orange
31
- [255, 140, 0],
32
- [255, 210, 0], // yellow
33
- [255, 210, 0],
34
- [ 30, 185, 30], // green
35
- [ 30, 185, 30],
36
- [ 30, 100, 255], // blue
37
- [ 30, 100, 255],
38
- [150, 30, 230], // purple
39
- [150, 30, 230],
29
+ [240, 65, 65],
30
+ [230, 55, 55],
31
+ [215, 42, 42],
32
+ [200, 32, 32],
33
+ [185, 25, 25],
34
+ [170, 18, 18],
35
+ [155, 13, 13],
36
+ [140, 10, 10],
37
+ [125, 8, 8],
38
+ [110, 6, 6],
39
+ [ 95, 4, 4],
40
+ [ 80, 3, 3],
40
41
  ];
41
42
 
42
43
  const sleep = ms => new Promise(r => setTimeout(r, ms));
package/lib/picker.js CHANGED
@@ -106,13 +106,12 @@ export async function skillPicker({ message, options }) {
106
106
 
107
107
  function draw() {
108
108
  const lines = renderGrid();
109
- // Go up by however many lines we drew last time
110
- if (lastLines > 0) {
111
- process.stdout.write(`\x1b[${lastLines}A`);
112
- }
109
+ if (lastLines > 0) process.stdout.write(`\x1b[${lastLines}A`);
113
110
  for (const line of lines) {
114
111
  process.stdout.write('\x1b[2K' + line + '\n');
115
112
  }
113
+ // Erase any leftover content from a previously taller render
114
+ process.stdout.write('\x1b[0J');
116
115
  lastLines = lines.length;
117
116
  }
118
117
 
package/lib/theme.js CHANGED
@@ -1,6 +1,10 @@
1
1
  import ansis from 'ansis';
2
2
 
3
- export const BRAND_HEX = '#FF69B4'; // hot pink
3
+ // ── Colour mode ─────────────────────────────────────────────────────────────
4
+ // Flip PRIDE_MODE to true for pride month to restore rainbow palette.
5
+ export const PRIDE_MODE = false;
6
+
7
+ export const BRAND_HEX = '#B91919'; // metallic crimson
4
8
 
5
9
  const ok = () => !process.env.NO_COLOR && ansis.isSupported();
6
10
 
@@ -11,25 +15,30 @@ export const muted = t => ok() ? ansis.dim(t) : t;
11
15
  export const white = t => ok() ? ansis.white(t) : t;
12
16
  export const strip = t => ansis.strip(t);
13
17
 
14
- // ── Pride mode ─────────────────────────────────────────────────────────────
15
- // Set to false after June to revert skill names to brand pink.
16
- export const PRIDE_MODE = true;
18
+ // Metallic crimson bright at index 0, steps down, then back up (cycling shimmer)
19
+ const CRIMSON = [
20
+ [235, 60, 60],
21
+ [210, 38, 38],
22
+ [185, 25, 25],
23
+ [160, 15, 15],
24
+ [185, 25, 25],
25
+ [210, 38, 38],
26
+ ];
17
27
 
28
+ // Pride rainbow — restore for pride month
18
29
  const PRIDE_PALETTE = [
19
- [220, 30, 30], // red
20
- [255, 140, 0], // orange
21
- [220, 200, 0], // yellow
22
- [ 30, 185, 30], // green
23
- [ 30, 100, 255], // blue
24
- [150, 30, 230], // purple
30
+ [220, 30, 30],
31
+ [255, 140, 0],
32
+ [220, 200, 0],
33
+ [ 30, 185, 30],
34
+ [ 30, 100, 255],
35
+ [150, 30, 230],
25
36
  ];
26
37
 
27
- // Returns a color function for the nth skill. Cycles through pride palette in
28
- // PRIDE_MODE, falls back to brand pink otherwise.
29
38
  export function skillColor(index) {
30
39
  if (!ok()) return t => t;
31
- if (!PRIDE_MODE) return brand;
32
- const [r, g, b] = PRIDE_PALETTE[index % PRIDE_PALETTE.length];
40
+ const palette = PRIDE_MODE ? PRIDE_PALETTE : CRIMSON;
41
+ const [r, g, b] = palette[index % palette.length];
33
42
  return t => ansis.rgb(r, g, b)(t);
34
43
  }
35
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-agent-skills",
3
- "version": "1.3.8",
3
+ "version": "1.4.0",
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.8",
4
+ "version": "1.4.0",
5
5
  "skills": [
6
6
  "ask-matt",
7
7
  "brainstorming",