atomic

flowstate-epic-flowstate-apps-epicdm-flowstate-app-support

Package-local agent skill for @epicdm/flowstate-app-support.

Tags

Publisher

Versions

1 version published — latest: 1.0.0

  • 1.0.0
    publishedInvalid Date

Skill

flowstate-app-support Package Skill

Package: @epicdm/flowstate-app-support Repository: epic-flowstate-apps Path: packages/flowstate-app-support Version: 1.0.0

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

Primary Package Workflow

FlowState Support App

Status: Active Purpose: Keep Support app changes aligned with host integration. Scope: packages/flowstate-app-support. Trigger: Use when changing support routing, plugin metadata, dashboard surfaces, exports, or multiple support domains. Input: src/plugin.ts, src/index.ts, src/App.tsx, flowstate.plugin.json, touched hooks/components. Output: A support package change with source-backed verification notes.


Workflow

1. Confirm Plugin Metadata

Check supportPlugin for id support, route /apps/support, category business, and base path /support. Cross-check sidebar links in flowstate.plugin.json.

2. Choose A Data Workflow

Use support-record-crud for tickets, KB articles, or feedback. Use support-health-integrations for health scores or integrations.

3. Decide Public Export Scope

src/index.ts currently exports only the plugin, app, props, and version. If downstream code needs hooks or schemas, add explicit exports and verify.

Verification

Run yarn workspace @epicdm/flowstate-app-support typecheck and yarn workspace @epicdm/flowstate-app-support build. Record that the current test script does not run the package's hook tests.

Composition

Composes with @epicdm/flowstate-collections model contracts and app-framework database/org hooks.

Pitfalls

  • Do not edit .flowstate/dojo.
  • Do not assume support.newTicket is implemented as a command handler inside this package.
  • Keep route/basePath/sidebar paths consistent.

Done When

Plugin metadata, manifest links, exports, touched data workflow, and verification notes are aligned.

Package Skill Inventory

Package Skill Inventory: @epicdm/flowstate-app-support

Package Context

Support has repeated collection-hook workflows. The skillset groups those by operational purpose rather than creating one skill for each collection.

Skill Map

SkillTypeTriggerTeachesEvidenceDepends OnDojo
flowstate-app-supportorchestratorMaintaining Support app packagePlugin, manifest, exports, verificationsrc/plugin.ts, src/index.ts, flowstate.plugin.jsonapp frameworkready-after-review
support-record-crudworkflowChanging tickets, KB articles, or feedbackCRUD hooks, filters, schemas, testsuseTicketCRUD.ts, useKbArticleCRUD.ts, useFeedbackItemCRUD.ts, testscollectionsready-after-review
support-health-integrationsworkflowChanging health scores or integrationsCustomer-success filters and recordsuseHealthScoreCRUD.ts, useIntegrationCRUD.ts, testscollectionsready-after-review

Anti-Sprawl Decision: Three skills cover app integration and the two recurring support data workflows.

Feature Coverage

Feature GroupSource EvidenceCovered ByNotes
Plugin/app/sidebarsrc/plugin.ts, flowstate.plugin.jsonflowstate-app-supportSource-backed.
Tickets/KB/feedbackhooks, schemas, component folders, testssupport-record-crudCollection names matter.
Health/integrationshooks, schemas, testssupport-health-integrationsIncludes dashboard-adjacent data.

Composition Model

Use the orchestrator first. Use one workflow skill for the affected data domain, then return to orchestrator for exports and verification.

Deferred Skills

  • Dashboard metrics skill deferred until dashboard calculations become explicit services.
  • Command skill deferred until support.newTicket has source handler evidence.

Review Questions

  • Should src/index.ts export hooks and schemas for downstream use?
  • Should the package test script run hook tests?

Review Gate

Package Skills Review: @epicdm/flowstate-app-support

Verdict

Pass with fixes

Findings

SeveritySkillIssueEvidenceRequired Fix
ImportantAllHook tests exist but package test script does not run them.package.json; src/hooks/__tests__/*.Fix test command before Dojo publication.
Minorsupport-record-crudMutation wrappers use as any.CRUD hooks return cast mutation objects.Avoid expanding this pattern.

Coverage

Feature GroupStatusSkillNotes
Plugin/appCoveredflowstate-app-supportSource-backed.
Tickets/KB/feedbackCoveredsupport-record-crudIncludes tests as evidence.
Health/integrationsCoveredsupport-health-integrationsIncludes filter tests.

Drift and Contract Risks

AreaRiskEvidenceDecision
TestsExisting tests hidden by script.package.json.Record as drift.
Public exportsHooks not exported from package root.src/index.ts.Agent must decide intentionally.
DojoGenerated prototype..flowstate/dojo/*.Leave untouched.

Dojo Publication Decision

Defer until test script and export intent are clarified.

Follow-Up Work

  • Wire Jest/Vitest script to existing hook tests.
  • Decide which hooks/schemas belong in src/index.ts.

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/flowstate-app-support/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-epic-flowstate-apps-epicdm-flowstate-app-support --target <target> --out ./skills

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