Create a full-stack task management application called TaskFlow.Backend:- Express.js server with TypeScript- SQLite database with better-sqlite3- RESTful API: CRUD for tasks and projects- Input validation with zodFrontend:- React 18 with TypeScript- Vite for bundling- Tailwind CSS for styling- React Query for data fetchingSet up the monorepo structure with packages/api and packages/web.Use a root package.json with workspaces.
Claude Codeはこのタスクに3〜5分作業します。ディレクトリの作成、設定ファイルの書き込み、依存関係のインストールが行われるのが見えます。これはスマートフォンを置くのに良いタイミングです — Tactic Remoteがタスク完了時または承認が必要な場合に通知します。
注意点: Claude Codeはnpm installの実行の承認を求める可能性があります。通知からこれを承認してください — プロジェクトの依存関係をインストールしています。
Create the database schema and models:Tables:- projects: id, name, description, color (hex), created_at, updated_at- tasks: id, project_id (FK), title, description, status (todo/in_progress/done), priority (low/medium/high/urgent), due_date, created_at, updated_atInclude:- Migration system that runs on server start- Type-safe model layer with full TypeScript types- Seed data: 2 sample projects with 5 tasks each
Implement the full REST API:Projects:- GET /api/projects (list all, with task counts)- POST /api/projects (create, validate with zod)- PUT /api/projects/:id (update)- DELETE /api/projects/:id (cascade delete tasks)Tasks:- GET /api/projects/:id/tasks (list by project, support ?status= filter)- POST /api/projects/:id/tasks (create with validation)- PUT /api/tasks/:id (update, including status transitions)- DELETE /api/tasks/:idInclude proper error handling with consistent error response format.Add request logging middleware.
承認に関する注意: Claude Codeは複数ファイルの変更の承認を求める場合があります。承認カードのファイルリストを確認してください — プロジェクトのpackages/api/ディレクトリ内のファイルに限定されているはずです。このスコープ外のファイルが含まれている場合は却下してプロンプトを明確にしてください。
Write integration tests for all API endpoints using vitest and supertest.Test both success cases and error cases (invalid input, not found, etc.).Run the tests and report results.
Build the frontend UI:1. Layout with sidebar (project list) and main area (task board)2. ProjectList component: shows projects with task counts and color indicators3. TaskBoard component: kanban-style columns for todo/in_progress/done4. TaskCard component: shows title, priority badge, due date5. Drag-and-drop between columns to change task statusUse React Query for all data fetching. Show loading skeletons.Style with Tailwind - clean, modern look with the project color as accent.
Add interactive features:1. Create Project modal: name, description, color picker2. Create Task modal: title, description, priority selector, due date picker3. Inline task editing: click to edit title, click priority to cycle through levels4. Delete confirmation dialogs for projects and tasks5. Toast notifications for successful operationsAll forms should validate input and show helpful error messages.
Polish the UI:1. Make everything fully responsive (mobile-friendly at 375px+)2. Add empty states for projects and tasks (with calls-to-action)3. Add a search/filter bar: filter tasks by title or status4. Add keyboard shortcuts: N for new task, / for search5. Add subtle animations for card transitions and modal open/closeFix any visual issues you notice.
Verify the complete application:1. Start the API server and frontend2. Create a new project through the UI3. Add several tasks with different priorities4. Move tasks between columns5. Edit and delete tasks6. Test responsive layout at mobile sizes7. Report any issues found and fix themProvide the final URLs to access the application.
Create a README.md in the project root with:1. Project description and screenshot placeholder2. Tech stack overview3. Getting started instructions (install, run, test)4. API endpoint documentation with example requests/responses5. Project structure explanation