flowstate-epic-flowstate-community-epicdm-flowstate-templates
Package-local agent skill for @epicdm/flowstate-templates.
Tags
Publisher
Versions
1 version published — latest: 1.0.8
- 1.0.8publishedInvalid Date
Skill
flowstate-templates Package Skill
Package: @epicdm/flowstate-templates
Repository: epic-flowstate-community
Path: packages/flowstate-templates
Version: 1.0.8
Use this published Dojo skill as the package-level entrypoint. For detailed workflows, use the package-local skills listed below.
Primary Package Workflow
Adding Template Business Types
Status: Active
Purpose: Add or update built-in business categories without breaking registry behavior or type coverage.
Scope: packages/flowstate-templates/src/business-types
Trigger: A task adds a new category or materially changes an existing bundle.
Input: Business category definition and domain data.
Output: Registered, tested TemplateBundle.
Existing Layout
Each category folder contains:
agents.ts
bizplan.ts
content.ts
finance.ts
index.ts
marketing.ts
operations.ts
product.ts
index.ts composes a TemplateBundle and calls registerBundle(bundle).
Add Or Change Workflow
- Update or create domain files using types from
src/types.ts. - Compose the bundle in the category
index.ts. - Call
registerBundle(bundle)in thatindex.ts. - Export/import the category from
src/business-types/index.ts. - If adding a new category, update
BusinessCategory. - Add or update business-specific tests and all-bundles expectations.
- Check finance journal balancing and domain minimums.
- Run package gates.
Red Flags
| Red Flag | Correction |
|---|---|
New folder exists but listTemplates() count is unchanged | Import the folder from src/business-types/index.ts. |
| Type accepts category but bundle is absent | Ensure side-effect registration runs. |
| Finance edits pass typecheck but fail tests | Rebalance journal entries and account references. |
| Duplicating bundle IDs | registerBundle replaces existing IDs. |
Verification
yarn workspace @epicdm/flowstate-templates test
yarn workspace @epicdm/flowstate-templates typecheck
yarn workspace @epicdm/flowstate-templates lint
Package Skill Inventory
Skill Inventory: @epicdm/flowstate-templates
Review date: 2026-06-30
Skill Map
| Skill | Type | Use When |
|---|---|---|
flowstate-templates | Orchestrator | Choosing and composing FlowState business template bundles. |
flowstate-templates-registry | Reference/workflow | Listing templates, retrieving a bundle, retrieving a domain, or registering custom bundles. |
flowstate-templates-bundle-selection | Workflow | Selecting the right built-in business type for a project or onboarding flow. |
flowstate-templates-domain-contracts | Reference | Mapping bundle domains to FlowState bizplan, product, marketing, content, operations, agents, and finance records. |
flowstate-templates-adding-business-types | Workflow | Adding or changing a built-in business type bundle. |
flowstate-templates-json-export | Workflow | Generating or consuming static JSON bundle artifacts. |
flowstate-templates-maintenance | Maintenance | Updating docs, tests, Dojo files, versioned bundles, or generated artifacts. |
Feature Coverage
| Feature Matrix Items | Covered By |
|---|---|
| Built-in bundle constants and domain constants | flowstate-templates-bundle-selection, flowstate-templates-domain-contracts as source evidence; public consumers should use registry functions. |
registerBundle, listTemplates, getTemplate, getTemplateDomain | flowstate-templates-registry |
Template interfaces and BusinessCategory | flowstate-templates-domain-contracts, flowstate-templates-adding-business-types |
scripts/generate-json.ts | flowstate-templates-json-export |
Composition Notes
- Use FlowState bizplan/product/finance/domain skills when converting templates into persisted FlowState records.
- This package supplies seed data and contracts; it does not create database records by itself.
Review Gate
Package Skill Review: @epicdm/flowstate-templates
Review date: 2026-06-30 Verdict: pass
Quality Gate
- Source-backed package purpose: pass.
- Public entry points documented: pass.
- Composable skill map: pass.
- Generated Dojo weaknesses called out: pass.
- Dojo publish readiness: deferred until generated artifacts are rebuilt from reviewed skills.
Evidence Checked
package.jsonREADME.mdsrc/index.tssrc/registry.tssrc/types.tssrc/business-types/index.ts- representative bundle indexes
src/__tests__/registry.test.tssrc/__tests__/all-bundles.test.tssrc/__tests__/types.test.tsscripts/generate-json.ts.flowstate/feature-matrix/inventory.md.flowstate/dojo/agent-skillset.md
Verification Results
yarn workspace @epicdm/flowstate-templates test
yarn workspace @epicdm/flowstate-templates typecheck
yarn workspace @epicdm/flowstate-templates build
yarn workspace @epicdm/flowstate-templates lint
yarn nx build @epicdm/flowstate-templates
Results:
- ASCII/frontmatter check passed.
test --runInBandpassed: 8 suites, 185 tests.typecheckpassed.lintpassed with 197 existing warnings, all test non-null assertions.buildpassed.nx buildpassed and built/cached dependent tasks forflowstate-cryptoandflowstate-collections; existing Nx Cloud 401/unconnected workspace notice reported.
Dojo Status
Deferred. Existing generated Dojo artifacts should be rebuilt from these reviewed local skills because they split package internals into per-constant skilllets, include generic course language, and have ID/publisher drift.
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-templates/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-community-epicdm-flowstate-templates --target <target> --out ./skillsReplace <target> with your agent target identifier. See the CLI docs for details.