Deep Research
Comprehensive research and discovery before building something new. Instead of jumping straight into code from training data, this skill goes wide and deep — local exploration, web research, competitor analysis, ecosystem signals, future-casting — and produces a research brief that makes the actual build 10x more productive.
Depth Levels
The difference is scope of ambition, not just time.
| Depth |
Purpose |
Scope |
| focused |
Answer a specific question |
One decision: "CodeMirror vs ProseMirror?" — targeted search, local scan, 1-2 comparisons. Produces a 1-page recommendation. |
| wide |
Understand the space |
Landscape for a new product or feature. Competitors, ecosystem, user needs, architecture options. Enough to write a spec. |
| deep |
Plan a major build |
Leave no stone unturned. Everything in wide PLUS library/component research, plugin ecosystems, GitHub issues mining, community sentiment, future-casting, technical deep-dives on every decision. Enough to drive weeks of coding. |
Default: wide
Workflow
1. Understand the Intent
Ask the user:
- What are you building? (one sentence)
- Why? What problem does it solve? Who's it for?
- Constraints? Stack preferences, budget, timeline, must-haves?
- Existing work? Any projects to build on? Repos to look at?
If the user gives a brief prompt ("obsidian replacement on cloudflare"), that's enough — fill in the gaps through research.
2. Local Exploration
Scan the user's machine for relevant prior work:
# Find related projects by name/keyword
ls ~/Documents/ | grep -i "KEYWORD"
# Read CLAUDE.md of related projects for architecture context
find ~/Documents -maxdepth 2 -name "CLAUDE.md" -exec grep -l "KEYWORD" {} \;
# Check for reusable patterns, schemas, components
find ~/Documents -maxdepth 3 -name "schema.ts" -o -name "ARCHITECTURE.md" | head -20
For each related project found:
- Read CLAUDE.md (stack, architecture, gotchas)
- Check for reusable code (schemas, components, utilities, configs)
- Note what worked well and what didn't (from git history, TODO comments)
Also check:
- Basalt Cortex (
~/Documents/basalt-cortex/) for related clients, contacts, knowledge facts
grep -rl "KEYWORD" ~/Documents/basalt-cortex/ --include="*.md"
3. Web Research
Search broadly to understand the space:
- Product category: "markdown note app", "knowledge management tool for teams"
- Competitors: find top 5-10 by searching "best X", "X alternatives", "X vs Y"
- Open source: search GitHub for open-source alternatives, check star counts
- Architecture: "how to build X", "X tech stack", "building X with [framework]"
- Technology docs: check llms.txt, official docs for key technologies
- Platform examples: "built with Cloudflare Workers", "D1 full-text search example"
- Tutorials and case studies: "building a Y from scratch", "lessons learned building Z"
4. Ecosystem and Community Research (wide + deep)
Go beyond the core product — the ecosystem reveals what users actually need:
Plugins and add-ons:
- What plugins exist for major competitors? The most popular ones reveal what the core product lacks.
- e.g. Obsidian has 1800+ plugins — the top 20 tell you what Obsidian doesn't do well natively.
- Search: "top [product] plugins", "[product] plugin directory"
GitHub issues and feature requests:
- Check top competitors' GitHub repos for most-upvoted issues
- Sort by thumbs-up reactions — this is direct user demand signal
- Check closed issues for how features were implemented
Forum discussions:
- Reddit: r/[product], r/selfhosted, r/webdev, relevant niche subreddits
- Hacker News: search for the product category
- Discord/Discourse: product-specific communities
- What do users love? What do they complain about? What do they wish existed?
App store and review sites:
- 1-star reviews = unmet needs (the product fails at this)
- 5-star reviews = what to preserve (users love this, don't break it)
- 3-star reviews = the interesting middle (it's okay but...)
- Search: ProductHunt, G2, Capterra, App Store reviews
Integration requests:
- What systems do users want to connect to? (Zapier integrations, API requests)
- These reveal real workflows — users duct-tape tools together
5. Competitor Deep-Dive (wide + deep)
For each major competitor (3-5 for wide, 5-10 for deep):
| Question |
How to research |
| Features |
Landing page, docs, changelog |
| Pricing |
Pricing page, comparison sites |
| User complaints |
Reddit, HN, app store reviews |
| Tech stack |
Wappalyzer, view-source, job postings, blog posts |
| What they do well |
5-star reviews, product demos |
| What they do poorly |
1-star reviews, forum complaints, migration guides FROM the product |
| Documentation quality |
Read their docs site — is it comprehensive? What topics need the most explanation? (Complex topics = things users struggle with) |
| Help/support content |
Help centre, FAQ, knowledge base, support forums — what questions do users ask most? |
| Onboarding/tutorials |
Getting started guides, video tutorials, interactive walkthroughs — how do they teach their product? What do they assume the user already knows? |
| API documentation |
If they have an API — how well documented? What patterns do they use? What SDKs do they provide? |
| Migration guides |
Do they have "switch from X" guides? These reveal what they consider their advantages AND what users find hard to switch from |
6. Library and Component Research (deep mode)
Research the building blocks — what already exists that you can use or learn from:
React / UI libraries:
- Search npm for category-specific packages ("react markdown editor", "react kanban", "react data table")
- Check weekly downloads, last publish date, GitHub stars, open issues count
- Read the README and examples — what patterns do they use?
- Check bundle size (bundlephobia.com) — does it fit the project constraints?
- Look at the source code of the best ones — their architecture is proven by real usage
Headless / unstyled libraries:
- Headless UI, Radix, React Aria, Downshift — what primitives exist for the features you need?
- These are often better than full component libraries because you control the styling
- Check if shadcn/ui already wraps what you need
Hooks and utilities:
- TanStack (Query, Table, Virtual, Router) — what's relevant?
- React Hook Form, Zod, date-fns, Zustand — proven solutions for common problems
- Search "awesome-react" lists and curated collections
Platform-specific libraries:
- For Cloudflare: what works on Workers? (No Node.js APIs, no native modules)
- Check Cloudflare's own examples and starter templates
- Search for "cloudflare workers" + the feature you need
What to capture for each library:
| Question |
Why it matters |
| Does it solve our problem? |
Feature match |
| Bundle size |
Performance budget |
| Last publish date |
Is it maintained? |
| Open issues / PRs |
Community health |
| Works on our platform? |
Cloudflare Workers has restrictions |
| What patterns does it use? |
Even if we don't use the library, its patterns are valuable |
The insight: Even if you decide to build something custom, researching existing libraries shows you the patterns that survived contact with real users. A library with 10K stars has had its API refined by thousands of developers — steal their design decisions.
7. Platform Capability Deep-Dive (wide + deep)
This is critical. Claude's training data is always behind on platform features. Cloudflare, Vercel, Firebase, Supabase — they all ship new capabilities constantly. A feature you assume doesn't exist might have launched last month. The Basalt Cortex project exists because of capabilities (Workers AI toMarkdown, Vectorize metadata filtering, D1 FTS5) that weren't obvious without actively looking.
Do NOT rely on training data for platform capabilities. Go read the actual current docs.
How to Research the Platform
Fetch the platform's changelog/blog:
- Cloudflare:
https://blog.cloudflare.com/ + https://developers.cloudflare.com/changelog/
- Vercel:
https://vercel.com/changelog
- Firebase:
https://firebase.google.com/support/releases
- Supabase:
https://supabase.com/changelog
Read the full product catalogue — not just the services you already use:
- Cloudflare: Workers, D1, R2, KV, Vectorize, Queues, Durable Objects, Workers AI, AI Gateway, Workflows, Containers, Browser Rendering, Tunnel, Email Routing, Images, Stream, Hyperdrive, Pipelines, Sandbox
- Vercel: Functions, Edge Middleware, KV, Postgres, Blob, AI SDK, Cron, Firewall
- Firebase: Firestore, Auth, Storage, Functions, Hosting, Extensions, Genkit, App Check
For each service, ask: could this solve a problem in the product we're building?
Look for recently shipped features that expand what's possible:
- New AI models available at the edge?
- New storage primitives?
- New networking capabilities?
- New auth/identity features?
- New build/deploy options?
Cloudflare Capability Checklist (Expand for Other Platforms)
Go through each and ask "would this be useful for what we're building?":
| Category |
Services to investigate |
| Compute |
Workers, Cron Triggers, Queues consumers, Workflows (multi-step), Containers, Durable Objects (stateful), Tail Workers |
| Storage |
D1 (SQL + FTS5), R2 (objects), KV (key-value), Durable Object storage (strongly consistent) |
| AI |
Workers AI models (text, image, embedding, speech, translation, toMarkdown), Vectorize (semantic search), AI Gateway (caching/routing) |
| Networking |
Custom domains, Tunnel, Spectrum (TCP/UDP), WebSockets, Hyperdrive (database proxy) |
| Security |
WAF, Turnstile (CAPTCHA), Bot Management, API Shield, DDoS |
| Media |
Images (resize/optimise on-the-fly), Stream (video), Browser Rendering (screenshots, PDF generation) |
| Email |
Email Routing (rules), Email Workers (programmable inbound email processing) |
| Observability |
Workers Logs, Analytics Engine, GraphQL analytics |
What to Capture
For each relevant capability, note:
- What it does (one sentence)
- How it could be used in this product
- Any limitations or pricing considerations
- Example: "Workers AI
toMarkdown() converts any uploaded PDF/DOCX to markdown at the edge — we could use this for document import without any external service"
Why This Matters
The difference between "build a note app" and "build a note app that converts any file to markdown, searches semantically across all notes, generates summaries with AI, syncs via background Workflows, and renders PDFs with Browser Rendering" is knowing what the platform offers. Most developers only use 20% of their platform because they never looked at the other 80%.
8. Future-Casting (deep mode)
Think beyond what exists today:
Platform roadmap: Based on the changelog and blog research above, what direction is the platform heading? What's in beta? What was announced but not yet GA?
AI integration: Not "add a chatbot" — think deeper. What's possible when the tool can read, reason about, and act on the user's data? What if every note could be searched semantically? What if the app could write its own documentation? What if uploads auto-converted to markdown?
Device and input evolution: Mobile-first, voice input, wearables, spatial computing. How might users interact with this in 2-5 years?
Data sources: What new inputs could feed in? Sensors, APIs, real-time data, cross-app context?
Adjacent opportunities: What problems sit next to this one? e.g. building a note app — adjacent: task management, project tracking, team communication. What are users duct-taping together today?
Convergence trends: What separate tools are being unified? (Email + chat + tasks = Slack. Notes + databases + wikis = Notion. What's next?)
9. Technical Research (deep mode)
For each major architectural decision:
| Decision area |
Questions to answer |
| Editor / UI framework |
Options, tradeoffs, community size, our experience |
| Database |
SQL vs NoSQL vs file, managed vs self-hosted, our stack support |
| Auth |
Better-auth, Clerk, Auth.js, custom — what fits? |
| Hosting / deployment |
Cloudflare, Vercel, Railway — constraints and capabilities |
| Search |
FTS5, Elasticsearch, Meilisearch, Vectorize — what scale? |
| Real-time |
WebSockets, SSE, Durable Objects — do we need it? |
| File storage |
R2, S3, local — access patterns? |
| API design |
REST, tRPC, GraphQL — what does the use case need? |
10. Synthesis
Produce a research brief saved to .jez/artifacts/research-brief-{topic}.md:
# Research Brief: [Topic]
**Depth**: [focused|wide|deep]
**Date**: YYYY-MM-DD
**Research time**: [duration]
## Executive Summary
[2-3 sentences: what to build, why, key insight from research]
## Competitive Landscape
| Product | Strengths | Weaknesses | Pricing | Users |
### Key Insights
[What winners do well, what gaps exist in the market]
## Ecosystem Signals
### Most Popular Plugins/Add-ons
[Top plugins for competitors — reveals unmet needs]
### Most Requested Features
[From GitHub issues, forums, reviews — sorted by demand]
### Integration Patterns
[What systems users connect to — reveals real workflows]
## User Needs
[What real users want, from reviews/forums/complaints]
## Technical Landscape
| Decision | Options | Recommendation | Why |
## Libraries and Components
| Need | Library | Stars | Size | Fits platform? | Notes |
[Key libraries evaluated for each major feature]
## Platform Capabilities
| Service | Could use for | Impact |
[Every platform service evaluated against the product's needs]
[Flag recently shipped features the team may not know about]
## Reusable From Existing Projects
| Project | What to reuse | Location |
## Future Possibilities
### Platform roadmap
### AI opportunities
### Adjacent problems
### 2-5 year horizon
## Proposed Architecture
[Stack, data model sketch, key flows]
## Risks and Open Questions
[Things research couldn't answer]
## Suggested Phases
[Build order based on research findings]
## Sources
[Links to everything read]
Tips
- Start the brief early and add to it as you research — the artifact is the deliverable
- For deep mode, use sub-agents to parallelise web research and local exploration
- The "Reusable From Existing Projects" section often saves weeks of work
- Ecosystem signals (plugins, issues, reviews) are often more valuable than competitor feature lists
- Save the brief to
.jez/artifacts/ — it's useful for future sessions and for the actual build phase
- The brief is a living document — update it as you learn more during the build
1---
2name: deep-research
3description: "Deep research and discovery before building something new. Explores local projects for reusable code, researches competitors, reads forums and reviews, analyses plugin ecosystems, investigates technical options, and produces a comprehensive research brief. Three depths: focused (30 min), wide (1-2 hours), deep (3-6 hours). Triggers: 'research this', 'discovery', 'explore the space', 'what should I build', 'competitive analysis', 'before I start building', 'research before coding'. Not for cited fact-checking research reports (a separate harness does those); this is pre-build product discovery."
4compatibility: claude-code-only
5---
6
7# Deep Research
8
9Comprehensive research and discovery before building something new. Instead of jumping straight into code from training data, this skill goes wide and deep — local exploration, web research, competitor analysis, ecosystem signals, future-casting — and produces a research brief that makes the actual build 10x more productive.
10
11## Depth Levels
12
13The difference is **scope of ambition**, not just time.
14
15| Depth | Purpose | Scope |
16|-------|---------|-------|
17| **focused** | Answer a specific question | One decision: "CodeMirror vs ProseMirror?" — targeted search, local scan, 1-2 comparisons. Produces a 1-page recommendation. |
18| **wide** | Understand the space | Landscape for a new product or feature. Competitors, ecosystem, user needs, architecture options. Enough to write a spec. |
19| **deep** | Plan a major build | Leave no stone unturned. Everything in wide PLUS library/component research, plugin ecosystems, GitHub issues mining, community sentiment, future-casting, technical deep-dives on every decision. Enough to drive weeks of coding. |
20
21Default: **wide**
22
23## Workflow
24
25### 1. Understand the Intent
26
27Ask the user:
28- **What** are you building? (one sentence)
29- **Why?** What problem does it solve? Who's it for?
30- **Constraints?** Stack preferences, budget, timeline, must-haves?
31- **Existing work?** Any projects to build on? Repos to look at?
32
33If the user gives a brief prompt ("obsidian replacement on cloudflare"), that's enough — fill in the gaps through research.
34
35### 2. Local Exploration
36
37Scan the user's machine for relevant prior work:
38
39```bash
40# Find related projects by name/keyword
41ls ~/Documents/ | grep -i "KEYWORD"
42
43# Read CLAUDE.md of related projects for architecture context
44find ~/Documents -maxdepth 2 -name "CLAUDE.md" -exec grep -l "KEYWORD" {} \;
45
46# Check for reusable patterns, schemas, components
47find ~/Documents -maxdepth 3 -name "schema.ts" -o -name "ARCHITECTURE.md" | head -20
48```
49
50For each related project found:
51- Read CLAUDE.md (stack, architecture, gotchas)
52- Check for reusable code (schemas, components, utilities, configs)
53- Note what worked well and what didn't (from git history, TODO comments)
54
55Also check:
56- Basalt Cortex (`~/Documents/basalt-cortex/`) for related clients, contacts, knowledge facts
57- `grep -rl "KEYWORD" ~/Documents/basalt-cortex/ --include="*.md"`
58
59### 3. Web Research
60
61Search broadly to understand the space:
62
63- **Product category**: "markdown note app", "knowledge management tool for teams"
64- **Competitors**: find top 5-10 by searching "best X", "X alternatives", "X vs Y"
65- **Open source**: search GitHub for open-source alternatives, check star counts
66- **Architecture**: "how to build X", "X tech stack", "building X with [framework]"
67- **Technology docs**: check llms.txt, official docs for key technologies
68- **Platform examples**: "built with Cloudflare Workers", "D1 full-text search example"
69- **Tutorials and case studies**: "building a Y from scratch", "lessons learned building Z"
70
71### 4. Ecosystem and Community Research (wide + deep)
72
73Go beyond the core product — the ecosystem reveals what users actually need:
74
75**Plugins and add-ons**:
76- What plugins exist for major competitors? The most popular ones reveal what the core product lacks.
77- e.g. Obsidian has 1800+ plugins — the top 20 tell you what Obsidian doesn't do well natively.
78- Search: "top [product] plugins", "[product] plugin directory"
79
80**GitHub issues and feature requests**:
81- Check top competitors' GitHub repos for most-upvoted issues
82- Sort by thumbs-up reactions — this is direct user demand signal
83- Check closed issues for how features were implemented
84
85**Forum discussions**:
86- Reddit: r/[product], r/selfhosted, r/webdev, relevant niche subreddits
87- Hacker News: search for the product category
88- Discord/Discourse: product-specific communities
89- What do users love? What do they complain about? What do they wish existed?
90
91**App store and review sites**:
92- 1-star reviews = unmet needs (the product fails at this)
93- 5-star reviews = what to preserve (users love this, don't break it)
94- 3-star reviews = the interesting middle (it's okay but...)
95- Search: ProductHunt, G2, Capterra, App Store reviews
96
97**Integration requests**:
98- What systems do users want to connect to? (Zapier integrations, API requests)
99- These reveal real workflows — users duct-tape tools together
100
101### 5. Competitor Deep-Dive (wide + deep)
102
103For each major competitor (3-5 for wide, 5-10 for deep):
104
105| Question | How to research |
106|----------|----------------|
107| Features | Landing page, docs, changelog |
108| Pricing | Pricing page, comparison sites |
109| User complaints | Reddit, HN, app store reviews |
110| Tech stack | Wappalyzer, view-source, job postings, blog posts |
111| What they do well | 5-star reviews, product demos |
112| What they do poorly | 1-star reviews, forum complaints, migration guides FROM the product |
113| Documentation quality | Read their docs site — is it comprehensive? What topics need the most explanation? (Complex topics = things users struggle with) |
114| Help/support content | Help centre, FAQ, knowledge base, support forums — what questions do users ask most? |
115| Onboarding/tutorials | Getting started guides, video tutorials, interactive walkthroughs — how do they teach their product? What do they assume the user already knows? |
116| API documentation | If they have an API — how well documented? What patterns do they use? What SDKs do they provide? |
117| Migration guides | Do they have "switch from X" guides? These reveal what they consider their advantages AND what users find hard to switch from |
118
119### 6. Library and Component Research (deep mode)
120
121Research the building blocks — what already exists that you can use or learn from:
122
123**React / UI libraries**:
124- Search npm for category-specific packages ("react markdown editor", "react kanban", "react data table")
125- Check weekly downloads, last publish date, GitHub stars, open issues count
126- Read the README and examples — what patterns do they use?
127- Check bundle size (bundlephobia.com) — does it fit the project constraints?
128- Look at the source code of the best ones — their architecture is proven by real usage
129
130**Headless / unstyled libraries**:
131- Headless UI, Radix, React Aria, Downshift — what primitives exist for the features you need?
132- These are often better than full component libraries because you control the styling
133- Check if shadcn/ui already wraps what you need
134
135**Hooks and utilities**:
136- TanStack (Query, Table, Virtual, Router) — what's relevant?
137- React Hook Form, Zod, date-fns, Zustand — proven solutions for common problems
138- Search "awesome-react" lists and curated collections
139
140**Platform-specific libraries**:
141- For Cloudflare: what works on Workers? (No Node.js APIs, no native modules)
142- Check Cloudflare's own examples and starter templates
143- Search for "cloudflare workers" + the feature you need
144
145**What to capture for each library**:
146
147| Question | Why it matters |
148|----------|---------------|
149| Does it solve our problem? | Feature match |
150| Bundle size | Performance budget |
151| Last publish date | Is it maintained? |
152| Open issues / PRs | Community health |
153| Works on our platform? | Cloudflare Workers has restrictions |
154| What patterns does it use? | Even if we don't use the library, its patterns are valuable |
155
156**The insight**: Even if you decide to build something custom, researching existing libraries shows you the patterns that survived contact with real users. A library with 10K stars has had its API refined by thousands of developers — steal their design decisions.
157
158### 7. Platform Capability Deep-Dive (wide + deep)
159
160**This is critical.** Claude's training data is always behind on platform features. Cloudflare, Vercel, Firebase, Supabase — they all ship new capabilities constantly. A feature you assume doesn't exist might have launched last month. The Basalt Cortex project exists because of capabilities (Workers AI toMarkdown, Vectorize metadata filtering, D1 FTS5) that weren't obvious without actively looking.
161
162**Do NOT rely on training data for platform capabilities.** Go read the actual current docs.
163
164#### How to Research the Platform
165
1661. **Fetch the platform's changelog/blog**:
167 - Cloudflare: `https://blog.cloudflare.com/` + `https://developers.cloudflare.com/changelog/`
168 - Vercel: `https://vercel.com/changelog`
169 - Firebase: `https://firebase.google.com/support/releases`
170 - Supabase: `https://supabase.com/changelog`
171
1722. **Read the full product catalogue** — not just the services you already use:
173 - Cloudflare: Workers, D1, R2, KV, Vectorize, Queues, Durable Objects, Workers AI, AI Gateway, Workflows, Containers, Browser Rendering, Tunnel, Email Routing, Images, Stream, Hyperdrive, Pipelines, Sandbox
174 - Vercel: Functions, Edge Middleware, KV, Postgres, Blob, AI SDK, Cron, Firewall
175 - Firebase: Firestore, Auth, Storage, Functions, Hosting, Extensions, Genkit, App Check
176
1773. **For each service, ask**: could this solve a problem in the product we're building?
178
1794. **Look for recently shipped features** that expand what's possible:
180 - New AI models available at the edge?
181 - New storage primitives?
182 - New networking capabilities?
183 - New auth/identity features?
184 - New build/deploy options?
185
186#### Cloudflare Capability Checklist (Expand for Other Platforms)
187
188Go through each and ask "would this be useful for what we're building?":
189
190| Category | Services to investigate |
191|----------|----------------------|
192| **Compute** | Workers, Cron Triggers, Queues consumers, Workflows (multi-step), Containers, Durable Objects (stateful), Tail Workers |
193| **Storage** | D1 (SQL + FTS5), R2 (objects), KV (key-value), Durable Object storage (strongly consistent) |
194| **AI** | Workers AI models (text, image, embedding, speech, translation, toMarkdown), Vectorize (semantic search), AI Gateway (caching/routing) |
195| **Networking** | Custom domains, Tunnel, Spectrum (TCP/UDP), WebSockets, Hyperdrive (database proxy) |
196| **Security** | WAF, Turnstile (CAPTCHA), Bot Management, API Shield, DDoS |
197| **Media** | Images (resize/optimise on-the-fly), Stream (video), Browser Rendering (screenshots, PDF generation) |
198| **Email** | Email Routing (rules), Email Workers (programmable inbound email processing) |
199| **Observability** | Workers Logs, Analytics Engine, GraphQL analytics |
200
201#### What to Capture
202
203For each relevant capability, note:
204- What it does (one sentence)
205- How it could be used in this product
206- Any limitations or pricing considerations
207- Example: "Workers AI `toMarkdown()` converts any uploaded PDF/DOCX to markdown at the edge — we could use this for document import without any external service"
208
209#### Why This Matters
210
211The difference between "build a note app" and "build a note app that converts any file to markdown, searches semantically across all notes, generates summaries with AI, syncs via background Workflows, and renders PDFs with Browser Rendering" is **knowing what the platform offers**. Most developers only use 20% of their platform because they never looked at the other 80%.
212
213### 8. Future-Casting (deep mode)
214
215Think beyond what exists today:
216
217**Platform roadmap**: Based on the changelog and blog research above, what direction is the platform heading? What's in beta? What was announced but not yet GA?
218
219**AI integration**: Not "add a chatbot" — think deeper. What's possible when the tool can read, reason about, and act on the user's data? What if every note could be searched semantically? What if the app could write its own documentation? What if uploads auto-converted to markdown?
220
221**Device and input evolution**: Mobile-first, voice input, wearables, spatial computing. How might users interact with this in 2-5 years?
222
223**Data sources**: What new inputs could feed in? Sensors, APIs, real-time data, cross-app context?
224
225**Adjacent opportunities**: What problems sit next to this one? e.g. building a note app — adjacent: task management, project tracking, team communication. What are users duct-taping together today?
226
227**Convergence trends**: What separate tools are being unified? (Email + chat + tasks = Slack. Notes + databases + wikis = Notion. What's next?)
228
229### 9. Technical Research (deep mode)
230
231For each major architectural decision:
232
233| Decision area | Questions to answer |
234|--------------|-------------------|
235| Editor / UI framework | Options, tradeoffs, community size, our experience |
236| Database | SQL vs NoSQL vs file, managed vs self-hosted, our stack support |
237| Auth | Better-auth, Clerk, Auth.js, custom — what fits? |
238| Hosting / deployment | Cloudflare, Vercel, Railway — constraints and capabilities |
239| Search | FTS5, Elasticsearch, Meilisearch, Vectorize — what scale? |
240| Real-time | WebSockets, SSE, Durable Objects — do we need it? |
241| File storage | R2, S3, local — access patterns? |
242| API design | REST, tRPC, GraphQL — what does the use case need? |
243
244### 10. Synthesis
245
246Produce a research brief saved to `.jez/artifacts/research-brief-{topic}.md`:
247
248```markdown
249# Research Brief: [Topic]
250**Depth**: [focused|wide|deep]
251**Date**: YYYY-MM-DD
252**Research time**: [duration]
253
254## Executive Summary
255[2-3 sentences: what to build, why, key insight from research]
256
257## Competitive Landscape
258| Product | Strengths | Weaknesses | Pricing | Users |
259
260### Key Insights
261[What winners do well, what gaps exist in the market]
262
263## Ecosystem Signals
264### Most Popular Plugins/Add-ons
265[Top plugins for competitors — reveals unmet needs]
266### Most Requested Features
267[From GitHub issues, forums, reviews — sorted by demand]
268### Integration Patterns
269[What systems users connect to — reveals real workflows]
270
271## User Needs
272[What real users want, from reviews/forums/complaints]
273
274## Technical Landscape
275| Decision | Options | Recommendation | Why |
276
277## Libraries and Components
278| Need | Library | Stars | Size | Fits platform? | Notes |
279[Key libraries evaluated for each major feature]
280
281## Platform Capabilities
282| Service | Could use for | Impact |
283[Every platform service evaluated against the product's needs]
284[Flag recently shipped features the team may not know about]
285
286## Reusable From Existing Projects
287| Project | What to reuse | Location |
288
289## Future Possibilities
290### Platform roadmap
291### AI opportunities
292### Adjacent problems
293### 2-5 year horizon
294
295## Proposed Architecture
296[Stack, data model sketch, key flows]
297
298## Risks and Open Questions
299[Things research couldn't answer]
300
301## Suggested Phases
302[Build order based on research findings]
303
304## Sources
305[Links to everything read]
306```
307
308## Tips
309
310- Start the brief early and add to it as you research — the artifact is the deliverable
311- For deep mode, use sub-agents to parallelise web research and local exploration
312- The "Reusable From Existing Projects" section often saves weeks of work
313- Ecosystem signals (plugins, issues, reviews) are often more valuable than competitor feature lists
314- Save the brief to `.jez/artifacts/` — it's useful for future sessions and for the actual build phase
315- The brief is a living document — update it as you learn more during the build