Agent Skill
2/7/2026

dev-fix-task-store

MASTER Pinia task store debugging covering synchronization, CRUD operations, state persistence, IndexedDB conflicts, advanced state management, and complex store architecture. Fix when tasks don't save, disappear unexpectedly, don't update in UI, backup systems read wrong data, store actions fail, or advanced performance issues occur. CRITICAL: All store fixes MUST be tested with Playwright before claiming success.

E
endlessblink
0GitHub Stars
2Views
npx skills add endlessblink/flow-state

SKILL.md

Namedev-fix-task-store
DescriptionMASTER Pinia task store debugging covering synchronization, CRUD operations, state persistence, IndexedDB conflicts, advanced state management, and complex store architecture. Fix when tasks don't save, disappear unexpectedly, don't update in UI, backup systems read wrong data, store actions fail, or advanced performance issues occur. CRITICAL: All store fixes MUST be tested with Playwright before claiming success.

FlowState

CI License: Polyform Shield

A sophisticated Vue 3 productivity application combining Pomodoro timer functionality with task management across multiple views.

Live demo: in-theflow.com

Features

  • 8 Task Views: Board, Calendar, Canvas, Focus, QuickSort, AllTasks, CalendarVueCal, Performance
  • Pomodoro Timer: Work/break sessions with browser notifications
  • Task Management: Projects, priorities, due dates, subtasks, recurring tasks
  • Canvas Organization: Free-form spatial task arrangement with Vue Flow
  • Cloud Sync: Supabase (PostgreSQL) with RLS and automatic backup
  • Glass Morphism UI: Modern design system with dark/light themes
  • PWA (Mobile Support): Installable on iOS/Android with offline support and screen wake lock for timers
  • Gamification: XP, achievements, streaks, and a cosmetic shop
  • Desktop App: Native Tauri builds for Linux, macOS, and Windows

Quick Start

# Install dependencies
npm install

# Start local Supabase (requires Docker)
npx supabase start

# Copy environment config
cp .env.example .env.local
# Edit .env.local with values from `npx supabase status`

# Start development server
npm run dev
# Open http://localhost:5546

Self-Hosting

Want to run FlowState on your own machine? See docs/SELF-HOSTING.md for the full guide covering local Supabase, Tauri desktop builds, and AI chat setup.

Cloud Sync (Supabase)

FlowState uses Supabase for cloud sync with Row Level Security (RLS).

Local Development

# Start local Supabase
npx supabase start

# Generate JWT keys (if needed)
npm run generate:keys

See .env.example for configuration options.

PWA Installation

FlowState is fully optimized for mobile devices as a Progressive Web App:

  • iOS: Open the app in Safari, tap the Share button, and select Add to Home Screen.
  • Android: Open the app in Chrome, tap the menu (three dots), and select Install App or Add to Home Screen.
  • Desktop: Look for the "Install" icon in the address bar of your browser.

Development Commands

npm run dev          # Development server (port 5546)
npm run build        # Production build
npm run test         # Run tests
npm run test:watch   # Tests with UI
npm run storybook    # Component documentation (port 6006)
npm run kill         # Kill all FlowState processes
npm run lint         # Lint code
npm run lint:fix     # Fix linting issues

Technology Stack

  • Core: Vue 3 + TypeScript + Pinia
  • UI: Tailwind CSS + Naive UI + Lucide Icons
  • Canvas: Vue Flow (@vue-flow/core)
  • Calendar: vue-cal
  • Storage: Supabase (PostgreSQL) with RLS
  • Desktop: Tauri 2.x (Linux, macOS, Windows)
  • Build: Vite 7.3.1
  • Testing: Vitest + Playwright

Project Structure

src/
ā”œā”€ā”€ views/           # 8 application views
ā”œā”€ā”€ components/      # Reusable UI components (22 directories)
ā”œā”€ā”€ stores/          # 14 Pinia stores (+canvas, tasks substores)
ā”œā”€ā”€ composables/     # ~130 Vue 3 composables
ā”œā”€ā”€ services/        # Backend services (auth, AI, sync, data)
ā”œā”€ā”€ assets/          # Styles and design tokens
└── utils/           # Utility functions

Documentation

License

Polyform Shield 1.0.0. You may use FlowState for personal and internal business purposes. Commercial SaaS use requires a separate agreement.

Skills Info
Original Name:dev-fix-task-storeAuthor:endlessblink