@allthingsclaude/blueprints 0.4.3 → 0.4.5

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.
@@ -35,7 +35,7 @@ I'll create or document a comprehensive brand identity system — colors, typogr
35
35
 
36
36
  **README / Package Info**:
37
37
  !`cat README.md 2>/dev/null | head -20 || echo "No README"`
38
- !`node -p 'var p=require("./package.json");p.name+" — "+(p.description||"no description")' 2>/dev/null || echo "No package.json"`
38
+ !`cat package.json 2>/dev/null | head -10 || echo "No package.json"`
39
39
 
40
40
  ---
41
41
 
@@ -19,7 +19,7 @@ I'll write on-brand marketing copy — social captions, ad copy, email subject l
19
19
  !`cat README.md 2>/dev/null | head -30 || echo "No README found"`
20
20
 
21
21
  **Package Description**:
22
- !`node -p 'var p=require("./package.json");[p.name,p.description,p.homepage].filter(Boolean).join(" | ")' 2>/dev/null || echo "No package.json found"`
22
+ !`cat package.json 2>/dev/null | head -10 || echo "No package.json found"`
23
23
 
24
24
  **Existing Copy & Messaging**:
25
25
  !`grep -rh 'content=\|<title>\|<meta name=.description' src/app/layout.tsx src/app/page.tsx index.html 2>/dev/null | head -10 || echo "No meta/title tags detected"`
@@ -21,9 +21,7 @@ I'll create on-brand design and marketing assets — social media banners, ad cr
21
21
  **Previous Brand Brief**:
22
22
  !`cat design/brand-brief.md 2>/dev/null | head -30 || echo "No brand brief yet"`
23
23
 
24
- **Image Generation APIs**:
25
- - GEMINI_API_KEY: !`echo ${GEMINI_API_KEY:+AVAILABLE}`
26
- - FAL_KEY: !`echo ${FAL_KEY:+AVAILABLE}`
24
+ **Image Generation APIs** (agent will check GEMINI_API_KEY and FAL_KEY availability at runtime):
27
25
 
28
26
  ---
29
27
 
@@ -41,74 +39,91 @@ Parse the brief for: asset type, platform(s), goal, style direction, messaging,
41
39
 
42
40
  ### If the brief is empty or vague:
43
41
 
44
- Conduct a focused discovery questionnaire. Ask questions **one at a time**, adapting based on previous answers. Don't dump all questions at once this should feel like a conversation.
42
+ Conduct a focused discovery using the **AskUserQuestion tool** for interactive selection. The user should be able to click/select options rather than typing numbers. Adapt follow-up questions based on previous answers.
45
43
 
46
44
  #### First, determine the repo context:
47
45
 
48
46
  Check the "Existing Brand Assets" and "Previous Brand Brief" sections above. If brand files were detected (CSS, Tailwind config, SVGs, design tokens, or an existing `design/brand-brief.md`), this is a **brand-rich repo** — the codebase contains enough to derive brand identity, visual style, and messaging automatically.
49
47
 
50
- #### Always ask (every context):
51
-
52
- **Q1: What are we creating?**
53
- - Social media banners (Instagram, Twitter/X, LinkedIn, etc.)
54
- - Ad creatives (display, retargeting)
55
- - Email headers / newsletter graphics
56
- - Open Graph / social preview images
57
- - App store screenshots
58
- - Presentation slides / pitch deck graphics
59
- - Product Hunt launch assets
60
- - Custom (describe)
61
-
62
- **Q2: For which platform(s)?**
63
- Offer platform-specific dimensions these will be auto-applied:
64
- | Platform | Format | Dimensions |
65
- |----------|--------|------------|
66
- | Instagram Post | Square | 1080×1080 |
67
- | Instagram Story | Vertical | 1080×1920 |
68
- | Twitter/X Post | Landscape | 1200×675 |
69
- | Twitter/X Header | Wide | 1500×500 |
70
- | LinkedIn Post | Landscape | 1200×627 |
71
- | LinkedIn Cover | Wide | 1584×396 |
72
- | Facebook Post | Landscape | 1200×630 |
73
- | YouTube Thumbnail | Landscape | 1280×720 |
74
- | Product Hunt | Landscape | 1270×760 |
75
- | Open Graph | Landscape | 1200×630 |
76
-
77
- **Q3: What's the campaign goal?**
78
- - Product launch / announcement
79
- - Feature spotlight
80
- - Brand awareness
81
- - Event promotion
82
- - Testimonial / social proof
83
- - Tutorial / how-to
84
- - Hiring / team culture
85
-
86
- **Q4: How many designs?** (default: 6)
87
-
88
- #### Only ask in bare repos (no brand files detected):
89
-
90
- If no CSS, Tailwind config, design tokens, or brand assets were found, the agent has nothing to analyze so you need to ask:
91
-
92
- **Q5: Where should brand identity come from?**
93
- - **I'll describe it** you'll provide colors, fonts, tone
94
- - **Start from scratch** design freely, establish a new visual identity
95
-
96
- **Q6: What visual style?**
97
- - Minimal / editorial (whitespace, typography-driven, structural grids)
98
- - Bold / high-contrast (oversized type, strong colors, dramatic)
99
- - Dark / premium (dark backgrounds, glow effects, sleek)
100
- - Playful / colorful (gradients, rounded shapes, vibrant)
101
- - Technical / developer (terminal mockups, monospace, code aesthetics)
102
- - Photo-centric (imagery-driven, lifestyle)
103
-
104
- **Q7: What's the primary headline or message?**
105
- (Free text — the core copy direction)
106
-
107
- #### In brand-rich repos, skip Q5-Q7:
48
+ #### Round 1 — Core questions (single AskUserQuestion call, 3 questions):
49
+
50
+ **Q1** (header: "Asset type", multiSelect: false):
51
+ Question: "What type of design asset do you need?"
52
+ Options:
53
+ - label: "Social media banners" / description: "Instagram, Twitter/X, LinkedIn, Facebook"
54
+ - label: "Ad creatives & email" / description: "Display ads, retargeting, email headers, newsletter graphics"
55
+ - label: "Product assets" / description: "Open Graph images, App Store screenshots, Product Hunt"
56
+ - label: "Presentation graphics" / description: "Pitch deck slides, keynote visuals"
57
+
58
+ **Q2** (header: "Goal", multiSelect: false):
59
+ Question: "What's the campaign goal?"
60
+ Options:
61
+ - label: "Launch / announcement" / description: "New product, feature, or version release"
62
+ - label: "Feature spotlight" / description: "Highlight a specific capability or use case"
63
+ - label: "Brand awareness" / description: "General brand visibility and recognition"
64
+ - label: "Event / hiring / culture" / description: "Promote events, open roles, or team culture"
65
+
66
+ **Q3** (header: "Count", multiSelect: false):
67
+ Question: "How many designs should I create?"
68
+ Options:
69
+ - label: "3 designs" / description: "Focused, tight set"
70
+ - label: "6 designs (Recommended)" / description: "Balanced variety for a campaign"
71
+ - label: "9 designs" / description: "Extended campaign coverage"
72
+ - label: "12 designs" / description: "Full campaign suite with maximum variety"
73
+
74
+ #### Round 2 — Platform selection (single AskUserQuestion call, 1 question):
75
+
76
+ Ask a **multiSelect: true** question for platform(s). Offer the 4 most relevant platforms based on the asset type from Round 1:
77
+
78
+ If **social media banners**:
79
+ - label: "Instagram Post" / description: "Square — 1080×1080"
80
+ - label: "Instagram Story" / description: "Vertical — 1080×1920"
81
+ - label: "Twitter/X Post" / description: "Landscape — 1200×675"
82
+ - label: "LinkedIn Post" / description: "Landscape — 1200×627"
83
+
84
+ If **ad creatives & email**:
85
+ - label: "Email header" / description: "Wide — 600×200"
86
+ - label: "Newsletter graphic" / description: "Landscape 1200×630"
87
+ - label: "Display ad" / description: "Landscape — 1200×628"
88
+ - label: "Retargeting banner" / description: "Rectangle300×250"
89
+
90
+ If **product assets**:
91
+ - label: "Open Graph" / description: "Landscape 1200×630"
92
+ - label: "Product Hunt" / description: "Landscape 1270×760"
93
+ - label: "YouTube Thumbnail" / description: "Landscape — 1280×720"
94
+ - label: "App Store screenshot" / description: "Portrait — 1284×2778"
95
+
96
+ If **presentation graphics**:
97
+ - label: "Slide 16:9" / description: "Widescreen 1920×1080"
98
+ - label: "Slide 4:3" / description: "Standard 1024×768"
99
+ - label: "LinkedIn Post" / description: "Landscape 1200×627"
100
+ - label: "Twitter/X Post" / description: "Landscape — 1200×675"
101
+
102
+ #### Round 3 Brand & style (only for bare repos, single AskUserQuestion call):
103
+
104
+ Only ask these if **no brand files were detected**. In brand-rich repos, skip to confirmation.
105
+
106
+ **Q1** (header: "Style", multiSelect: false):
107
+ Question: "What visual style fits your brand?"
108
+ Options:
109
+ - label: "Minimal / editorial" / description: "Whitespace, typography-driven, structural grids"
110
+ - label: "Bold / dark premium" / description: "High-contrast, oversized type, dark backgrounds, glow effects"
111
+ - label: "Playful / colorful" / description: "Gradients, rounded shapes, vibrant colors"
112
+ - label: "Technical / developer" / description: "Terminal mockups, monospace, code aesthetics"
113
+
114
+ **Q2** (header: "Headline", multiSelect: false):
115
+ Question: "What's the primary headline direction?"
116
+ Options:
117
+ - label: "Product name + tagline" / description: "Lead with brand identity and value prop"
118
+ - label: "Feature benefit" / description: "Lead with what the product does for users"
119
+ - label: "Call to action" / description: "Lead with urgency — try it, sign up, launch day"
120
+ - label: "I'll write it" / description: "Select Other to provide your own headline"
121
+
122
+ #### In brand-rich repos, skip Round 3:
108
123
 
109
124
  The agent will automatically analyze the codebase for colors, typography, design patterns, logos, and product copy. Brand identity, visual style, and messaging will be derived from the existing design system and content. The user can still override any of these when confirming the brief.
110
125
 
111
- After gathering answers, **summarize the complete brief and ask for confirmation** before launching the agent. Include what will be auto-derived from the codebase so the user can correct anything.
126
+ After gathering all answers, **summarize the complete brief and ask for confirmation** before launching the agent. Include what will be auto-derived from the codebase so the user can correct anything.
112
127
 
113
128
  ### Launching the Agent
114
129
 
@@ -14,7 +14,7 @@ Investigating the history of: **$ARGUMENTS**
14
14
 
15
15
  **Working Directory**: !`pwd`
16
16
 
17
- **File Exists**: !`test -f "$ARGUMENTS" && echo "Yes" || echo "File not found — check the path"`
17
+ **File Exists**: !`ls "$ARGUMENTS" 2>/dev/null || echo "File not found — check the path"`
18
18
 
19
19
  **File Size**: !`wc -l < "$ARGUMENTS" 2>/dev/null || echo "N/A"`
20
20
 
@@ -33,7 +33,7 @@ Investigating the history of: **$ARGUMENTS**
33
33
  !`git log --since="30 days ago" --follow --format="%h %s (%ar)" -- "$ARGUMENTS" 2>/dev/null || echo "No recent changes"`
34
34
 
35
35
  **Change Frequency**:
36
- !`echo "Total commits: $(git log --follow --oneline -- "$ARGUMENTS" 2>/dev/null | wc -l | tr -d ' ')"`
36
+ !`git log --follow --oneline -- "$ARGUMENTS" 2>/dev/null | wc -l`
37
37
 
38
38
  ---
39
39
 
@@ -8,10 +8,7 @@ author: "@markoradak"
8
8
 
9
9
  $ARGUMENTS
10
10
 
11
- ## API Keys
12
-
13
- - GEMINI_API_KEY: !`echo ${GEMINI_API_KEY:+AVAILABLE}`
14
- - FAL_KEY: !`echo ${FAL_KEY:+AVAILABLE}`
11
+ ## API Keys (agent will check GEMINI_API_KEY and FAL_KEY availability at runtime)
15
12
 
16
13
  ---
17
14
 
@@ -19,7 +19,7 @@ I'll create an on-brand, self-contained HTML presentation deck with keyboard nav
19
19
  !`cat README.md 2>/dev/null | head -30 || echo "No README found"`
20
20
 
21
21
  **Package Description**:
22
- !`node -p 'var p=require("./package.json");[p.name,p.description,p.homepage].filter(Boolean).join(" | ")' 2>/dev/null || echo "No package.json found"`
22
+ !`cat package.json 2>/dev/null | head -10 || echo "No package.json found"`
23
23
 
24
24
  **Product Features & Stats**:
25
25
  !`grep -rh "<h2\|<h3\|<strong\|features\|pricing\|stats\|metric" src/app/page.tsx src/components/*.tsx README.md 2>/dev/null | head -20 || echo "No product features detected"`
@@ -26,7 +26,7 @@ I'll orchestrate a complete release for your project — detecting existing rele
26
26
  !`git tag --sort=-version:refname 2>/dev/null | head -5 || echo "No tags found"`
27
27
 
28
28
  **Commits Since Last Tag**:
29
- !`git log $(git describe --tags --abbrev=0 2>/dev/null)..HEAD --oneline 2>/dev/null | head -15 || git log --oneline -10 2>/dev/null`
29
+ !`git log --oneline 2>/dev/null | head -15`
30
30
 
31
31
  **Release Scripts Detected**:
32
32
  !`cat package.json 2>/dev/null | grep -E '"(release|version|bump|publish|prepublish|postpublish|preversion|postversion|prepublishOnly)"' || echo "None in package.json"`
@@ -17,7 +17,7 @@ Generating a standup summary from recent activity.
17
17
  **Author**: !`git config user.name 2>/dev/null || echo "Unknown"`
18
18
 
19
19
  **Commits (last 48 hours)**:
20
- !`git log --since="48 hours ago" --author="$(git config user.name)" --format="%h %s (%ar)" 2>/dev/null || echo "No recent commits"`
20
+ !`git log --since="48 hours ago" --format="%h %an: %s (%ar)" 2>/dev/null | head -20 || echo "No recent commits"`
21
21
 
22
22
  **Uncommitted Changes**:
23
23
  !`git diff --stat 2>/dev/null || echo "None"`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allthingsclaude/blueprints",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Claude Code commands and agents for enhanced AI-assisted development workflows",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",