atomic

flowstate-epic-flowstate-community-epicdm-flowstate-agents-core

Package-local agent skill for @epicdm/flowstate-agents-core.

Tags

Publisher

Versions

1 version published — latest: 1.0.7

  • 1.0.7
    publishedInvalid Date

Skill

flowstate-agents-core Package Skill

Package: @epicdm/flowstate-agents-core Repository: epic-flowstate-community Path: packages/agents-core Version: 1.0.7

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

Primary Package Workflow

Agents Core API Reference

Status: Active Purpose: Provide lookup guidance for source-backed agents-core API contracts. Scope: src/index.ts, src/schemas/index.ts, src/collections/index.ts, .flowstate/docs/api/index.md. Trigger: API lookup, docs repair, skill authoring, package integration. Input: Source/API question. Output: Correct field/export/method answer.


Authority Order

  1. src/schemas/*.schema.ts
  2. src/collections/*.collection.ts
  3. src/collections/index.ts
  4. .flowstate/docs/api/index.md
  5. Existing docs/README only after source comparison

Known Drift

  • README uses stale package scope and symbols.
  • src/utils is exported but empty.
  • Generated Dojo splits symbols into weak feature skilllets.

Done When

  • The answer cites source or API docs.
  • Stale README/generated Dojo claims are not repeated.

Package Skill Inventory

Package Skill Inventory: @epicdm/flowstate-agents-core

Package Context

Package path: /Users/sthornock/code/epic/epic-flowstate-community/packages/agents-core

This package is a data-contract layer for agents, conversations, messages, providers, usage stats, and model pricing. It already had a useful orchestrator skill; this inventory adds focused subskills and review evidence.

Skill Map

SkillTypeTriggerTeachesEvidenceDepends OnDojo
flowstate-agents-coreorchestratorUse when working on agents-core schemas, collections, docs, tests, exports, or feature inventoryRoutes validation, RxDB, usage, provider safety, troubleshooting, maintenanceexisting SKILL.md, source/docspackage docsready-after-review
flowstate-agents-core-data-contractsworkflowUse when adding or changing Zod/RxDB agent data contractsKeep Zod, TS types, RxDB schemas, indexes, and tests alignedsrc/schemas, src/collectionsorchestratorready-after-review
flowstate-agents-core-rxdb-registrationworkflowUse when wiring agents-core collections into RxDBRegister schema/method/static bundles and collection typesquick-start, collections/index.tsdata contractsready-after-review
flowstate-agents-core-conversation-usageworkflowUse when storing conversations/messages or calculating usageConversation ordering, messages, token aggregation, model pricing null behaviormessage/model-pricing collectionsRxDB registrationready-after-review
flowstate-agents-core-provider-safetytroubleshootingUse when provider credentials, API keys, or provider lookups are involvedPlain-string apiKey, active lookup, no vault behaviorprovider schema/collectiondata contractslocal-only
flowstate-agents-core-api-referencereferenceUse when checking exact fields, enums, exports, or method signaturesDense source-backed API lookupdocs/api, sourcenoneready-after-review
flowstate-agents-core-maintenancemaintenanceUse when changing fields, schema versions, docs, feature matrix, or exportsVerification, docs/matrix updates, drift checksmaintenance docs, package scriptsorchestratorready-after-review

Anti-Sprawl Decision

Seven skills are appropriate including the existing orchestrator. The package has many exported symbols, but only a few real workflows: evolve contracts, register collections, store/query conversations and usage, handle provider metadata safely, look up APIs, and maintain docs.

Feature Coverage

Feature GroupSource EvidenceCovered ByNotes
Agent schema/collectionagent.*data-contracts, rxdb-registrationActive queries and archive methods
Conversation schema/collectionconversation.*conversation-usageCaller must update lastMessageAt
Message/tool/API metadatamessage.*conversation-usage, api-referenceAssistant-only metadata not enforced
Provider metadataprovider.*provider-safetyEncryption not implemented
Usage statsagent-usage-stats.*conversation-usage, api-referenceTest gaps remain
Model pricing/costmodel-pricing.*conversation-usageMissing pricing returns null
Root exportssrc/index.tsorchestrator, api-referenceutils empty

Composition Model

Start with flowstate-agents-core. Contract changes go to data-contracts and maintenance. App integration uses RxDB registration and conversation-usage. Provider secrets always load provider-safety. API reference is the dense lookup surface.

Deferred Skills

  • Downstream integration skill: defer until real downstream imports exist.
  • Migration skill: defer until schema version moves beyond 0.
  • Utils skill: defer because src/utils is empty.
  • Provider encryption skill: defer until implemented.

Review Questions

  • Should provider documents gain archive semantics, or should docs stop saying provider soft-delete exists?
  • Should messageSchema enforce assistant-only apiMetadata?
  • Should collection tests be added for provider, usage stats, and model pricing before Dojo publish?

Review Gate

Package Skills Review: @epicdm/flowstate-agents-core

Verdict

Pass with fixes.

The package now has a source-backed inventory and focused subskills layered under the existing useful orchestrator. Existing generated Dojo remains unsuitable for publication.

Findings

SeveritySkillIssueEvidenceRequired Fix
Importantprovider-safetyProvider API key encryption is not implementedprovider collection TODOKeep safety warning until implemented
ImportantallGenerated Dojo is symbol-sprawly.flowstate/dojo/*Rebuild from reviewed skills
MinorAPI/docsREADME is staleREADME vs sourceUpdate before final Dojo publish
MinormaintenanceVerification passed after authoring; build emitted an existing package exports warningtest, typecheck, build passedTrack package export condition order separately

Coverage

Feature GroupStatusSkillNotes
Zod/RxDB contractsCovereddata-contractsMain change workflow
RxDB registrationCoveredrxdb-registrationApp integration
Conversation/messages/usage/pricingCoveredconversation-usageIncludes null pricing
Provider metadata safetyCoveredprovider-safetyPlain API key warning
API lookupCoveredapi-referenceSource authority
Maintenance/docs/DojoCoveredmaintenanceRebuild before publish

Drift and Contract Risks

AreaRiskEvidenceDecision
READMEWrong scope/symbolsREADME vs sourceSource wins
Provider docsSoft-delete/encryption overstateddocs vs sourceWarn/defer
DojoGenerated symbol skilllets.flowstate/dojo/*Rebuild
TestsSome collection methods untestedreview findingTrack follow-up

Dojo Publication Decision

Do not publish existing generated Dojo files. Rebuild Dojo artifacts from reviewed local skills after verification.

Follow-Up Work

  • Package verification passed:
    • yarn workspace @epicdm/flowstate-agents-core test
    • yarn workspace @epicdm/flowstate-agents-core typecheck
    • yarn workspace @epicdm/flowstate-agents-core build
  • Update stale README/docs.
  • Add tests for provider, usage stats, and model pricing methods.
  • Rebuild Dojo artifacts.

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/agents-core/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-agents-core --target <target> --out ./skills

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