Produktivita Pokročilý Ostatní

Průvodce Výběrem AI Nástroje - Kdy Použít Co

Komplexní rozhodovací framework pro výběr správného AI nástroje (ChatGPT, Claude, Gemini, Copilot, Cursor, Perplexity) podle typu úlohy, kontextu a požadavků.

Prompt text

Délka: Dlouhý
Jsi expert na AI nástroje a jejich optimální využití. Pomoz mi vybrat správný AI nástroj pro konkrétní úlohu.

Moje úloha a kontext:
- Typ úlohy: [TYP - např. "psaní kódu", "výzkum", "psaní článku", "analýza dat", "kreativní práce"]
- Popis úlohy: [DETAILY - např. "potřebuji napsat React komponentu", "hledám informace o AI trendech", "analyzuji CSV dataset"]
- Kontext a požadavky: [KONTEXT - např. "velký codebase", "potřebuji citace", "časově kritické"]
- Omezení: [OMEZENÍ - např. "free tier only", "offline režim", "firemní data (privacy)"]
- Preferovaný workflow: [WORKFLOW - např. "IDE integration", "web interface", "API access"]

Kritéria pro výběr:
1. **Accuracy & Reliability** - Potřebuji přesné výsledky
2. **Context Length** - Jak velký kontext potřebuji
3. **Speed** - Časové požadavky
4. **Cost** - Rozpočet
5. **Privacy** - Citlivost dat
6. **Integration** - Workflow requirements
7. **Specialized Features** - Specifické funkce (code execution, image gen, etc.)

Vytvoř mi:
- Konkrétní doporučení nástroje pro mou úlohu s odůvodněním
- Rozhodovací flowchart pro budoucí výběr
- Porovnání relevantních nástrojů pro můj use case
- Tipy na optimální využití doporučeného nástroje
- Alternative options pokud primary choice není dostupný
Interaktivní tvůrce

Příklad použití

Vstup:

Typ úlohy: Vývoj full-stack webové aplikace (React + Node.js)
Popis úlohy: Potřebuji pomoct s:
- Generování boilerplate kódu pro nové komponenty
- Debugging komplexních issues v existujícím kódu (50k+ LOC)
- Refactoring legacy kódu na moderní patterns
- Psaní unit testů pro nové funkce
- Code review a optimalizace performance

Kontext a požadavky:
- Pracuji v VS Code
- Codebase je velký (200+ souborů)
- Často potřebuji upravovat více souborů najednou
- Potřebuji rychlé návrhy při psaní (autocomplete)
- Občas potřebuji vysvětlit složitý kód členům týmu

Omezení:
- Rozpočet: až $40/měsíc
- Privacy: Open source projekt, žádné firemní restrikce
- Internet: vždy k dispozici

Preferovaný workflow:
- Hlavně z IDE (VS Code)
- Rychlá inline nápověda při psaní
- Možnost chat konverzace pro složitější úlohy

Výstup:

# AI Tool Selection Guide: Full-Stack Development Workflow

## 🎯 Immediate Recommendation: Cursor IDE + GitHub Copilot

**Primary Tool: Cursor IDE ($20/month)**

**Why Cursor for your use case:**
1. **Multi-file editing** - Perfect pro refactoring across 200+ files
2. **Composer Mode** - Ideal pro boilerplate generation a architecture changes
3. **Large codebase support** - Efficiently handles 50k+ LOC
4. **Integrated chat** - Pro debugging a code explanation
5. **VS Code fork** - All your extensions work

**Secondary Tool: GitHub Copilot ($10/month)**

**Why Copilot as complement:**
1. **Inline suggestions** - Fastest autocomplete while coding
2. **Excellent for tests** - Auto-generates test cases
3. **Lightweight** - Doesn't slow down editor
4. **Works in Cursor** - You can enable both simultaneously

**Total Cost: $30/month (within budget ✅)**

---

## 🔀 Decision Flowchart For Your Daily Tasks

```
START: Development Task

Quick inline code completion? (writing new code)
→ YES → GitHub Copilot autocomplete
→ Accept/modify suggestion
→ DONE
→ NO ↓

Multi-file changes? (refactoring, new feature)
→ YES → Cursor Composer Mode
→ Describe feature/refactor
→ Review generated changes
→ DONE
→ NO ↓

Debugging complex issue?
→ YES → Cursor Chat
→ Paste error + relevant code
→ Follow diagnostic suggestions
→ DONE
→ NO ↓

Need to explain code to team?
→ YES → Cursor Chat
→ Select code → "Explain this"
→ Copy explanation to docs
→ DONE
→ NO ↓

Research/Documentation lookup?
→ YES → Perplexity AI (free tier)
→ Search for docs/examples
→ Get answers with citations
→ DONE
```

---

## 📊 Detailed Comparison For Your Use Case

### Code Generation & Autocomplete

| Tool | Speed | Quality | Context Awareness | Verdict |
|------|-------|---------|-------------------|---------|
| **GitHub Copilot** | ⚡⚡⚡ Fastest | 8/10 | Good (open files) | ✅ Best for inline |
| **Cursor** | ⚡⚡ Fast | 9/10 | Excellent (whole project) | ✅ Best for blocks |
| Claude Code | ⚡ Slower | 9/10 | Excellent | ❌ CLI only, not IDE |
| ChatGPT | ⚡ Slow | 7/10 | None (manual paste) | ❌ Not integrated |

**Winner:** Copilot + Cursor combo

### Multi-File Refactoring

| Tool | Multi-File | Architecture Changes | Learning Curve | Cost |
|------|-----------|---------------------|----------------|------|
| **Cursor Composer** | ✅ Native | ✅ Excellent | Medium | $20/mo |
| Claude Code | ✅ Yes | ✅ Good | Low | Free |
| Copilot | ❌ No | ❌ No | Low | $10/mo |
| ChatGPT | ❌ Manual | ❌ Manual | Low | $20/mo |

**Winner:** Cursor Composer (specifically designed for this)

### Debugging & Code Explanation

| Tool | Error Analysis | Codebase Context | Conversation | Quality |
|------|---------------|------------------|-------------|---------|
| **Cursor Chat** | ✅ Excellent | ✅ Full project | ✅ Threaded | 9/10 |
| Claude (Web) | ✅ Excellent | ❌ Manual paste | ✅ Great | 10/10 |
| ChatGPT | ✅ Good | ❌ Manual paste | ✅ Good | 8/10 |
| Copilot Chat | ✅ Good | ✅ Open files | ✅ Basic | 7/10 |

**Winner:** Cursor Chat (IDE integration + project context)

### Test Generation

| Tool | Test Quality | Framework Support | Speed | Verdict |
|------|-------------|------------------|-------|---------|
| **GitHub Copilot** | 8/10 | Excellent | ⚡⚡⚡ | ✅ Best |
| **Cursor** | 9/10 | Excellent | ⚡⚡ | ✅ Best |
| Claude | 9/10 | Excellent | ⚡ | ⚠️ Manual |
| ChatGPT | 7/10 | Good | ⚡ | ⚠️ Manual |

**Winner:** Copilot (fastest) + Cursor (most comprehensive)

---

## 🛠️ Optimized Workflow For Your Development

### Morning: Starting Work

```
1. Open project in Cursor
├── Enable GitHub Copilot extension
└── Let Cursor index codebase (one-time per session)

2. Check Linear/Jira tasks
└── Copy task description

3. Cursor Composer (Cmd+I):
"Plan implementation for: [paste task]
Analyze existing codebase and suggest:
- Files to modify
- New files to create
- Potential conflicts/issues
- Testing strategy"

4. Review plan → Start coding with Copilot autocomplete
```

### During Development: Feature Implementation

```
Task: "Add user authentication"

Step 1: Boilerplate (Cursor Composer)
└── "Create authentication module:
- Login/register components (React)
- Auth context with JWT
- Protected route wrapper
- API endpoints (Express)
Follow existing project patterns"

Step 2: Fine-tuning (Copilot Autocomplete)
└── Fill in details, logic, edge cases
Copilot suggests based on comments and context

Step 3: Tests (Copilot + Cursor)
└── Comment: "// Unit tests for AuthContext"
Copilot generates test boilerplate
Cursor helps with complex mocking scenarios

Step 4: Review (Cursor Chat)
└── Select all auth code
"Review this authentication implementation:
- Security vulnerabilities?
- Best practices violations?
- Performance issues?"
```

### Debugging Session

```
Scenario: "TypeError: Cannot read property 'user' of undefined"

Step 1: Cursor Chat
└── Paste error stack + relevant code
"Debug this error, explain root cause and fix"

Step 2: If need more context
└── Cursor analyzes full codebase
Finds all places where similar pattern exists
Suggests consistent fix across project

Step 3: Implement fix with Copilot
└── Start typing fix
Copilot autocompletes based on solution

Alternative: If Cursor can't solve
└── Copy full context to Claude Web
(Use when need deeper reasoning)
```

### Code Review & Refactoring

```
Weekly: Refactor old code

Step 1: Cursor Composer
└── "Refactor legacy auth code to use modern patterns:
- Replace callbacks with async/await
- Add TypeScript types
- Improve error handling
- Add JSDoc comments
Maintain backward compatibility"

Step 2: Review changes in diff view
└── Cursor shows all modifications
Accept/reject/modify each change

Step 3: Tests (Copilot)
└── "// Tests to ensure refactoring didn't break functionality"
Copilot generates regression tests
```

---

## 🎯 Tool Selection Matrix

### Quick Reference Table

| Task Type | Primary Tool | Secondary | Why |
|-----------|-------------|-----------|-----|
| **Inline coding** | Copilot | Cursor | Speed + accuracy |
| **New feature (multi-file)** | Cursor Composer | - | Architecture awareness |
| **Refactoring** | Cursor Composer | - | Multi-file changes |
| **Debugging** | Cursor Chat | Claude Web | IDE context + reasoning |
| **Tests** | Copilot | Cursor | Speed for boilerplate |
| **Code explanation** | Cursor Chat | - | Team documentation |
| **Research/Docs** | Perplexity Free | ChatGPT Free | Citations |
| **Complex algorithms** | Claude Web | ChatGPT | Reasoning quality |

### When NOT To Use AI

❌ **Don't use AI for:**
1. **Security-critical code** - Manual review required
2. **Legal/compliance** - Need human expertise
3. **Architecture decisions** - Use AI for ideas, human for decision
4. **Production configs** - Too risky for errors
5. **Database migrations** - Verify manually always

---

## 💡 Pro Tips For Your Stack

### React + Node.js Specific

**1. Copilot Context Priming**

```typescript
// At top of file, create "context comments":

/**
* Project: SaaS Dashboard
* Stack: React 18, TypeScript, TailwindCSS
* Patterns:
* - Components in components/features/[feature]/
* - Use shadcn/ui for UI primitives
* - React Query for data fetching
* - Zod for validation
*/

// Now Copilot suggestions will follow these patterns!
```

**2. Cursor .cursorrules File**

```
// Create .cursorrules in project root:

This is a React + Node.js SaaS application.

Frontend:
- React 18 with TypeScript
- TailwindCSS + shadcn/ui components
- React Query for data fetching
- Zod for validation
- React Hook Form for forms

Backend:
- Express + TypeScript
- Prisma ORM (PostgreSQL)
- JWT authentication
- tRPC for type-safe APIs

Code Standards:
- Functional components with hooks
- Prefer composition over inheritance
- Always validate inputs with Zod
- Use Prisma for all database operations
- Error handling with try/catch + proper types

When generating code:
- Follow these patterns exactly
- Add TypeScript types always
- Include error handling
- Write tests for business logic
```

**3. Keyboard Shortcuts Optimization**

```
VS Code / Cursor shortcuts for max speed:

Cmd+K → Copilot inline suggestion
Cmd+L → Cursor chat
Cmd+I → Cursor Composer
Cmd+Shift+P → "Copilot: Explain this"
Cmd+. → Quick fix suggestions

Set these up for rapid workflow!
```

---

## 🔄 Alternative Options & Fallbacks

### If Cursor is too expensive ($20/mo):

**Option A: ChatGPT + Copilot ($30/mo total)**
- ChatGPT Plus ($20/mo) → Multi-file planning + refactoring
- Copilot ($10/mo) → Inline autocomplete
- Workflow: Plan in ChatGPT, implement with Copilot
- Trade-off: Less integrated, more context switching

**Option B: Claude Code CLI + Copilot ($10/mo total)**
- Claude Code (FREE!) → Multi-file editing from terminal
- Copilot ($10/mo) → IDE autocomplete
- Workflow: Big changes via Claude CLI, daily coding with Copilot
- Trade-off: Terminal vs IDE, but most cost-effective

**Option C: Free Tier Combo ($0/mo)**
- Claude Free → Planning, debugging, explanations
- ChatGPT Free → Alternative for complex tasks
- Perplexity Free → Research and documentation
- Copilot Free (limited) → Basic autocomplete
- Trade-off: Rate limits, no advanced features

### If privacy is a concern:

**Option: Local AI Tools**
- Ollama (local LLM) → Free, runs on your machine
- Continue.dev → Open-source Copilot alternative
- CodeGPT → Supports local models
- Trade-off: Lower quality, need powerful hardware

---

## 📈 Measuring Success & Iteration

### Week 1: Baseline (Before AI Tools)

```
Track these metrics:
- Features completed: ___
- Bugs introduced: ___
- Time spent coding: ___ hours
- Time spent debugging: ___ hours
- Lines of code written: ___
- Test coverage: ___%
- Developer satisfaction: ___/10
```

### Week 4: After Cursor + Copilot

```
Expected improvements:
- Features completed: +50-100%
- Bugs introduced: Similar or -20%
- Time spent coding: -30-40%
- Time spent debugging: -25%
- Lines of code written: +100-200%
- Test coverage: +10-20%
- Developer satisfaction: +3 points

If not seeing these gains:
→ Review workflow (are you using right tool for task?)
→ Check tool configuration (.cursorrules, Copilot settings)
→ Improve prompting (more specific comments)
→ Adjust tool selection (maybe try alternatives)
```

### Continuous Optimization

```
Monthly review:
1. What tasks took longest? → Can AI help more?
2. What AI suggestions were wrong? → How to improve prompts?
3. What manual work remains? → Automate with AI?
4. ROI calculation: Time saved × hourly rate vs tool cost
```

---

## 🎓 Action Plan: Next 30 Days

### Week 1: Setup & Learning
- [ ] Subscribe to Cursor IDE
- [ ] Install GitHub Copilot
- [ ] Configure .cursorrules file
- [ ] Learn keyboard shortcuts (Cmd+K, Cmd+L, Cmd+I)
- [ ] Try each tool on small tasks
- [ ] Measure baseline productivity

### Week 2: Integration
- [ ] Use Copilot for all new code
- [ ] Try Cursor Composer for 1 feature
- [ ] Refactor 1 module with Cursor
- [ ] Generate tests with AI
- [ ] Document learnings

### Week 3: Optimization
- [ ] Optimize .cursorrules based on learnings
- [ ] Create reusable comment templates for Copilot
- [ ] Establish workflow patterns (when to use what)
- [ ] Measure productivity improvements
- [ ] Share with team

### Week 4: Mastery
- [ ] Handle complex multi-file refactoring
- [ ] Use AI for code review
- [ ] Teach 1 team member your workflow
- [ ] Calculate ROI
- [ ] Decide on long-term tool strategy

---

## 🏆 Final Recommendation Summary

**For Your Full-Stack React + Node.js Development:**

**Primary Setup ($30/month):**
```
1. Cursor IDE ($20/mo)
→ Multi-file editing, refactoring, architecture
→ Use daily for: Feature implementation, debugging, code review

2. GitHub Copilot ($10/mo)
→ Fast inline autocomplete
→ Use daily for: Writing new code, tests, boilerplate

3. Perplexity Free
→ Research, documentation, debugging
→ Use as needed for: Looking up APIs, finding solutions
```

**This combo gives you:**
- ✅ Best code generation (Copilot speed + Cursor intelligence)
- ✅ Best refactoring (Cursor Composer)
- ✅ Best debugging (Cursor Chat with project context)
- ✅ Best workflow integration (everything in IDE)
- ✅ Within budget ($30 < $40 limit)
- ✅ 50-100% productivity increase expected

**Alternative if budget tighter: Claude Code CLI + Copilot ($10/mo)**

---

**The key to AI tool success isn't using the most expensive tool - it's using the RIGHT tool for each task and integrating it into your daily workflow. Start with Cursor + Copilot, measure results, and iterate!** 🚀

**Remember:** These tools are force multipliers, not replacements for understanding. Always review AI-generated code, verify logic, and maintain code quality standards. The AI handles the tedium - you handle the thinking. 💡

Kde použít tento prompt?

Najděte vhodné AI nástroje pro použití tohoto promptu a maximalizujte jeho efektivitu.

Objevte další AI prompty

Prozkoumejte naši sbírku Produktivita promptů a najděte ty, které vám pomohou dosáhnout lepších výsledků.