aiblueprint-cli 1.4.81 → 1.4.83

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 (90) hide show
  1. package/README.md +25 -18
  2. package/agents-config/claude-config/scripts/statusline/data/.gitignore +8 -0
  3. package/agents-config/claude-config/scripts/statusline/data/.gitkeep +0 -0
  4. package/agents-config/claude-config/scripts/statusline/defaults.json +10 -10
  5. package/agents-config/claude-config/scripts/statusline/src/commands/interactive-config.ts +118 -6
  6. package/agents-config/claude-config/scripts/statusline/src/index.ts +100 -9
  7. package/agents-config/claude-config/scripts/statusline/src/lib/config.ts +28 -2
  8. package/agents-config/claude-config/scripts/statusline/src/lib/features/limits/commands/weekly-analysis.ts +108 -0
  9. package/agents-config/claude-config/scripts/statusline/src/lib/features/limits/index.ts +164 -0
  10. package/agents-config/claude-config/scripts/statusline/src/lib/features/limits/types.ts +15 -0
  11. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/migrate-to-sqlite.ts +136 -0
  12. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/spend-day.ts +79 -0
  13. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/spend-month.ts +66 -0
  14. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/spend-project.ts +85 -0
  15. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/database.ts +395 -0
  16. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/index.ts +178 -0
  17. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/payload-logger.ts +163 -0
  18. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/types.ts +37 -0
  19. package/agents-config/claude-config/scripts/statusline/src/lib/presets.ts +13 -13
  20. package/agents-config/claude-config/scripts/statusline/statusline.config.free.json +4 -1
  21. package/agents-config/claude-config/scripts/statusline/statusline.config.json +44 -23
  22. package/agents-config/scripts/statusline/data/.gitignore +8 -0
  23. package/agents-config/scripts/statusline/data/.gitkeep +0 -0
  24. package/agents-config/scripts/statusline/defaults.json +10 -10
  25. package/agents-config/scripts/statusline/src/commands/interactive-config.ts +118 -6
  26. package/agents-config/scripts/statusline/src/index.ts +100 -9
  27. package/agents-config/scripts/statusline/src/lib/config.ts +28 -2
  28. package/agents-config/scripts/statusline/src/lib/features/limits/commands/weekly-analysis.ts +108 -0
  29. package/agents-config/scripts/statusline/src/lib/features/limits/index.ts +164 -0
  30. package/agents-config/scripts/statusline/src/lib/features/limits/types.ts +15 -0
  31. package/agents-config/scripts/statusline/src/lib/features/spend/commands/migrate-to-sqlite.ts +136 -0
  32. package/agents-config/scripts/statusline/src/lib/features/spend/commands/spend-day.ts +79 -0
  33. package/agents-config/scripts/statusline/src/lib/features/spend/commands/spend-month.ts +66 -0
  34. package/agents-config/scripts/statusline/src/lib/features/spend/commands/spend-project.ts +85 -0
  35. package/agents-config/scripts/statusline/src/lib/features/spend/database.ts +395 -0
  36. package/agents-config/scripts/statusline/src/lib/features/spend/index.ts +178 -0
  37. package/agents-config/scripts/statusline/src/lib/features/spend/payload-logger.ts +163 -0
  38. package/agents-config/scripts/statusline/src/lib/features/spend/types.ts +37 -0
  39. package/agents-config/scripts/statusline/src/lib/presets.ts +13 -13
  40. package/agents-config/scripts/statusline/statusline.config.free.json +4 -1
  41. package/agents-config/scripts/statusline/statusline.config.json +44 -23
  42. package/agents-config/skills/{agents-managers → agents-manager}/SKILL.md +1 -1
  43. package/agents-config/skills/{agents-managers → agents-manager}/references/writing-agent-prompts.md +1 -1
  44. package/agents-config/skills/apex/SKILL.md +61 -0
  45. package/agents-config/skills/appstore-connect/SKILL.md +2 -2
  46. package/agents-config/skills/{appstore-connect-setup/SKILL.md → appstore-connect/references/setup.md} +3 -6
  47. package/agents-config/skills/environments-manager/SKILL.md +6 -6
  48. package/agents-config/skills/environments-manager/examples/{claude/commands/dev.md → skills/dev/SKILL.md} +2 -1
  49. package/agents-config/skills/environments-manager/examples/{claude/commands/lint.md → skills/lint/SKILL.md} +2 -1
  50. package/agents-config/skills/environments-manager/examples/{claude/commands/test.md → skills/test/SKILL.md} +2 -1
  51. package/agents-config/skills/environments-manager/examples/{claude/commands/typecheck.md → skills/typecheck/SKILL.md} +2 -1
  52. package/agents-config/skills/environments-manager/references/claude.md +13 -9
  53. package/agents-config/skills/environments-manager/references/cursor.md +2 -2
  54. package/agents-config/skills/ios-testflight/SKILL.md +2 -2
  55. package/agents-config/{commands/prompts/prompt.md → skills/prompt/SKILL.md} +5 -0
  56. package/agents-config/{commands/prompts/tools.md → skills/tools/SKILL.md} +1 -0
  57. package/agents-config/skills/ultrathink/SKILL.md +1 -1
  58. package/agents-config/skills/use-style/SKILL.md +7 -4
  59. package/agents-config/skills/use-style/examples/luma.html +221 -0
  60. package/agents-config/skills/use-style/examples/testspirite.html +340 -0
  61. package/agents-config/skills/use-style/styles/ios-app.md +350 -0
  62. package/agents-config/skills/use-style/styles/luma.md +422 -0
  63. package/agents-config/skills/use-style/styles/new-york-times.md +1 -1
  64. package/agents-config/skills/use-style/styles/split-auth.md +2 -2
  65. package/agents-config/skills/use-style/styles/testspirite.md +397 -0
  66. package/dist/cli.js +56 -118
  67. package/package.json +1 -1
  68. package/agents-config/claude-config/scripts/.claude/commands/fix-on-my-computer.md +0 -87
  69. package/agents-config/commands/prompts/create-vitejs-app.md +0 -272
  70. package/agents-config/commands/prompts/nextjs-add-prisma-db.md +0 -136
  71. package/agents-config/commands/prompts/nextjs-setup-better-auth.md +0 -173
  72. package/agents-config/commands/prompts/nextjs-setup-project.md +0 -200
  73. package/agents-config/commands/prompts/saas-challenge-idea.md +0 -135
  74. package/agents-config/commands/prompts/saas-create-architecture.md +0 -242
  75. package/agents-config/commands/prompts/saas-create-headline.md +0 -132
  76. package/agents-config/commands/prompts/saas-create-landing-copywritting.md +0 -267
  77. package/agents-config/commands/prompts/saas-create-legals-docs.md +0 -176
  78. package/agents-config/commands/prompts/saas-create-logos.md +0 -240
  79. package/agents-config/commands/prompts/saas-create-prd.md +0 -195
  80. package/agents-config/commands/prompts/saas-create-tasks.md +0 -240
  81. package/agents-config/commands/prompts/saas-define-pricing.md +0 -293
  82. package/agents-config/commands/prompts/saas-find-domain-name.md +0 -190
  83. package/agents-config/commands/prompts/saas-implement-landing-page.md +0 -257
  84. package/agents-config/commands/prompts/setup-tmux.md +0 -160
  85. /package/agents-config/skills/{agents-managers → agents-manager}/references/agents.md +0 -0
  86. /package/agents-config/skills/{agents-managers → agents-manager}/references/context-management.md +0 -0
  87. /package/agents-config/skills/{agents-managers → agents-manager}/references/debugging-agents.md +0 -0
  88. /package/agents-config/skills/{agents-managers → agents-manager}/references/error-handling-and-recovery.md +0 -0
  89. /package/agents-config/skills/{agents-managers → agents-manager}/references/evaluation-and-testing.md +0 -0
  90. /package/agents-config/skills/{agents-managers → agents-manager}/references/orchestration-patterns.md +0 -0
@@ -1,257 +0,0 @@
1
- ---
2
- description: Implement a production-ready landing page from specification using shadcn/ui components
3
- ---
4
-
5
- <objective>
6
- Implement a complete, production-ready landing page from a markdown specification file using high-quality Shadcn UI components.
7
-
8
- This comes AFTER the PRD, ARCHI, and LANDING_PAGE copywriting. Transform the specification into a fully functional, modern landing page using the Shadcn UI ecosystem.
9
- </objective>
10
-
11
- <role>
12
- You are a senior frontend developer and design systems specialist with 10+ years experience building production-ready landing pages using modern UI components and design patterns.
13
- </role>
14
-
15
- <context>
16
- Project structure: !`ls -la`
17
- Existing components: !`ls src/components/ 2>/dev/null || ls components/ 2>/dev/null || echo "No components folder"`
18
- CSS variables: !`cat app/globals.css 2>/dev/null | head -50 || cat src/app/globals.css 2>/dev/null | head -50 || echo "No globals.css"`
19
- </context>
20
-
21
- <process>
22
- ## Phase 1: Read Specification
23
-
24
- 1. **Ask for spec file location**:
25
- > "Please provide the path to your landing page specification file (LANDING_PAGE.md)."
26
-
27
- 2. **Read and extract from spec**:
28
- - Sections needed (Hero, Features, Pricing, FAQ, etc.)
29
- - Content (headlines, descriptions, CTAs, images)
30
- - Design preferences (colors, style, brand)
31
- - Target audience
32
-
33
- 3. **STOP if spec is missing** - Ask user for complete specification
34
-
35
- ## Phase 2: Analyze Project
36
-
37
- 4. **Ask for project location** if not provided
38
-
39
- 5. **Explore project structure** (use Glob):
40
- - `**/*.tsx` - existing components
41
- - `**/globals.css` - styling and CSS variables
42
- - `**/tsconfig.json` - path aliases
43
- - `components.json` - shadcn setup
44
-
45
- 6. **Read key config files**:
46
- - `tsconfig.json` - path aliases (@/*)
47
- - `app/globals.css` - CSS variables and theme
48
-
49
- 7. **Document findings**:
50
- - Framework version (Next.js 14/15)
51
- - Component organization pattern
52
- - Existing UI components
53
- - Path aliases and imports
54
-
55
- ## Phase 3: Research Components
56
-
57
- 8. **Use MCP Context7** to research Shadcn UI:
58
- - `mcp__context7__resolve-library-id` with "shadcn-ui"
59
- - `mcp__context7__get-library-docs` for component patterns
60
-
61
- 9. **Component source hierarchy** (priority order):
62
- - **Official Shadcn UI** (ui.shadcn.com) - Base components
63
- - **Shadcn UI Blocks** (shadcn-ui-blocks.akashmoradiya.com) - Pre-built sections
64
- - **Coss.com** (coss.com/origin) - Modern components
65
- - **Aceternity UI** (ui.aceternity.com) - Advanced effects (selective use)
66
-
67
- 10. **Create `landing-page-components.md`** documenting:
68
- - Component source for each section
69
- - Installation command
70
- - Customization notes
71
-
72
- ## Phase 4: Configure Theme
73
-
74
- 11. **Configure CSS variables** in `app/globals.css` based on spec brand colors:
75
- ```css
76
- :root {
77
- --primary: /* brand primary */;
78
- --secondary: /* brand secondary */;
79
- }
80
- ```
81
-
82
- 12. **Ensure contrast** - 4.5:1 for text (WCAG AA)
83
-
84
- ## Phase 5: Install Components
85
-
86
- 13. **Install base components**:
87
- ```bash
88
- npx shadcn@latest add button card input label badge separator
89
- npx shadcn@latest add navigation-menu dropdown-menu sheet
90
- npx shadcn@latest add accordion dialog
91
- ```
92
-
93
- 14. **Install section-specific components** from blocks:
94
- ```bash
95
- npx shadcn add https://shadcn-ui-blocks.akashmoradiya.com/r/hero-03.json
96
- npx shadcn add https://shadcn-ui-blocks.akashmoradiya.com/r/features-01.json
97
- ```
98
-
99
- ## Phase 6: Build Sections
100
-
101
- 15. **Create component files** in `src/features/landing/` (or match existing structure):
102
-
103
- **Navigation** (`navbar.tsx`):
104
- - Logo, nav links, mobile menu
105
- - Sticky header with backdrop blur
106
- - CTA button
107
-
108
- **Hero** (`hero.tsx`):
109
- - Headline from spec (H1)
110
- - Subheadline (H2)
111
- - Primary/secondary CTAs
112
- - Hero image with next/image
113
-
114
- **Features** (`features.tsx`):
115
- - Section headline
116
- - Feature cards with icons (lucide-react)
117
- - Grid layout (3 columns desktop)
118
-
119
- **Social Proof** (`testimonials.tsx`) - if in spec:
120
- - Testimonial cards
121
- - Logo cloud
122
- - Statistics
123
-
124
- **Pricing** (`pricing.tsx`) - if in spec:
125
- - Pricing tiers with Card component
126
- - Feature lists with checkmarks
127
- - Popular tier highlight
128
- - CTA buttons
129
-
130
- **FAQ** (`faq.tsx`) - if in spec:
131
- - Accordion component
132
- - All questions from spec
133
-
134
- **CTA** (`cta.tsx`):
135
- - Compelling headline
136
- - Action buttons
137
- - Background styling
138
-
139
- **Footer** (`footer.tsx`):
140
- - Navigation columns
141
- - Social links (lucide-react icons)
142
- - Legal links
143
- - Copyright
144
-
145
- ## Phase 7: Assemble Page
146
-
147
- 16. **Update `app/page.tsx`**:
148
- ```typescript
149
- import { Navbar } from "@/features/landing/navbar"
150
- import { Hero } from "@/features/landing/hero"
151
- import { Features } from "@/features/landing/features"
152
- // ... other imports
153
-
154
- export default function HomePage() {
155
- return (
156
- <>
157
- <Navbar />
158
- <main>
159
- <Hero />
160
- <Features />
161
- {/* Other sections */}
162
- </main>
163
- <Footer />
164
- </>
165
- )
166
- }
167
- ```
168
-
169
- 17. **Add smooth scrolling** in `globals.css`:
170
- ```css
171
- html { scroll-behavior: smooth; }
172
- ```
173
-
174
- ## Phase 8: Quality Assurance
175
-
176
- 18. **Mobile responsiveness**:
177
- - Test at 375px (iPhone SE)
178
- - Verify touch targets (44x44px min)
179
- - Check text readability (16px min)
180
- - Test mobile navigation
181
-
182
- 19. **Accessibility audit**:
183
- - Tab through entire page
184
- - Verify heading hierarchy (h1 → h2 → h3)
185
- - Check alt text on images
186
- - Verify color contrast
187
- - Add ARIA labels on icon buttons
188
-
189
- 20. **Performance optimization**:
190
- - Use next/image with width/height
191
- - Add `priority` to hero image
192
- - Use `loading="lazy"` below fold
193
-
194
- 21. **Final verification**:
195
- ```bash
196
- pnpm format
197
- pnpm lint
198
- pnpm ts
199
- pnpm build
200
- ```
201
- </process>
202
-
203
- <constraints>
204
- **DESIGN STANDARDS**:
205
- - Modern, contemporary design (not dated Bootstrap-style)
206
- - Mobile-first responsive approach
207
- - WCAG 2.1 AA accessibility compliance
208
- - Lighthouse score 90+ target
209
-
210
- **CODE QUALITY**:
211
- - Follow existing project conventions
212
- - Use path aliases (@/components, @/features)
213
- - TypeScript strict mode
214
- - No placeholder content - use real spec content
215
-
216
- **COMPONENT RULES**:
217
- - Prioritize official Shadcn UI components
218
- - Use next/image for all images
219
- - Use next/font for typography
220
- - Respect existing component patterns
221
-
222
- **NEVER**:
223
- - Overwrite existing components without understanding
224
- - Use placeholder text instead of spec content
225
- - Skip mobile responsiveness
226
- - Ignore accessibility requirements
227
- - Add unused dependencies
228
- </constraints>
229
-
230
- <output>
231
- **Files created in `src/features/landing/`** (or matching structure):
232
- - `navbar.tsx` - Navigation header
233
- - `hero.tsx` - Hero section
234
- - `features.tsx` - Features grid
235
- - `pricing.tsx` - Pricing tiers (if in spec)
236
- - `faq.tsx` - FAQ accordion (if in spec)
237
- - `cta.tsx` - Call-to-action sections
238
- - `footer.tsx` - Footer navigation
239
-
240
- **Documentation**:
241
- - `landing-page-components.md` - Component sources and customizations
242
-
243
- **Updated files**:
244
- - `app/page.tsx` - Assembled landing page
245
- - `app/globals.css` - Theme variables and brand colors
246
- </output>
247
-
248
- <success_criteria>
249
- - All spec sections implemented with real content (not placeholders)
250
- - Mobile responsive on all breakpoints (375px, 768px, 1024px, 1440px)
251
- - WCAG 2.1 AA accessible (keyboard nav, contrast, alt text)
252
- - Lighthouse performance score 90+
253
- - All links and CTAs functional
254
- - No console errors
255
- - Build passes without warnings
256
- - Matches spec design preferences and brand colors
257
- </success_criteria>
@@ -1,160 +0,0 @@
1
- Install and configure tmux with Ghostty on macOS. This sets up a minimalist tmux with direct keyboard shortcuts (no prefix needed for common actions), auto-naming tabs, session persistence, and a clean status bar.
2
-
3
- ## Step 1: Install tmux
4
-
5
- ```bash
6
- brew install tmux
7
- ```
8
-
9
- ## Step 2: Install TPM (plugin manager)
10
-
11
- ```bash
12
- git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
13
- ```
14
-
15
- ## Step 3: Write `~/.tmux.conf`
16
-
17
- ```
18
- # Mouse
19
- set -g mouse on
20
-
21
- # Start at 1
22
- set -g base-index 1
23
- setw -g pane-base-index 1
24
-
25
- # Prefix = Ctrl+A
26
- unbind C-b
27
- set -g prefix C-a
28
- bind C-a send-prefix
29
-
30
- # Visual feedback when prefix is pressed
31
- set -g status-left '#{?client_prefix,#[fg=green bold] TMUX ,}'
32
-
33
- # Actions (Ctrl+A puis...)
34
- bind c new-window -c "#{pane_current_path}"
35
- bind s split-window -h -c "#{pane_current_path}"
36
- bind d split-window -v -c "#{pane_current_path}"
37
- bind w kill-pane
38
- bind r command-prompt -I "#W" "rename-window '%%'"
39
- bind f copy-mode
40
- bind h list-keys
41
-
42
- # Switch panes (no prefix)
43
- bind -n M-Left select-pane -L
44
- bind -n M-Right select-pane -R
45
- bind -n M-Up select-pane -U
46
- bind -n M-Down select-pane -D
47
-
48
- # Switch windows (no prefix)
49
- bind -n S-Left previous-window
50
- bind -n S-Right next-window
51
-
52
- # Settings
53
- set -g history-limit 50000
54
- set -sg escape-time 0
55
- set -g default-terminal "screen-256color"
56
- set -ag terminal-overrides ",xterm-256color:RGB"
57
- set -g renumber-windows on
58
-
59
- # Minimal status bar
60
- set -g status-position bottom
61
- set -g status-style 'bg=default fg=#555555'
62
- set -g status-right '#[fg=#555555]#S'
63
- set -g allow-rename on
64
- set -g set-titles on
65
- set -g set-titles-string '#{pane_title}'
66
- setw -g automatic-rename on
67
- setw -g automatic-rename-format '#{pane_title}'
68
- setw -g window-status-format '#[fg=#555555] #I:#W'
69
- setw -g window-status-current-format '#[fg=white,bold] #I:#W'
70
- set -g status-justify left
71
-
72
- # Pane borders
73
- set -g pane-border-style 'fg=#333333'
74
- set -g pane-active-border-style 'fg=#555555'
75
-
76
- # Plugins
77
- set -g @plugin 'tmux-plugins/tpm'
78
- set -g @plugin 'tmux-plugins/tmux-resurrect'
79
- set -g @plugin 'tmux-plugins/tmux-continuum'
80
- set -g @plugin 'tmux-plugins/tmux-yank'
81
-
82
- set -g @resurrect-capture-pane-contents 'on'
83
- set -g @continuum-restore 'on'
84
-
85
- run '~/.tmux/plugins/tpm/tpm'
86
- ```
87
-
88
- ## Step 4: Add Ghostty keybinds
89
-
90
- Add these lines to `~/Library/Application Support/com.mitchellh.ghostty/config`:
91
-
92
- ```
93
- keybind = ctrl+shift+t=text:\x01c
94
- keybind = ctrl+shift+s=text:\x01s
95
- keybind = ctrl+shift+d=text:\x01d
96
- keybind = ctrl+shift+w=text:\x01w
97
- keybind = ctrl+shift+r=text:\x01r
98
- macos-option-as-alt = left
99
- ```
100
-
101
- `macos-option-as-alt = left` is required for Alt+Arrow pane switching to work.
102
-
103
- ## Step 5: Install plugins
104
-
105
- ```bash
106
- ~/.tmux/plugins/tpm/bin/install_plugins
107
- ```
108
-
109
- ## Step 6: Reload
110
-
111
- ```bash
112
- tmux source-file ~/.tmux.conf
113
- ```
114
-
115
- Then restart Ghostty (Cmd+Q and reopen).
116
-
117
- ## Shortcuts
118
-
119
- ### Direct shortcuts (no prefix)
120
-
121
- | Action | Shortcut |
122
- | --- | --- |
123
- | New tab | `Ctrl+Shift+T` |
124
- | Split côte à côte | `Ctrl+Shift+S` |
125
- | Split haut/bas | `Ctrl+Shift+D` |
126
- | Fermer pane | `Ctrl+Shift+W` |
127
- | Renommer tab | `Ctrl+Shift+R` |
128
- | Changer de pane | `Alt + Flèches` |
129
- | Changer de tab | `Shift + Left/Right` |
130
- | Scroll | Molette souris |
131
-
132
- ### Prefix shortcuts (Ctrl+A puis...)
133
-
134
- When you press Ctrl+A, " TMUX " appears in green = tmux is listening.
135
-
136
- | Touche | Action |
137
- | --- | --- |
138
- | `c` | nouveau tab |
139
- | `s` | split côte à côte |
140
- | `d` | split haut/bas |
141
- | `w` | fermer pane |
142
- | `r` | renommer tab |
143
- | `f` | mode scroll |
144
- | `h` | voir tous les raccourcis |
145
- | `1-9` | aller au tab N |
146
-
147
- ### Sessions
148
-
149
- | Action | Command |
150
- | --- | --- |
151
- | Nouvelle session | `tmux new -s nom` |
152
- | Lister sessions | `tmux ls` |
153
- | Se rattacher | `tmux a` |
154
- | Détacher | `Ctrl+A` puis `d` |
155
-
156
- ## Plugins installed
157
-
158
- - **tmux-resurrect**: save/restore sessions (survives reboot)
159
- - **tmux-continuum**: auto-restore last session on launch
160
- - **tmux-yank**: copy in tmux goes to system clipboard