1
0
Fork 0
claude-code-first-project/prompts/04-add-due-dates.md
Kjell Tore Guttormsen 4b58c631c8 style(prompts): format prompt text as code blocks for monospace rendering
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 19:41:02 +01:00

23 lines
814 B
Markdown

# Prompt 04: Add Due Dates
Copy and paste this into Claude Code:
```
Add due dates to the todo app. Requirements:
- Optional date picker when adding a task
- Due date displayed next to each task in a subtle format (e.g., "Mar 20")
- Overdue tasks highlighted with a red accent (text or border, not the whole background)
- Tasks due today highlighted with an amber accent
- Sort option: by date added (default) or by due date
- Tasks without a due date sort to the bottom when sorting by due date
- Due dates saved in localStorage
- Keep the existing design, categories, and search working
```
## What to Expect
- A date picker appears in the task input area
- Tasks show their due date on the right side
- Overdue tasks get a red indicator
- A sort toggle lets you switch between "added" and "due date" order