atomic

flowstate-flowstate-platform-epicdm-flowstate-dashboard

Package-local agent skill for @epicdm/flowstate-dashboard.

Tags

Publisher

Versions

1 version published — latest: 0.1.0

  • 0.1.0
    publishedInvalid Date

Skill

flowstate-dashboard Package Skill

Package: @epicdm/flowstate-dashboard Repository: flowstate-platform Path: packages/dashboard Version: 0.1.0

Use this published Dojo skill as the package-level entrypoint. For detailed workflows, use the package-local skills listed below.

Primary Package Workflow

Dashboard Billing

Status: Active Purpose: Keep billing UI, server actions, API clients, and route handlers aligned. Scope: Billing routes, billing components, and src/lib/billing. Trigger: Credit balance, usage, purchase, limit, auto top-up, payment, refund, or treasury changes. Input: Billing behavior and affected API/client surface. Output: Billing change with type-safe data flow.


Source Map

  • Pages: src/app/(cloud)/dashboard/billing/*, src/app/(cloud)/dashboard/admin/payments, refunds, treasury, wallets.
  • APIs: src/app/api/billing/auto-top-up/route.ts, limits/route.ts, usage-export/route.ts, checkout/proxy/route.ts.
  • Helpers: src/lib/billing/api.ts, actions.ts, format.ts, types.ts.
  • Components: src/components/billing/*, src/components/admin/*, src/components/wallet/*.

Workflow

  1. Start with src/lib/billing/types.ts to confirm shapes and status values.
  2. Route external requests through src/lib/billing/api.ts; keep components presentational where possible.
  3. Use server actions in src/lib/billing/actions.ts for mutations.
  4. Preserve formatting through src/lib/billing/format.ts.
  5. For admin money movement, inspect admin components and pages together before editing.

Red Flags

Red FlagAction
Component fetches billing endpoint directlyMove or reuse lib/API helper
New status string appears outside types.tsAdd or reuse typed union
Money/credit formatting duplicatedUse format.ts

Created: 2026-06-30

Package Skill Inventory

Skill Inventory: @epicdm/flowstate-dashboard

Review date: 2026-06-30

SkillTypeUse WhenSource Anchors
flowstate-dashboard-cloudOrchestratorWorking on the Cloud dashboard, tenant provisioning, teams, admin, auth, or package verificationsrc/app/(cloud), src/lib/cloud, src/lib/auth, src/db/schema.ts
flowstate-dashboard-billingWorkflowChanging credit balance, usage, purchases, auto top-up, limits, admin payments, or billing APIssrc/lib/billing, src/components/billing, src/app/api/billing
flowstate-dashboard-dojoWorkflowChanging Dojo catalog, course learning, review queue, audit, enroll, checkout, or lesson renderingsrc/app/(cloud)/dojo, src/app/api/dojo, src/components/dojo, src/lib/dojo/api.ts

Composition Notes

Load flowstate-dashboard-cloud first for app boundaries. Add billing or Dojo skills when the change touches those subdomains.

Review Gate

Package Skills Review: @epicdm/flowstate-dashboard

Review date: 2026-06-30 Status: Pass for local agent use

Checks

  • Skills are grounded in route groups, lib directories, schema, package scripts, and docs.
  • Skills avoid enumerating hundreds of schema exports as independent features.
  • Files were written only under packages/dashboard/.flowstate/skills.

Pressure Scenario

Scenario: "Add a dashboard page that shows tenant usage and billing warnings."

Expected behavior with skills: load flowstate-dashboard-cloud and flowstate-dashboard-billing; use src/lib/cloud/queries.ts, billing API helpers, existing billing components, schema enums, and typecheck verification.

Remaining Risk

No package-local test script exists. Agents should rely on typecheck, build when safe, and focused manual/source review for integrations.

Usage

Start with this skill to understand the package purpose, then use the package-local focused skills for specific workflows. Keep this Dojo version aligned with packages/dashboard/package.json. Do not treat generated feature lists as lessons; use workflow evidence from CODE-REVIEW.md, SKILL-INVENTORY.md, and REVIEW.md.

Install

Run this in your project to install via CLI:

fscloud dojo skill install flowstate-flowstate-platform-epicdm-flowstate-dashboard --target <target> --out ./skills

Replace <target> with your agent target identifier. See the CLI docs for details.