flowstate-flowstate-platform-epicdm-flowstate-gateway
Package-local agent skill for @epicdm/flowstate-gateway.
Tags
Publisher
Versions
1 version published — latest: 0.1.0
- 0.1.0publishedInvalid Date
Skill
flowstate-gateway Package Skill
Package: @epicdm/flowstate-gateway
Repository: flowstate-platform
Path: packages/worker-gateway
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
FlowState Gateway Transports
Use this skill when proxy transport behavior changes.
Start Here
Read:
src/proxy/http.tssrc/proxy/sse.tssrc/proxy/websocket.tssrc/proxy/tenant-dispatch.tssrc/proxy/url-builder.ts
Rules
- Route normal request/response traffic through HTTP proxy helpers.
- Preserve streaming headers and response flushing for SSE.
- Preserve upgrade handling for WebSocket routes.
- Use tenant dispatch only when requests target per-tenant Workers for Platforms namespaces.
- Keep auth and budget checks outside low-level transport helpers unless the gateway middleware contract changes.
Verification
yarn workspace @epicdm/flowstate-gateway test
yarn workspace @epicdm/flowstate-gateway typecheck
Package Skill Inventory
@epicdm/flowstate-gateway Skill Inventory
| Skill | Purpose |
|---|---|
flowstate-worker-gateway | Operate and maintain route config, service bindings, middleware order, and proxy dispatch. |
flowstate-worker-gateway-transports | Work with HTTP, SSE, WebSocket, and tenant-dispatch proxy modes. |
Review Gate
@epicdm/flowstate-gateway Skill Review
Verdict
Pass with existing test drift.
The skills are source-backed and focus on gateway operation, middleware, bindings, and transport behavior.
Verification
- ASCII and skill frontmatter checks passed.
yarn workspace @epicdm/flowstate-gateway typecheckpassed.yarn workspace @epicdm/flowstate-gateway lintpassed.yarn workspace @epicdm/flowstate-gateway testfailed 8 existing claims-header assertions insrc/middleware/__tests__/claims.test.tsandsrc/__tests__/middleware/claims.test.ts; 12 suites and 138/146 tests passed.
Follow-Ups
- Rebuild generated Dojo content from reviewed local skills before publishing.
- Reconcile claims middleware/header expectations before treating the gateway suite as green.
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/worker-gateway/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-flowstate-gateway --target <target> --out ./skillsReplace <target> with your agent target identifier. See the CLI docs for details.