flowstate-flowstate-platform-epicdm-gateway-specs
Package-local agent skill for @epicdm/gateway-specs.
Tags
Publisher
Versions
1 version published — latest: 0.1.0
- 0.1.0publishedInvalid Date
Skill
gateway-specs Package Skill
Package: @epicdm/gateway-specs
Repository: flowstate-platform
Path: packages/gateway-specs
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
Gateway Specs OpenAPI Bundle Workflow
Status: Active
Purpose: Keep bundled OpenAPI specs generated from worker-owned source specs.
Scope: packages/gateway-specs
Trigger: Worker OpenAPI changes, SDK codegen inputs, manifest drift, or spec consumption.
Input: Worker source specs, package manifest, and target consumer.
Output: Valid specs/*.json, regenerated manifest.json, and stable package API usage.
Workflow
- Do not hand edit
manifest.jsonor bundledspecs/*.jsonfor source changes. Regenerate from worker specs. - If route/schema changes happened in worker packages, run the repo OpenAPI generation first:
yarn generate:openapi. - Run
yarn workspace @epicdm/gateway-specs bundle. The script inscripts/bundle-specs.mtsvalidates OpenAPI 3.1, copies each source spec, counts paths/operations, and writesmanifest.json. - Use
index.jsfor programmatic consumption:manifest,services, andloadSpec(name). - Add or remove services by changing the
SOURCEStable inscripts/bundle-specs.mts, then updatepackage.jsonexports and README service docs.
Example
import { loadSpec, services } from '@epicdm/gateway-specs'
const marketplace = loadSpec('marketplace')
console.log(services.map(service => service.name), marketplace.openapi)
Verification
yarn workspace @epicdm/gateway-specs bundleyarn workspace @epicdm/gateway-specs typecheckyarn workspace @epicdm/gateway-specs lint
Composition
- Use worker package skills for the source route/schema changes.
- Use
gateway-routes-route-table-workflowwhen gateway path prefixes change with the spec.
Package Skill Inventory
Skill Inventory: @epicdm/gateway-specs
Created Skills
| Skill | Type | Trigger |
|---|---|---|
gateway-specs-openapi-bundle-workflow | Workflow | Use when regenerating or consuming the bundled gateway OpenAPI specs. |
Candidate Future Skills
| Candidate | Reason to Split Later |
|---|---|
gateway-specs-sdk-codegen | Rust, Swift, and TypeScript SDK generation can become a cross-repo workflow. |
gateway-specs-versioning-policy | Semver policy may need a release-review checklist later. |
Source Evidence
scripts/bundle-specs.mtsvalidates and copies worker specs.README.mddocuments regeneration, consumption, publishing, and semver policy.index.jsandindex.d.tsdefine the package API.
Review Gate
Review: @epicdm/gateway-specs Skills
Result: Pass for source-backed package-local workflow guidance.
Checks
- The skill names generated artifacts and tells agents not to hand edit them.
- It cites
scripts/bundle-specs.mts,index.js,manifest.json, andspecs/*.json. - It stays focused on bundle and consumption workflow rather than listing every service path.
- Generated
.flowstate/dojofiles were not modified.
Residual Risk
SDK codegen is referenced but not fully documented in this package-local shard.
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/gateway-specs/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-gateway-specs --target <target> --out ./skillsReplace <target> with your agent target identifier. See the CLI docs for details.