aiblueprint-cli 1.4.59 → 1.4.61
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 +16 -36
- package/agents-config/agents/action.md +1 -1
- package/agents-config/agents/explore-codebase.md +53 -53
- package/agents-config/agents/explore-docs.md +50 -69
- package/agents-config/agents/websearch.md +36 -40
- package/agents-config/claude-config/scripts/.claude/skills/fix-on-my-computer/SKILL.md +81 -0
- package/agents-config/claude-config/scripts/CLAUDE.md +10 -4
- package/agents-config/claude-config/scripts/bun.lockb +0 -0
- package/agents-config/claude-config/scripts/package.json +22 -30
- package/agents-config/claude-config/scripts/statusline/CLAUDE.md +37 -155
- package/agents-config/claude-config/scripts/statusline/README.md +18 -94
- package/agents-config/claude-config/scripts/statusline/defaults.json +13 -10
- package/agents-config/claude-config/scripts/statusline/fixtures/mock-transcript.jsonl +4 -4
- package/agents-config/claude-config/scripts/statusline/fixtures/test-input.json +4 -4
- package/agents-config/claude-config/scripts/statusline/src/commands/interactive-config.ts +403 -0
- package/agents-config/claude-config/scripts/statusline/src/index.ts +33 -82
- package/agents-config/claude-config/scripts/statusline/src/lib/config-types.ts +7 -1
- package/agents-config/claude-config/scripts/statusline/src/lib/formatters.ts +40 -0
- package/agents-config/claude-config/scripts/statusline/src/lib/presets.ts +13 -13
- package/agents-config/claude-config/scripts/statusline/src/lib/render-pure.ts +24 -5
- package/agents-config/claude-config/scripts/statusline/statusline.config.free.json +79 -0
- package/agents-config/claude-config/scripts/statusline/statusline.config.json +77 -77
- package/agents-config/codex-config/config.toml +9 -0
- package/agents-config/codex-config/hooks/command-deny-list.ts +203 -0
- package/agents-config/commands/prompts/create-vitejs-app.md +272 -0
- package/agents-config/commands/prompts/nextjs-add-prisma-db.md +136 -0
- package/agents-config/commands/prompts/nextjs-setup-better-auth.md +173 -0
- package/agents-config/commands/prompts/nextjs-setup-project.md +200 -0
- package/agents-config/commands/prompts/prompt.md +55 -0
- package/agents-config/commands/prompts/saas-challenge-idea.md +135 -0
- package/agents-config/commands/prompts/saas-create-architecture.md +242 -0
- package/agents-config/commands/prompts/saas-create-headline.md +132 -0
- package/agents-config/commands/prompts/saas-create-landing-copywritting.md +267 -0
- package/agents-config/commands/prompts/saas-create-legals-docs.md +176 -0
- package/agents-config/commands/prompts/saas-create-logos.md +240 -0
- package/agents-config/commands/prompts/saas-create-prd.md +195 -0
- package/agents-config/commands/prompts/saas-create-tasks.md +240 -0
- package/agents-config/commands/prompts/saas-define-pricing.md +293 -0
- package/agents-config/commands/prompts/saas-find-domain-name.md +190 -0
- package/agents-config/commands/prompts/saas-implement-landing-page.md +257 -0
- package/agents-config/commands/prompts/setup-tmux.md +160 -0
- package/agents-config/commands/prompts/tools.md +148 -0
- package/agents-config/scripts/.claude/skills/fix-on-my-computer/SKILL.md +81 -0
- package/agents-config/scripts/CLAUDE.md +37 -0
- package/agents-config/scripts/biome.json +37 -0
- package/agents-config/scripts/bun.lockb +0 -0
- package/agents-config/scripts/package.json +24 -0
- package/agents-config/scripts/statusline/CLAUDE.md +87 -0
- package/agents-config/scripts/statusline/README.md +117 -0
- package/agents-config/scripts/statusline/__tests__/context.test.ts +229 -0
- package/agents-config/scripts/statusline/__tests__/formatters.test.ts +108 -0
- package/agents-config/scripts/statusline/__tests__/statusline.test.ts +309 -0
- package/agents-config/scripts/statusline/defaults.json +82 -0
- package/agents-config/scripts/statusline/fixtures/mock-transcript.jsonl +4 -0
- package/agents-config/scripts/statusline/fixtures/test-input.json +35 -0
- package/agents-config/scripts/statusline/src/commands/interactive-config.ts +403 -0
- package/agents-config/scripts/statusline/src/index.ts +141 -0
- package/agents-config/scripts/statusline/src/lib/config-types.ts +110 -0
- package/agents-config/scripts/statusline/src/lib/config.ts +21 -0
- package/agents-config/scripts/statusline/src/lib/context.ts +103 -0
- package/agents-config/scripts/statusline/src/lib/formatters.ts +426 -0
- package/agents-config/scripts/statusline/src/lib/git.ts +100 -0
- package/agents-config/scripts/statusline/src/lib/menu-factories.ts +224 -0
- package/agents-config/scripts/statusline/src/lib/presets.ts +177 -0
- package/agents-config/scripts/statusline/src/lib/render-pure.ts +516 -0
- package/agents-config/scripts/statusline/src/lib/types.ts +36 -0
- package/agents-config/scripts/statusline/src/lib/utils.ts +15 -0
- package/agents-config/scripts/statusline/statusline.config.free.json +79 -0
- package/agents-config/scripts/statusline/statusline.config.json +79 -0
- package/agents-config/scripts/statusline/test-with-fixtures.ts +37 -0
- package/agents-config/scripts/statusline/test.ts +20 -0
- package/agents-config/scripts/statusline/tsconfig.json +27 -0
- package/agents-config/scripts/tsconfig.json +27 -0
- package/agents-config/skills/{subagent-creator → agents-managers}/SKILL.md +47 -47
- package/agents-config/skills/{subagent-creator/references/subagents.md → agents-managers/references/agents.md} +45 -45
- package/agents-config/skills/{subagent-creator → agents-managers}/references/context-management.md +20 -20
- package/agents-config/skills/{subagent-creator → agents-managers}/references/debugging-agents.md +27 -27
- package/agents-config/skills/{subagent-creator → agents-managers}/references/error-handling-and-recovery.md +19 -19
- package/agents-config/skills/{subagent-creator → agents-managers}/references/evaluation-and-testing.md +29 -29
- package/agents-config/skills/{subagent-creator → agents-managers}/references/orchestration-patterns.md +5 -5
- package/agents-config/skills/{subagent-creator/references/writing-subagent-prompts.md → agents-managers/references/writing-agent-prompts.md} +23 -23
- package/agents-config/skills/codex-environment/SKILL.md +2 -0
- package/agents-config/skills/commit/SKILL.md +2 -0
- package/agents-config/skills/create-pr/SKILL.md +2 -0
- package/agents-config/skills/environments-manager/SKILL.md +271 -0
- package/agents-config/skills/environments-manager/examples/claude/.worktreeinclude +3 -0
- package/agents-config/skills/environments-manager/examples/claude/commands/dev.md +5 -0
- package/agents-config/skills/environments-manager/examples/claude/commands/lint.md +5 -0
- package/agents-config/skills/environments-manager/examples/claude/commands/test.md +5 -0
- package/agents-config/skills/environments-manager/examples/claude/commands/typecheck.md +5 -0
- package/agents-config/skills/environments-manager/examples/claude/settings.json +24 -0
- package/agents-config/skills/environments-manager/examples/codex/environments/environment.toml +29 -0
- package/agents-config/skills/environments-manager/examples/cursor/worktrees.json +3 -0
- package/agents-config/skills/environments-manager/examples/scripts/claude-worktree-create.sh +96 -0
- package/agents-config/skills/environments-manager/examples/scripts/claude-worktree-remove.sh +66 -0
- package/agents-config/skills/environments-manager/examples/scripts/dev.sh +15 -0
- package/agents-config/skills/environments-manager/examples/scripts/worktree-down.sh +22 -0
- package/agents-config/skills/environments-manager/examples/scripts/worktree-up.sh +50 -0
- package/agents-config/skills/environments-manager/references/claude.md +156 -0
- package/agents-config/skills/environments-manager/references/codex.md +97 -0
- package/agents-config/skills/environments-manager/references/cursor.md +88 -0
- package/agents-config/skills/fix-pr-comments/SKILL.md +2 -0
- package/agents-config/skills/grill-me/SKILL.md +10 -0
- package/agents-config/skills/merge/SKILL.md +2 -0
- package/agents-config/skills/rules-manager/SKILL.md +191 -0
- package/agents-config/skills/rules-manager/references/agents-vs-claude.md +66 -0
- package/agents-config/skills/rules-manager/references/examples.md +117 -0
- package/agents-config/skills/skill-manager/SKILL.md +101 -0
- package/agents-config/skills/skill-manager/references/claude-code.md +81 -0
- package/agents-config/skills/skill-manager/references/codex.md +288 -0
- package/agents-config/skills/skill-manager/references/cursor.md +125 -0
- package/agents-config/skills/skill-manager/references/description-recommandation.md +97 -0
- package/agents-config/skills/skill-manager/scripts/inspect-description.ts +743 -0
- package/agents-config/skills/ultrathink/SKILL.md +2 -0
- package/dist/cli.js +581 -299
- package/package.json +1 -1
- package/agents-config/claude-config/scripts/statusline/data/.gitignore +0 -8
- package/agents-config/claude-config/scripts/statusline/data/.gitkeep +0 -0
- package/agents-config/claude-config/scripts/statusline/docs/ARCHITECTURE.md +0 -166
- package/agents-config/claude-config/scripts/statusline/src/tests/spend-v2.test.ts +0 -306
- package/agents-config/skills/apex/SKILL.md +0 -261
- package/agents-config/skills/apex/scripts/setup-templates.sh +0 -100
- package/agents-config/skills/apex/scripts/update-progress.sh +0 -80
- package/agents-config/skills/apex/steps/step-00-init.md +0 -267
- package/agents-config/skills/apex/steps/step-00b-branch.md +0 -126
- package/agents-config/skills/apex/steps/step-00b-economy.md +0 -244
- package/agents-config/skills/apex/steps/step-00b-interactive.md +0 -153
- package/agents-config/skills/apex/steps/step-01-analyze.md +0 -361
- package/agents-config/skills/apex/steps/step-02-plan.md +0 -264
- package/agents-config/skills/apex/steps/step-03-execute.md +0 -239
- package/agents-config/skills/apex/steps/step-04-validate.md +0 -251
- package/agents-config/skills/apex/templates/00-context.md +0 -43
- package/agents-config/skills/apex/templates/01-analyze.md +0 -10
- package/agents-config/skills/apex/templates/02-plan.md +0 -10
- package/agents-config/skills/apex/templates/03-execute.md +0 -10
- package/agents-config/skills/apex/templates/04-validate.md +0 -10
- package/agents-config/skills/apex/templates/README.md +0 -176
- package/agents-config/skills/apex/templates/step-complete.md +0 -7
- package/agents-config/skills/claude-memory/SKILL.md +0 -293
- package/agents-config/skills/claude-memory/references/comprehensive-example.md +0 -175
- package/agents-config/skills/claude-memory/references/optimize-guide.md +0 -300
- package/agents-config/skills/claude-memory/references/project-patterns.md +0 -334
- package/agents-config/skills/claude-memory/references/prompting-techniques.md +0 -411
- package/agents-config/skills/claude-memory/references/rules-directory-guide.md +0 -298
- package/agents-config/skills/claude-memory/references/section-templates.md +0 -347
- package/agents-config/skills/fix-errors/SKILL.md +0 -61
- package/agents-config/skills/fix-grammar/SKILL.md +0 -59
- package/agents-config/skills/ralph-loop/SKILL.md +0 -117
- package/agents-config/skills/ralph-loop/scripts/setup.sh +0 -278
- package/agents-config/skills/ralph-loop/steps/step-00-init.md +0 -215
- package/agents-config/skills/ralph-loop/steps/step-01-interactive-prd.md +0 -366
- package/agents-config/skills/ralph-loop/steps/step-02-create-stories.md +0 -273
- package/agents-config/skills/ralph-loop/steps/step-03-finish.md +0 -245
- package/agents-config/skills/skill-creator/LICENSE.txt +0 -202
- package/agents-config/skills/skill-creator/SKILL.md +0 -421
- package/agents-config/skills/skill-creator/package.json +0 -5
- package/agents-config/skills/skill-creator/references/output-patterns.md +0 -82
- package/agents-config/skills/skill-creator/references/progressive-disclosure-patterns.md +0 -374
- package/agents-config/skills/skill-creator/references/prompting-integration.md +0 -363
- package/agents-config/skills/skill-creator/references/real-world-examples.md +0 -513
- package/agents-config/skills/skill-creator/references/script-patterns.md +0 -385
- package/agents-config/skills/skill-creator/references/workflows.md +0 -28
- package/agents-config/skills/skill-creator/references/xml-tag-guide.md +0 -606
- package/agents-config/skills/skill-creator/scripts/init-skill.ts +0 -214
- package/agents-config/skills/skill-creator/scripts/package-skill.ts +0 -146
- package/agents-config/skills/skill-creator/scripts/validate.ts +0 -138
- package/agents-config/skills/workflow-apex-free/SKILL.md +0 -261
- package/agents-config/skills/workflow-apex-free/scripts/setup-templates.sh +0 -100
- package/agents-config/skills/workflow-apex-free/scripts/update-progress.sh +0 -80
- package/agents-config/skills/workflow-apex-free/steps/step-00-init.md +0 -267
- package/agents-config/skills/workflow-apex-free/steps/step-00b-branch.md +0 -126
- package/agents-config/skills/workflow-apex-free/steps/step-00b-economy.md +0 -244
- package/agents-config/skills/workflow-apex-free/steps/step-00b-interactive.md +0 -153
- package/agents-config/skills/workflow-apex-free/steps/step-01-analyze.md +0 -361
- package/agents-config/skills/workflow-apex-free/steps/step-02-plan.md +0 -264
- package/agents-config/skills/workflow-apex-free/steps/step-03-execute.md +0 -239
- package/agents-config/skills/workflow-apex-free/steps/step-04-validate.md +0 -251
- package/agents-config/skills/workflow-apex-free/templates/00-context.md +0 -43
- package/agents-config/skills/workflow-apex-free/templates/01-analyze.md +0 -10
- package/agents-config/skills/workflow-apex-free/templates/02-plan.md +0 -10
- package/agents-config/skills/workflow-apex-free/templates/03-execute.md +0 -10
- package/agents-config/skills/workflow-apex-free/templates/04-validate.md +0 -10
- package/agents-config/skills/workflow-apex-free/templates/README.md +0 -176
- package/agents-config/skills/workflow-apex-free/templates/step-complete.md +0 -7
|
@@ -0,0 +1,200 @@
|
|
|
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>
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
You are an expert logo designer. I want you to create minimalist SVG logo variations for my app.
|
|
2
|
+
|
|
3
|
+
Use extended thinking to deeply analyze my app and create the best logos possible.
|
|
4
|
+
|
|
5
|
+
App Name: [YOUR APP NAME]
|
|
6
|
+
Description: [WHAT YOUR APP DOES]
|
|
7
|
+
|
|
8
|
+
Before starting, ask me these 4 questions:
|
|
9
|
+
|
|
10
|
+
1. What logo style do you prefer? (Lettermark like Stripe's S, Abstract symbol like Claude, Geometric shape like Airbnb, or Wordmark)
|
|
11
|
+
|
|
12
|
+
2. What brand personality? (Modern & Tech, Playful & Friendly, Professional, Bold & Edgy, or Minimal & Clean)
|
|
13
|
+
|
|
14
|
+
3. Which companies inspire you visually? (Stripe, Google, Linear, Notion, Discord)
|
|
15
|
+
|
|
16
|
+
4. How many logos do you want? (between 1 and 100)
|
|
17
|
+
|
|
18
|
+
Wait for my answers before generating anything.
|
|
19
|
+
|
|
20
|
+
After my answers, create an HTML artifact with all the logos.
|
|
21
|
+
|
|
22
|
+
Artifact constraints (follow exactly):
|
|
23
|
+
|
|
24
|
+
Layout:
|
|
25
|
+
- Responsive grid that takes the full page width
|
|
26
|
+
- No fixed width, adapts to viewport
|
|
27
|
+
- Each cell is square (aspect-ratio: 1)
|
|
28
|
+
- Cells automatically fill available space
|
|
29
|
+
- Light gray border between cells
|
|
30
|
+
- White background
|
|
31
|
+
- Logo centered in each cell
|
|
32
|
+
|
|
33
|
+
Cell content:
|
|
34
|
+
- Number in the corner (1, 2, 3...) so I can easily say "I like 4 and 5"
|
|
35
|
+
- Logo in the center
|
|
36
|
+
- Short description below (1-2 sentences max)
|
|
37
|
+
- Description explains the concept and why it fits the app
|
|
38
|
+
|
|
39
|
+
Page:
|
|
40
|
+
- No title
|
|
41
|
+
- No header
|
|
42
|
+
- No footer
|
|
43
|
+
- Just the grid taking the full page
|
|
44
|
+
|
|
45
|
+
Logos:
|
|
46
|
+
- Black color only
|
|
47
|
+
- No gradients
|
|
48
|
+
- No shadows
|
|
49
|
+
- Opacity allowed (play with transparency for depth)
|
|
50
|
+
- Simple geometric shapes
|
|
51
|
+
- Maximum 3-4 elements per logo
|
|
52
|
+
- Must be recognizable at 16px
|
|
53
|
+
- Clean paths, no complexity
|
|
54
|
+
|
|
55
|
+
After showing the grid, ask me which ones I prefer to create more variations based on my favorites.
|
|
@@ -0,0 +1,135 @@
|
|
|
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>
|
|
@@ -0,0 +1,242 @@
|
|
|
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>
|