flowstate-epic-flowstate-apps-epicdm-flowstate-app-content
Package-local agent skill for @epicdm/flowstate-app-content.
Tags
Publisher
Versions
1 version published — latest: 1.0.0
- 1.0.0publishedInvalid Date
Skill
flowstate-app-content Package Skill
Package: @epicdm/flowstate-app-content
Repository: epic-flowstate-apps
Path: packages/flowstate-app-content
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
Content Collection Hooks
Status: Active
Purpose: Keep Content Studio collection access scoped and consistent.
Scope: src/hooks/*CRUD.ts in packages/flowstate-app-content.
Trigger: A task changes list/detail/mutation hooks or introduces a content collection.
Input: Collection name, filters, and mutation needs.
Output: Scoped hook behavior using FlowState collection helpers.
Workflow
- Start from the nearest existing hook in
src/hooks: content pieces, pillars, hook templates, conversion codes, funnels, calendar, persuasion templates, or audiences. - Use
useDatabase()anduseOrgWorkspace()to getdb,currentOrgId, andcurrentWorkspaceId. - Include
orgIdin selectors. AddworkspaceIdwhen present. Keep workspace optional where existing hooks do. - Use
useRecordsfor collection-backed CRUD. Return entity-specific names such ascontentPieces,pillars, orfunnels. - For mutation object compatibility, follow the local pattern: some hooks return raw
create/update/remove, while calendar and persuasion templates exposemutateAsyncwrappers.
Collection Names
| Entity | Collection |
|---|---|
| Content pieces | contentpieces |
| Pillars | contentpillars |
| Hook templates | hooktemplates |
| Conversion codes | conversioncodes |
| Funnels | contentfunnels |
| Calendar entries | contentcalendars |
| Persuasion templates | persuasiontemplates |
| Audiences | audiences |
Verification
yarn workspace @epicdm/flowstate-app-content typecheck
When adding filters, inspect both the list component and detail route to ensure field names match stored records.
Package Skill Inventory
Skill Inventory: @epicdm/flowstate-app-content
| Skill | Type | Use when |
|---|---|---|
flowstate-app-content | Orchestrator | Working on Content Studio routes, plugin registration, or deciding which content subskill to load. |
flowstate-app-content-collection-hooks | Workflow | Creating or changing scoped CRUD hooks for content collections. |
flowstate-app-content-form-schemas | Reference | Changing Zod form schemas, form fields, enums, or validation. |
Composition
Start with the orchestrator for app structure. Use collection hooks for data access and form schemas for validation changes. Most feature work in this package needs both subskills.
Review Gate
Review: @epicdm/flowstate-app-content Skills
Status: Passed for local package use
Reviewed: 2026-06-30
Checks
| Check | Result |
|---|---|
| Source-backed | Passed. Skills reference routes, hooks, schemas, and plugin files. |
| Not a generated feature list | Passed. Skills describe CRUD and validation workflows. |
| Composable | Passed. Orchestrator routes to data-hook and schema references. |
| Verification included | Passed. Package commands are documented. |
Residual Risk
Several imports in src/App.tsx point to nested component directories not covered by the initial shallow file list. Future changes should inspect the exact component before editing.
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-content/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-content --target <target> --out ./skillsReplace <target> with your agent target identifier. See the CLI docs for details.