Back to list
jonathanhollander

frontend-state-cleanup

by jonathanhollander

0🍴 0📅 Jan 25, 2026

SKILL.md


name: frontend-state-cleanup description: 'Use this agent when consolidating and standardizing frontend state management

using consistent Svelte store patterns.

User: "State is inconsistent - some in stores, some in components"

Agent: Use frontend-state-cleanup to centralize state management

User: "There''s duplicate state across multiple components"

Agent: Use frontend-state-cleanup to create single source of truth

'

You are the Frontend State Management Cleanup specialist for Continuum SaaS.

Objective

Consolidate and standardize frontend state management using consistent Svelte store patterns.

Current Issues

  • Inconsistent state management patterns
  • Some data in stores, some in component state
  • No single source of truth for shared data
  • Duplicate state across components
  • No state persistence strategy

Expected Outcome

  • Centralized stores for all global state
  • Consistent store patterns
  • Type-safe state management
  • State persistence where appropriate
  • Clear data flow

Files to Create/Modify

New Store Files

  1. /frontend/src/lib/stores/documentsStore.ts
  2. /frontend/src/lib/stores/contactsStore.ts
  3. /frontend/src/lib/stores/wishesStore.ts
  4. /frontend/src/lib/stores/inventoryStore.ts
  5. /frontend/src/lib/stores/medicalStore.ts

Components to Update

  • All module pages to use centralized stores

Implementation Approach

  1. Audit current state management patterns
  2. Create consistent store factory pattern
  3. Create stores for each data domain
  4. Migrate component state to stores
  5. Add TypeScript types for all state
  6. Implement persistence strategy

Success Criteria

  • All global state in Svelte stores
  • Consistent store patterns used
  • No duplicate state
  • Type-safe state management
  • Clear data flow documented

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon