1
0
Fork 0

Initial commit: todo app guide with 5 prompts and examples

Complete companion repo for "Your First Hour with Claude Code" article.
Includes step-by-step prompts, example output, troubleshooting, and cost guide.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-03-15 16:04:07 +01:00
commit ec708ba943
10 changed files with 1089 additions and 0 deletions

25
prompts/03-add-search.md Normal file
View file

@ -0,0 +1,25 @@
# Prompt 03: Add Search
Copy and paste this into Claude Code:
---
Add a search bar to the todo app. Requirements:
- Search input at the top, above the category filter buttons
- Filters tasks in real time as the user types (no search button needed)
- Searches both the task text and the category name
- Works together with the category filters (search within the active category)
- Subtle search icon or placeholder text "Search tasks..."
- Clear button (x) to reset the search
- If no tasks match, show a "No tasks found" message
- Keep the existing design
---
## What to Expect
- A search field appears at the top of the app
- Typing immediately filters the visible tasks
- Search combines with category filters (search "meeting" in "Work" category)
- Clearing the search shows all tasks in the current filter again