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.
- package/README.md +25 -18
- package/agents-config/claude-config/scripts/statusline/data/.gitignore +8 -0
- package/agents-config/claude-config/scripts/statusline/data/.gitkeep +0 -0
- package/agents-config/claude-config/scripts/statusline/defaults.json +10 -10
- package/agents-config/claude-config/scripts/statusline/src/commands/interactive-config.ts +118 -6
- package/agents-config/claude-config/scripts/statusline/src/index.ts +100 -9
- package/agents-config/claude-config/scripts/statusline/src/lib/config.ts +28 -2
- package/agents-config/claude-config/scripts/statusline/src/lib/features/limits/commands/weekly-analysis.ts +108 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/features/limits/index.ts +164 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/features/limits/types.ts +15 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/migrate-to-sqlite.ts +136 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/spend-day.ts +79 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/spend-month.ts +66 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/spend-project.ts +85 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/database.ts +395 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/index.ts +178 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/payload-logger.ts +163 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/types.ts +37 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/presets.ts +13 -13
- package/agents-config/claude-config/scripts/statusline/statusline.config.free.json +4 -1
- package/agents-config/claude-config/scripts/statusline/statusline.config.json +44 -23
- package/agents-config/scripts/statusline/data/.gitignore +8 -0
- package/agents-config/scripts/statusline/data/.gitkeep +0 -0
- package/agents-config/scripts/statusline/defaults.json +10 -10
- package/agents-config/scripts/statusline/src/commands/interactive-config.ts +118 -6
- package/agents-config/scripts/statusline/src/index.ts +100 -9
- package/agents-config/scripts/statusline/src/lib/config.ts +28 -2
- package/agents-config/scripts/statusline/src/lib/features/limits/commands/weekly-analysis.ts +108 -0
- package/agents-config/scripts/statusline/src/lib/features/limits/index.ts +164 -0
- package/agents-config/scripts/statusline/src/lib/features/limits/types.ts +15 -0
- package/agents-config/scripts/statusline/src/lib/features/spend/commands/migrate-to-sqlite.ts +136 -0
- package/agents-config/scripts/statusline/src/lib/features/spend/commands/spend-day.ts +79 -0
- package/agents-config/scripts/statusline/src/lib/features/spend/commands/spend-month.ts +66 -0
- package/agents-config/scripts/statusline/src/lib/features/spend/commands/spend-project.ts +85 -0
- package/agents-config/scripts/statusline/src/lib/features/spend/database.ts +395 -0
- package/agents-config/scripts/statusline/src/lib/features/spend/index.ts +178 -0
- package/agents-config/scripts/statusline/src/lib/features/spend/payload-logger.ts +163 -0
- package/agents-config/scripts/statusline/src/lib/features/spend/types.ts +37 -0
- package/agents-config/scripts/statusline/src/lib/presets.ts +13 -13
- package/agents-config/scripts/statusline/statusline.config.free.json +4 -1
- package/agents-config/scripts/statusline/statusline.config.json +44 -23
- package/agents-config/skills/{agents-managers → agents-manager}/SKILL.md +1 -1
- package/agents-config/skills/{agents-managers → agents-manager}/references/writing-agent-prompts.md +1 -1
- package/agents-config/skills/apex/SKILL.md +61 -0
- package/agents-config/skills/appstore-connect/SKILL.md +2 -2
- package/agents-config/skills/{appstore-connect-setup/SKILL.md → appstore-connect/references/setup.md} +3 -6
- package/agents-config/skills/environments-manager/SKILL.md +6 -6
- package/agents-config/skills/environments-manager/examples/{claude/commands/dev.md → skills/dev/SKILL.md} +2 -1
- package/agents-config/skills/environments-manager/examples/{claude/commands/lint.md → skills/lint/SKILL.md} +2 -1
- package/agents-config/skills/environments-manager/examples/{claude/commands/test.md → skills/test/SKILL.md} +2 -1
- package/agents-config/skills/environments-manager/examples/{claude/commands/typecheck.md → skills/typecheck/SKILL.md} +2 -1
- package/agents-config/skills/environments-manager/references/claude.md +13 -9
- package/agents-config/skills/environments-manager/references/cursor.md +2 -2
- package/agents-config/skills/ios-testflight/SKILL.md +2 -2
- package/agents-config/{commands/prompts/prompt.md → skills/prompt/SKILL.md} +5 -0
- package/agents-config/{commands/prompts/tools.md → skills/tools/SKILL.md} +1 -0
- package/agents-config/skills/ultrathink/SKILL.md +1 -1
- package/agents-config/skills/use-style/SKILL.md +7 -4
- package/agents-config/skills/use-style/examples/luma.html +221 -0
- package/agents-config/skills/use-style/examples/testspirite.html +340 -0
- package/agents-config/skills/use-style/styles/ios-app.md +350 -0
- package/agents-config/skills/use-style/styles/luma.md +422 -0
- package/agents-config/skills/use-style/styles/new-york-times.md +1 -1
- package/agents-config/skills/use-style/styles/split-auth.md +2 -2
- package/agents-config/skills/use-style/styles/testspirite.md +397 -0
- package/dist/cli.js +56 -118
- package/package.json +1 -1
- package/agents-config/claude-config/scripts/.claude/commands/fix-on-my-computer.md +0 -87
- package/agents-config/commands/prompts/create-vitejs-app.md +0 -272
- package/agents-config/commands/prompts/nextjs-add-prisma-db.md +0 -136
- package/agents-config/commands/prompts/nextjs-setup-better-auth.md +0 -173
- package/agents-config/commands/prompts/nextjs-setup-project.md +0 -200
- package/agents-config/commands/prompts/saas-challenge-idea.md +0 -135
- package/agents-config/commands/prompts/saas-create-architecture.md +0 -242
- package/agents-config/commands/prompts/saas-create-headline.md +0 -132
- package/agents-config/commands/prompts/saas-create-landing-copywritting.md +0 -267
- package/agents-config/commands/prompts/saas-create-legals-docs.md +0 -176
- package/agents-config/commands/prompts/saas-create-logos.md +0 -240
- package/agents-config/commands/prompts/saas-create-prd.md +0 -195
- package/agents-config/commands/prompts/saas-create-tasks.md +0 -240
- package/agents-config/commands/prompts/saas-define-pricing.md +0 -293
- package/agents-config/commands/prompts/saas-find-domain-name.md +0 -190
- package/agents-config/commands/prompts/saas-implement-landing-page.md +0 -257
- package/agents-config/commands/prompts/setup-tmux.md +0 -160
- /package/agents-config/skills/{agents-managers → agents-manager}/references/agents.md +0 -0
- /package/agents-config/skills/{agents-managers → agents-manager}/references/context-management.md +0 -0
- /package/agents-config/skills/{agents-managers → agents-manager}/references/debugging-agents.md +0 -0
- /package/agents-config/skills/{agents-managers → agents-manager}/references/error-handling-and-recovery.md +0 -0
- /package/agents-config/skills/{agents-managers → agents-manager}/references/evaluation-and-testing.md +0 -0
- /package/agents-config/skills/{agents-managers → agents-manager}/references/orchestration-patterns.md +0 -0
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Setup a complete Next.js project with TypeScript, Tailwind, shadcn/ui, TanStack Query, and theme support
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<objective>
|
|
6
|
-
Setup a production-ready Next.js project in the current directory with the complete AIBlueprint stack.
|
|
7
|
-
|
|
8
|
-
This creates a Next.js 15 App Router project with TypeScript, Tailwind CSS, shadcn/ui components, TanStack Query, dark/light theme toggle, dialog manager, server toast, and a landing page with navbar.
|
|
9
|
-
</objective>
|
|
10
|
-
|
|
11
|
-
<context>
|
|
12
|
-
Current directory: !`pwd`
|
|
13
|
-
Directory contents: !`ls -la`
|
|
14
|
-
Existing package.json: !`cat package.json 2>/dev/null | head -10 || echo "No package.json"`
|
|
15
|
-
</context>
|
|
16
|
-
|
|
17
|
-
<process>
|
|
18
|
-
## Phase 1: Project Initialization
|
|
19
|
-
|
|
20
|
-
1. **Create Next.js project**:
|
|
21
|
-
```bash
|
|
22
|
-
npx create-next-app@latest . --typescript --tailwind --eslint --app --no-src-dir --import-alias "@/*" --yes
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
2. **Create src directory structure**:
|
|
26
|
-
```bash
|
|
27
|
-
mkdir -p src/components src/lib src/features/landing
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
3. **Update tsconfig.json** - Configure path aliases:
|
|
31
|
-
```json
|
|
32
|
-
{
|
|
33
|
-
"compilerOptions": {
|
|
34
|
-
"baseUrl": ".",
|
|
35
|
-
"paths": {
|
|
36
|
-
"@/*": ["./src/*"]
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
4. **Clean default files** - Replace `app/page.tsx` with simple placeholder
|
|
43
|
-
|
|
44
|
-
## Phase 2: Core Libraries
|
|
45
|
-
|
|
46
|
-
5. **Install TanStack Query**:
|
|
47
|
-
```bash
|
|
48
|
-
pnpm add @tanstack/react-query
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
6. **Create providers** - `app/providers.tsx`:
|
|
52
|
-
```typescript
|
|
53
|
-
"use client";
|
|
54
|
-
|
|
55
|
-
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
56
|
-
import { ThemeProvider } from "next-themes";
|
|
57
|
-
import { useState } from "react";
|
|
58
|
-
|
|
59
|
-
export function Providers({ children }: { children: React.ReactNode }) {
|
|
60
|
-
const [queryClient] = useState(
|
|
61
|
-
() => new QueryClient({
|
|
62
|
-
defaultOptions: {
|
|
63
|
-
queries: { staleTime: 60 * 1000 },
|
|
64
|
-
},
|
|
65
|
-
})
|
|
66
|
-
);
|
|
67
|
-
|
|
68
|
-
return (
|
|
69
|
-
<QueryClientProvider client={queryClient}>
|
|
70
|
-
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
|
71
|
-
{children}
|
|
72
|
-
</ThemeProvider>
|
|
73
|
-
</QueryClientProvider>
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
7. **Wrap layout with providers** - Update `app/layout.tsx`
|
|
79
|
-
|
|
80
|
-
## Phase 3: UI Components
|
|
81
|
-
|
|
82
|
-
8. **Initialize shadcn/ui**:
|
|
83
|
-
```bash
|
|
84
|
-
pnpm dlx shadcn@latest init
|
|
85
|
-
```
|
|
86
|
-
Configure paths: Components `@/components`, Utils `@/lib/utils`
|
|
87
|
-
|
|
88
|
-
9. **Install base components**:
|
|
89
|
-
```bash
|
|
90
|
-
pnpm dlx shadcn@latest add button input card
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
10. **Install next-themes**:
|
|
94
|
-
```bash
|
|
95
|
-
pnpm add next-themes
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
11. **Create theme toggle** - `src/components/theme-toggle.tsx`:
|
|
99
|
-
- Use `useTheme` from next-themes
|
|
100
|
-
- Handle mounted state for hydration
|
|
101
|
-
- Toggle between dark and light
|
|
102
|
-
|
|
103
|
-
## Phase 4: UI Utilities
|
|
104
|
-
|
|
105
|
-
12. **Install dialog manager**:
|
|
106
|
-
```bash
|
|
107
|
-
pnpm dlx shadcn@latest add https://ui.nowts.app/r/dialog-manager.json
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
13. **Install server toast**:
|
|
111
|
-
```bash
|
|
112
|
-
pnpm dlx shadcn@latest add https://ui.nowts.app/r/server-toast.json
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
14. **Update layout** - Add to `app/layout.tsx`:
|
|
116
|
-
```typescript
|
|
117
|
-
import { DialogManagerRenderer } from "@/lib/dialog-manager/dialog-manager-renderer";
|
|
118
|
-
import { ServerToaster } from "@/components/server-toast/server-toast.server";
|
|
119
|
-
import { Suspense } from "react";
|
|
120
|
-
|
|
121
|
-
// Inside body after Providers:
|
|
122
|
-
<DialogManagerRenderer />
|
|
123
|
-
<Suspense>
|
|
124
|
-
<ServerToaster />
|
|
125
|
-
</Suspense>
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
## Phase 5: Landing Page
|
|
129
|
-
|
|
130
|
-
15. **Install navbar**:
|
|
131
|
-
```bash
|
|
132
|
-
pnpm dlx shadcn@latest add https://coss.com/origin/r/comp-577.json
|
|
133
|
-
```
|
|
134
|
-
Rename to `navbar.tsx` with semantic component name
|
|
135
|
-
|
|
136
|
-
16. **Install landing sections**:
|
|
137
|
-
```bash
|
|
138
|
-
pnpm dlx shadcn@latest add https://shadcn-ui-blocks.akashmoradiya.com/r/hero-03.json
|
|
139
|
-
pnpm dlx shadcn@latest add https://shadcn-ui-blocks.akashmoradiya.com/r/footer-05.json
|
|
140
|
-
pnpm dlx shadcn@latest add https://shadcn-ui-blocks.akashmoradiya.com/r/faq-02.json
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
17. **Organize landing components**:
|
|
144
|
-
- Move to `src/features/landing/`
|
|
145
|
-
- Rename: `hero.tsx`, `footer.tsx`, `faq.tsx`
|
|
146
|
-
- Update component names inside files
|
|
147
|
-
|
|
148
|
-
18. **Assemble landing page** - Update `app/page.tsx`:
|
|
149
|
-
- Import all landing components
|
|
150
|
-
- Navbar with logo, signin link, theme toggle
|
|
151
|
-
- Hero, FAQ, Footer sections
|
|
152
|
-
|
|
153
|
-
## Phase 6: Quality & Documentation
|
|
154
|
-
|
|
155
|
-
19. **Add quality scripts** to `package.json`:
|
|
156
|
-
```json
|
|
157
|
-
{
|
|
158
|
-
"lint": "eslint .",
|
|
159
|
-
"ts": "tsc --noEmit"
|
|
160
|
-
}
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
20. **Run quality checks**:
|
|
164
|
-
```bash
|
|
165
|
-
pnpm lint
|
|
166
|
-
pnpm ts
|
|
167
|
-
```
|
|
168
|
-
Fix any errors before completing
|
|
169
|
-
|
|
170
|
-
21. **Create CLAUDE.md** with:
|
|
171
|
-
- Stack overview (Next.js 15, TanStack Query, shadcn/ui)
|
|
172
|
-
- Directory structure explanation
|
|
173
|
-
- UI Utilities section (dialog manager, server toast usage)
|
|
174
|
-
- Project structure section
|
|
175
|
-
|
|
176
|
-
22. **Create AGENTS.md** as symlink:
|
|
177
|
-
```bash
|
|
178
|
-
ln -s CLAUDE.md AGENTS.md
|
|
179
|
-
```
|
|
180
|
-
</process>
|
|
181
|
-
|
|
182
|
-
<output>
|
|
183
|
-
**Files created**:
|
|
184
|
-
- `app/` - Next.js App Router pages and layouts
|
|
185
|
-
- `src/components/` - UI components including shadcn/ui
|
|
186
|
-
- `src/lib/` - Utilities and helpers
|
|
187
|
-
- `src/features/landing/` - Landing page components
|
|
188
|
-
- `CLAUDE.md` - Project documentation
|
|
189
|
-
- `AGENTS.md` - Symlink to CLAUDE.md
|
|
190
|
-
</output>
|
|
191
|
-
|
|
192
|
-
<success_criteria>
|
|
193
|
-
- `pnpm dev` starts without errors
|
|
194
|
-
- `pnpm lint` passes
|
|
195
|
-
- `pnpm ts` passes (no TypeScript errors)
|
|
196
|
-
- Landing page renders with navbar, hero, FAQ, footer
|
|
197
|
-
- Theme toggle switches between dark/light mode
|
|
198
|
-
- Dialog manager and server toast are integrated
|
|
199
|
-
- CLAUDE.md contains complete stack documentation
|
|
200
|
-
</success_criteria>
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Challenge and validate a business idea through competitive research and brutally honest market analysis
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<objective>
|
|
6
|
-
Challenge and validate a business idea through competitive research and market analysis.
|
|
7
|
-
|
|
8
|
-
Provide brutally honest, evidence-based feedback on whether the idea has genuine market potential or should be abandoned/pivoted. Save founders from wasting time on bad ideas.
|
|
9
|
-
</objective>
|
|
10
|
-
|
|
11
|
-
<process>
|
|
12
|
-
## Phase 1: Gather the Idea
|
|
13
|
-
|
|
14
|
-
1. **If idea not provided**, ask the user:
|
|
15
|
-
> "Tell me about your idea:
|
|
16
|
-
> - What problem does it solve?
|
|
17
|
-
> - Who is it for?
|
|
18
|
-
> - What's your proposed solution?
|
|
19
|
-
> - What makes it different?"
|
|
20
|
-
|
|
21
|
-
2. **Do NOT proceed** until you understand:
|
|
22
|
-
- The specific problem being solved
|
|
23
|
-
- The target user/customer
|
|
24
|
-
- The proposed solution
|
|
25
|
-
- Any claimed differentiation
|
|
26
|
-
|
|
27
|
-
## Phase 2: Research Competitors
|
|
28
|
-
|
|
29
|
-
3. **Use web search** to find existing solutions:
|
|
30
|
-
- Search: "[problem] tool", "[solution] software", "[target user] platform"
|
|
31
|
-
- Check: Product Hunt, Y Combinator portfolio, Crunchbase
|
|
32
|
-
- Search: Reddit discussions, Alternative.to
|
|
33
|
-
|
|
34
|
-
4. **For each competitor**, document:
|
|
35
|
-
- Name and URL
|
|
36
|
-
- What they do (brief description)
|
|
37
|
-
- Pricing model (free/paid/freemium)
|
|
38
|
-
- Revenue signals: funding, team size, visible traction
|
|
39
|
-
- Market positioning
|
|
40
|
-
|
|
41
|
-
5. **Find 5-10 competitors minimum** - both direct and indirect:
|
|
42
|
-
- **Direct**: Same problem, same solution approach
|
|
43
|
-
- **Indirect**: Same problem, different solution approach
|
|
44
|
-
|
|
45
|
-
## Phase 3: Analyze the Market
|
|
46
|
-
|
|
47
|
-
6. **Assess market saturation**:
|
|
48
|
-
- 10+ competitors = Crowded (high risk, need strong differentiation)
|
|
49
|
-
- 3-9 competitors = Moderate (validated demand, need positioning)
|
|
50
|
-
- 1-2 competitors = Sparse (early market or weak demand)
|
|
51
|
-
- 0 competitors = Usually no market (rarely means opportunity)
|
|
52
|
-
|
|
53
|
-
7. **Evaluate revenue signals**:
|
|
54
|
-
- **Strong**: Paid tiers, funding raised, growing teams
|
|
55
|
-
- **Weak**: Free only, abandoned projects, no monetization
|
|
56
|
-
|
|
57
|
-
8. **Check opportunity**:
|
|
58
|
-
- Is there proof people PAY for this?
|
|
59
|
-
- Is there room for another player?
|
|
60
|
-
- What would truly differentiate this idea?
|
|
61
|
-
|
|
62
|
-
## Phase 4: Deliver Honest Feedback
|
|
63
|
-
|
|
64
|
-
9. **Generate validation report** in this format:
|
|
65
|
-
|
|
66
|
-
```markdown
|
|
67
|
-
# Validation: [Idea Name]
|
|
68
|
-
|
|
69
|
-
## Quick Summary
|
|
70
|
-
[1 sentence - what their idea is]
|
|
71
|
-
|
|
72
|
-
## What I Found
|
|
73
|
-
|
|
74
|
-
**Competitors**:
|
|
75
|
-
1. [Name] - [What they do, pricing, traction signals]
|
|
76
|
-
2. [Name] - [What they do, pricing, traction signals]
|
|
77
|
-
3. [Continue for 3-5 key competitors]
|
|
78
|
-
|
|
79
|
-
**Market**: [Crowded/Moderate/Sparse] - [1 sentence why]
|
|
80
|
-
**Revenue proof**: [Yes/No] - [Evidence people pay for this]
|
|
81
|
-
|
|
82
|
-
## Viability Score: [X/10]
|
|
83
|
-
|
|
84
|
-
[2-3 sentences explaining the score - be direct, no fluff]
|
|
85
|
-
|
|
86
|
-
## The Hard Truth
|
|
87
|
-
|
|
88
|
-
**What's actually unique**: [What truly differentiates this, if anything]
|
|
89
|
-
**What's NOT unique**: [What they claim is unique but competitors already do]
|
|
90
|
-
|
|
91
|
-
**Biggest problems**:
|
|
92
|
-
- [Problem 1]
|
|
93
|
-
- [Problem 2]
|
|
94
|
-
- [Problem 3]
|
|
95
|
-
|
|
96
|
-
## My Take
|
|
97
|
-
|
|
98
|
-
**Would I build this?** [Yes/No/Maybe]
|
|
99
|
-
|
|
100
|
-
**Why**: [Honest opinion in 1-2 sentences - don't hold back]
|
|
101
|
-
|
|
102
|
-
**If you proceed**: [Specific advice on how to differentiate]
|
|
103
|
-
**If you pivot**: [Specific pivot suggestion based on research]
|
|
104
|
-
|
|
105
|
-
**Bottom line**: [Final direct recommendation - pursue, pivot, or kill]
|
|
106
|
-
```
|
|
107
|
-
</process>
|
|
108
|
-
|
|
109
|
-
<constraints>
|
|
110
|
-
**BE BRUTALLY HONEST**:
|
|
111
|
-
- Don't sugarcoat bad ideas
|
|
112
|
-
- Be rude if necessary - founders need truth
|
|
113
|
-
- Call out red flags directly
|
|
114
|
-
- Use evidence from research, not opinions
|
|
115
|
-
|
|
116
|
-
**ALWAYS RESEARCH FIRST**:
|
|
117
|
-
- Never give feedback without finding real competitors
|
|
118
|
-
- Challenge claims of "no competitors exist"
|
|
119
|
-
- Focus on whether people actually PAY for solutions
|
|
120
|
-
|
|
121
|
-
**RED FLAGS TO CALL OUT**:
|
|
122
|
-
- "Uber for X" without unique insight
|
|
123
|
-
- Solution looking for a problem
|
|
124
|
-
- Targeting "everyone" (no clear user)
|
|
125
|
-
- Ignoring dominant market leaders
|
|
126
|
-
- Claims no competitors exist (almost always false)
|
|
127
|
-
</constraints>
|
|
128
|
-
|
|
129
|
-
<success_criteria>
|
|
130
|
-
- Found and documented 5+ real competitors with web research
|
|
131
|
-
- Provided specific pricing and revenue signals for competitors
|
|
132
|
-
- Gave honest viability score with clear reasoning
|
|
133
|
-
- Called out what's NOT unique about the idea
|
|
134
|
-
- Provided actionable recommendation: pursue, pivot, or kill
|
|
135
|
-
</success_criteria>
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Design technical architecture for a Next.js SaaS application based on PRD requirements
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<objective>
|
|
6
|
-
Design the complete technical architecture for a Next.js application based on the Product Requirements Document.
|
|
7
|
-
|
|
8
|
-
Define tool selection, technology stack decisions, infrastructure choices, and architecture patterns. Challenge every decision to ensure the best fit for specific needs. This comes AFTER the PRD - the PRD defines WHAT to build, this defines HOW to build it.
|
|
9
|
-
</objective>
|
|
10
|
-
|
|
11
|
-
<context>
|
|
12
|
-
Tools reference: @https://github.com/Melvynx/aiblueprint/blob/main/ai-coding/tools.md
|
|
13
|
-
</context>
|
|
14
|
-
|
|
15
|
-
<process>
|
|
16
|
-
## Phase 1: Read PRD
|
|
17
|
-
|
|
18
|
-
1. **Ask for PRD location**:
|
|
19
|
-
> "Where is your PRD? Please provide the file path or paste the content."
|
|
20
|
-
|
|
21
|
-
2. **Extract from PRD**:
|
|
22
|
-
- **Core Features**: What features drive architecture decisions
|
|
23
|
-
- **User Personas**: Who uses this (impacts willingness to pay for tools)
|
|
24
|
-
- **Success Metrics**: Performance/scale targets
|
|
25
|
-
- **Timeline**: MVP timeline (impacts complexity decisions)
|
|
26
|
-
- **Out of Scope**: What WON'T be built in v1
|
|
27
|
-
|
|
28
|
-
3. **Map technical implications**:
|
|
29
|
-
- Real-time features → Need WebSocket/real-time database
|
|
30
|
-
- File uploads → Need storage solution
|
|
31
|
-
- AI features → Need LLM integration
|
|
32
|
-
- Multi-user/teams → Need robust auth and permissions
|
|
33
|
-
- High traffic → Need caching and performance optimization
|
|
34
|
-
|
|
35
|
-
## Phase 2: Read Tools Reference
|
|
36
|
-
|
|
37
|
-
4. **Fetch tools.md** - Read the complete tool reference at:
|
|
38
|
-
https://github.com/Melvynx/aiblueprint/blob/main/ai-coding/tools.md
|
|
39
|
-
|
|
40
|
-
5. **Use as primary source** for tool recommendations
|
|
41
|
-
|
|
42
|
-
## Phase 3: Information Gathering
|
|
43
|
-
|
|
44
|
-
6. **Ask questions progressively** (don't ask all at once):
|
|
45
|
-
|
|
46
|
-
**Frontend Requirements**:
|
|
47
|
-
- UI component strategy? (shadcn/ui, custom, other)
|
|
48
|
-
- Client-side state management beyond React?
|
|
49
|
-
- URL state requirements? (filters, search, pagination)
|
|
50
|
-
- Data fetching pattern? (Server Components, TanStack Query, mix)
|
|
51
|
-
|
|
52
|
-
**Backend & API**:
|
|
53
|
-
- API pattern preference? (Server Actions, API Routes, both)
|
|
54
|
-
- External API access needed?
|
|
55
|
-
- Validation/security layer? (Zod, rate limiting)
|
|
56
|
-
- Third-party API integrations?
|
|
57
|
-
|
|
58
|
-
**Authentication & Authorization**:
|
|
59
|
-
- Authentication method? (email/password, OAuth, magic link, OTP)
|
|
60
|
-
- Organizations/team features?
|
|
61
|
-
- Permission model? (simple roles, complex RBAC, none)
|
|
62
|
-
|
|
63
|
-
**Database & Data**:
|
|
64
|
-
- Data type? (relational, document, real-time, files)
|
|
65
|
-
- SQL vs NoSQL preference?
|
|
66
|
-
- Real-time features? (live updates, collaborative editing)
|
|
67
|
-
- Expected data volume and query patterns?
|
|
68
|
-
- ORM preference? (Prisma, Drizzle)
|
|
69
|
-
|
|
70
|
-
**AI & LLM** (if applicable):
|
|
71
|
-
- AI features needed? (chat, completion, embeddings, vision)
|
|
72
|
-
- LLM providers? (OpenAI, Anthropic, multiple)
|
|
73
|
-
- Streaming responses needed?
|
|
74
|
-
|
|
75
|
-
**Infrastructure**:
|
|
76
|
-
- Deployment platform? (default: Vercel)
|
|
77
|
-
- Expected traffic/scale?
|
|
78
|
-
- Background jobs or cron tasks?
|
|
79
|
-
- Budget constraints?
|
|
80
|
-
|
|
81
|
-
**Additional**:
|
|
82
|
-
- Email sending? (transactional, marketing)
|
|
83
|
-
- File uploads/storage?
|
|
84
|
-
- Payment processing?
|
|
85
|
-
- Analytics/monitoring?
|
|
86
|
-
|
|
87
|
-
## Phase 4: Challenge Every Decision
|
|
88
|
-
|
|
89
|
-
7. **For EVERY tool choice**, challenge with:
|
|
90
|
-
|
|
91
|
-
**"Why This?" Challenge**:
|
|
92
|
-
- Why this tool specifically?
|
|
93
|
-
- What are the alternatives?
|
|
94
|
-
- What's the trade-off?
|
|
95
|
-
|
|
96
|
-
**"Do You Really Need It?" Challenge**:
|
|
97
|
-
- Can you ship without this?
|
|
98
|
-
- Is this solving a real problem or hypothetical future problem?
|
|
99
|
-
- What's the simplest solution that could work?
|
|
100
|
-
|
|
101
|
-
**"What's The Cost?" Challenge**:
|
|
102
|
-
- Learning curve for the team?
|
|
103
|
-
- Monetary cost at scale?
|
|
104
|
-
- Maintenance burden?
|
|
105
|
-
|
|
106
|
-
## Phase 5: Generate Architecture Document
|
|
107
|
-
|
|
108
|
-
8. **Only after gathering ALL information**, create ARCHI.md:
|
|
109
|
-
|
|
110
|
-
```markdown
|
|
111
|
-
# Technical Architecture: [Project Name]
|
|
112
|
-
|
|
113
|
-
## Architecture Overview
|
|
114
|
-
|
|
115
|
-
**Philosophy**: [2-3 sentences on approach and principles]
|
|
116
|
-
|
|
117
|
-
**Tech Stack Summary**:
|
|
118
|
-
- Framework: [e.g., Next.js 15 with App Router]
|
|
119
|
-
- Deployment: [e.g., Vercel serverless]
|
|
120
|
-
- Database: [e.g., Neon PostgreSQL with Prisma]
|
|
121
|
-
- Authentication: [e.g., Better Auth with email/password]
|
|
122
|
-
|
|
123
|
-
## Frontend Architecture
|
|
124
|
-
|
|
125
|
-
### Core Stack
|
|
126
|
-
- **Framework**: [Tool + version]
|
|
127
|
-
- **Why**: [Specific reason]
|
|
128
|
-
- **Trade-off**: [What you gain vs sacrifice]
|
|
129
|
-
|
|
130
|
-
- **UI Components**: [Tool]
|
|
131
|
-
- **Why**: [Reason]
|
|
132
|
-
- **Trade-off**: [Analysis]
|
|
133
|
-
|
|
134
|
-
### State Management
|
|
135
|
-
- **Global State**: [Tool or "React hooks only"]
|
|
136
|
-
- **Server State**: [Tool + pattern]
|
|
137
|
-
- **URL State**: [Tool or "Not needed"]
|
|
138
|
-
|
|
139
|
-
### Data Fetching Strategy
|
|
140
|
-
[Describe pattern - Server Components first, Client when needed, etc.]
|
|
141
|
-
|
|
142
|
-
## Backend Architecture
|
|
143
|
-
|
|
144
|
-
### API Layer
|
|
145
|
-
- **Pattern**: [Server Actions / API Routes / Both]
|
|
146
|
-
- **Validation**: [Tool]
|
|
147
|
-
- **Security**: [Rate limiting, CORS config]
|
|
148
|
-
|
|
149
|
-
### Authentication & Authorization
|
|
150
|
-
- **Provider**: [Tool] - **Why**: [Reason]
|
|
151
|
-
- **Method**: [Email/password, OAuth, etc.]
|
|
152
|
-
- **Authorization**: [Permission model description]
|
|
153
|
-
|
|
154
|
-
### Database & Data Layer
|
|
155
|
-
- **Database**: [Tool + type] - **Why**: [Reason]
|
|
156
|
-
- **ORM**: [Tool] - **Why**: [Justification]
|
|
157
|
-
- **Real-time**: [Tool/approach if needed]
|
|
158
|
-
|
|
159
|
-
### AI Integration (if applicable)
|
|
160
|
-
- **SDK**: [Tool]
|
|
161
|
-
- **Providers**: [Primary + fallback]
|
|
162
|
-
- **Use Cases**: [Feature → model mapping]
|
|
163
|
-
|
|
164
|
-
## Infrastructure & Deployment
|
|
165
|
-
|
|
166
|
-
- **Platform**: [Platform] - **Why**: [Reason]
|
|
167
|
-
- **Region Strategy**: [Single/multi/edge]
|
|
168
|
-
- **Background Jobs**: [Tool or "Not needed"]
|
|
169
|
-
- **Monitoring**: [Tools for app monitoring, errors, analytics]
|
|
170
|
-
|
|
171
|
-
## Additional Services
|
|
172
|
-
|
|
173
|
-
- **Email**: [Provider or "Not needed"]
|
|
174
|
-
- **Storage**: [Provider or "Not needed"]
|
|
175
|
-
- **Payments**: [Provider or "Not needed"]
|
|
176
|
-
|
|
177
|
-
## Architecture Decision Records
|
|
178
|
-
|
|
179
|
-
### ADR-001: [Key Decision Title]
|
|
180
|
-
- **Context**: [Why decision was needed]
|
|
181
|
-
- **Decision**: [What was decided]
|
|
182
|
-
- **Alternatives**: [What else was evaluated]
|
|
183
|
-
- **Rationale**: [Why this choice]
|
|
184
|
-
- **Consequences**: [Trade-offs]
|
|
185
|
-
|
|
186
|
-
## Folder Structure
|
|
187
|
-
[Project structure diagram]
|
|
188
|
-
|
|
189
|
-
## Cost Estimation
|
|
190
|
-
|
|
191
|
-
### Monthly at Scale
|
|
192
|
-
- Database: $[amount]
|
|
193
|
-
- Hosting: $[amount]
|
|
194
|
-
- [Other services]
|
|
195
|
-
- **Total**: ~$[total]/month at [expected scale]
|
|
196
|
-
|
|
197
|
-
### Free Tier Limits
|
|
198
|
-
- [Service]: [Limits]
|
|
199
|
-
|
|
200
|
-
## Implementation Priority
|
|
201
|
-
|
|
202
|
-
### Phase 1: Foundation
|
|
203
|
-
1. [Setup task]
|
|
204
|
-
2. [Setup task]
|
|
205
|
-
|
|
206
|
-
### Phase 2: Core Features
|
|
207
|
-
1. [Feature]
|
|
208
|
-
2. [Feature]
|
|
209
|
-
|
|
210
|
-
### Phase 3: Enhancement
|
|
211
|
-
1. [Enhancement]
|
|
212
|
-
```
|
|
213
|
-
</process>
|
|
214
|
-
|
|
215
|
-
<constraints>
|
|
216
|
-
**MANDATORY BEFORE WRITING**:
|
|
217
|
-
- PRD read completely
|
|
218
|
-
- Tools reference read
|
|
219
|
-
- ALL 8 information areas answered
|
|
220
|
-
- Every tool choice challenged
|
|
221
|
-
|
|
222
|
-
**CHECKLIST**:
|
|
223
|
-
- ✅ PRD understanding complete
|
|
224
|
-
- ✅ Frontend stack decided (aligned with PRD UI needs)
|
|
225
|
-
- ✅ Backend stack decided (supporting PRD features)
|
|
226
|
-
- ✅ Auth strategy decided (matching PRD user personas)
|
|
227
|
-
- ✅ Database choice made (based on PRD data requirements)
|
|
228
|
-
- ✅ AI requirements specified (from PRD AI features)
|
|
229
|
-
- ✅ Infrastructure decided (based on PRD timeline/metrics)
|
|
230
|
-
- ✅ Additional services identified (driven by PRD features)
|
|
231
|
-
|
|
232
|
-
**IF ANY MISSING**: Ask more questions first
|
|
233
|
-
</constraints>
|
|
234
|
-
|
|
235
|
-
<success_criteria>
|
|
236
|
-
- Every technology choice has clear "Why" and "Trade-off"
|
|
237
|
-
- Architecture aligns with ALL PRD features
|
|
238
|
-
- Cost estimation included
|
|
239
|
-
- Implementation phases defined
|
|
240
|
-
- Architecture Decision Records for key choices
|
|
241
|
-
- ARCHI.md saved in same directory as PRD
|
|
242
|
-
</success_criteria>
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Generate clickbait headlines that sound too good to be true for your landing page
|
|
3
|
-
arguments:
|
|
4
|
-
- name: product-description
|
|
5
|
-
description: Brief description of your product and what it does
|
|
6
|
-
required: true
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
<objective>
|
|
10
|
-
Generate 10+ headline options for a landing page that make visitors say "Wait… what?"
|
|
11
|
-
|
|
12
|
-
Headlines should sound slightly clickbait - bold enough to spark curiosity and open a loop in the reader's brain.
|
|
13
|
-
</objective>
|
|
14
|
-
|
|
15
|
-
<process>
|
|
16
|
-
## Phase 1: Understand the Product
|
|
17
|
-
|
|
18
|
-
**Product**: #$ARGUMENTS.product-description
|
|
19
|
-
|
|
20
|
-
1. **If project exists**, find and read:
|
|
21
|
-
- `**/PRD.md` or `**/*prd*.md`
|
|
22
|
-
- `**/*marketing*/**/*.md`
|
|
23
|
-
- Existing landing page files
|
|
24
|
-
|
|
25
|
-
2. **Extract**:
|
|
26
|
-
- Core transformation (before → after)
|
|
27
|
-
- Main pain point
|
|
28
|
-
- Target audience
|
|
29
|
-
- Key differentiator
|
|
30
|
-
|
|
31
|
-
## Phase 2: Generate Headlines
|
|
32
|
-
|
|
33
|
-
4. **Apply the TechCrunch test**: If TechCrunch wrote an article about this product, what would the headline be?
|
|
34
|
-
|
|
35
|
-
5. **Generate 10+ headlines** using these patterns:
|
|
36
|
-
|
|
37
|
-
**Result + Timeline**:
|
|
38
|
-
|
|
39
|
-
- "Launch your SaaS in days, not months"
|
|
40
|
-
- "Learn to code in weeks, not years"
|
|
41
|
-
|
|
42
|
-
**Transformation Promise**:
|
|
43
|
-
|
|
44
|
-
- "From zero to shipped in one weekend"
|
|
45
|
-
- "Turn your idea into a live product tonight"
|
|
46
|
-
|
|
47
|
-
**Pain Elimination**:
|
|
48
|
-
|
|
49
|
-
- "Never write boilerplate code again"
|
|
50
|
-
- "Stop wasting months building the same features"
|
|
51
|
-
|
|
52
|
-
**Social Proof + Promise**:
|
|
53
|
-
|
|
54
|
-
- "Join 7,000+ developers who ship faster"
|
|
55
|
-
- "The secret 10,000 entrepreneurs use to launch"
|
|
56
|
-
|
|
57
|
-
**Specific Number**:
|
|
58
|
-
|
|
59
|
-
- "Get 10x more done with half the work"
|
|
60
|
-
- "Build a $10K/month SaaS in 30 days"
|
|
61
|
-
|
|
62
|
-
**Question Format**:
|
|
63
|
-
|
|
64
|
-
- "What if you could launch this weekend?"
|
|
65
|
-
- "Ready to ship your startup in 48 hours?"
|
|
66
|
-
|
|
67
|
-
**Too-Good-To-Be-True**:
|
|
68
|
-
|
|
69
|
-
- "All the code you need. None of the headaches."
|
|
70
|
-
- "Build like a senior dev on day one."
|
|
71
|
-
|
|
72
|
-
## Phase 3: Output
|
|
73
|
-
|
|
74
|
-
6. **Create HEADLINE.md** with this exact format:
|
|
75
|
-
|
|
76
|
-
```markdown
|
|
77
|
-
# Headline Options for [Product Name]
|
|
78
|
-
|
|
79
|
-
## Recommended
|
|
80
|
-
|
|
81
|
-
**[Best headline]**
|
|
82
|
-
_Why: [One sentence explaining why this works]_
|
|
83
|
-
|
|
84
|
-
## All Options
|
|
85
|
-
|
|
86
|
-
1. [Headline]
|
|
87
|
-
2. [Headline]
|
|
88
|
-
3. [Headline]
|
|
89
|
-
4. [Headline]
|
|
90
|
-
5. [Headline]
|
|
91
|
-
6. [Headline]
|
|
92
|
-
7. [Headline]
|
|
93
|
-
8. [Headline]
|
|
94
|
-
9. [Headline]
|
|
95
|
-
10. [Headline]
|
|
96
|
-
|
|
97
|
-
## Testing Advice
|
|
98
|
-
|
|
99
|
-
Send to 5 friends. After 24h, ask which they remember. Pick that one.
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
</process>
|
|
103
|
-
|
|
104
|
-
<constraints>
|
|
105
|
-
**GOOD HEADLINES**:
|
|
106
|
-
- Sound too good to be true
|
|
107
|
-
- Open a curiosity loop
|
|
108
|
-
- Focus on results, not features
|
|
109
|
-
- Are specific (numbers, timeframes)
|
|
110
|
-
- Make people scroll to learn more
|
|
111
|
-
|
|
112
|
-
**BAD HEADLINES**:
|
|
113
|
-
|
|
114
|
-
- Generic: "The best solution for X"
|
|
115
|
-
- Feature-focused: "We have AI-powered..."
|
|
116
|
-
- Boring: "Welcome to our product"
|
|
117
|
-
- Safe: "A tool for developers"
|
|
118
|
-
- Vague: "Build better software"
|
|
119
|
-
|
|
120
|
-
**NEVER**:
|
|
121
|
-
|
|
122
|
-
- Write "clean" or "safe" copy that nobody remembers
|
|
123
|
-
- Use corporate jargon
|
|
124
|
-
- Lead with features
|
|
125
|
-
- Be forgettable
|
|
126
|
-
</constraints>
|
|
127
|
-
|
|
128
|
-
<output>
|
|
129
|
-
**File**: HEADLINE.md in same directory as PRD (or current directory)
|
|
130
|
-
**Content**: 10+ headline options with clear recommendation
|
|
131
|
-
**Format**: Simple list, no fluff
|
|
132
|
-
</output>
|