flowstate-flowstate-platform-epicdm-flowstate-compliance
Package-local agent skill for @epicdm/flowstate-compliance.
Tags
Publisher
Versions
1 version published — latest: 0.1.0
- 0.1.0publishedInvalid Date
Skill
flowstate-compliance Package Skill
Package: @epicdm/flowstate-compliance
Repository: flowstate-platform
Path: packages/compliance
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
Compliance Auth Context
Status: Active
Purpose: Preserve protected compliance access and request context.
Scope: Auth routes, session constants, OIDC client, and getAppContext.
Trigger: Auth, session, redirect, or context changes.
Input: Desired access behavior and affected route group.
Output: Auth-context change with typecheck/test verification.
Source Map
src/app/auth/login/route.ts,callback/route.ts, andlogout/route.ts.src/lib/oidc/client.ts.src/lib/session/constants.tsdefines__session_c.src/lib/get-app-context.tsreturns app context for protected pages.src/app/(auth)andsrc/app/(compliance)/layout.tsxseparate public auth and protected app surfaces.
Workflow
- Trace the login or protected page request path before editing.
- Keep session cookie changes centralized in
src/lib/session/constants.ts. - Do not duplicate OIDC client setup outside
src/lib/oidc/client.ts. - Keep
getAppContextas the shared bridge from request/session/environment to pages. - Run typecheck and package tests.
Created: 2026-06-30
Package Skill Inventory
Skill Inventory: @epicdm/flowstate-compliance
Review date: 2026-06-30
| Skill | Type | Use When | Source Anchors |
|---|---|---|---|
flowstate-compliance-dashboard | Orchestrator | Working on compliance app pages, layout, or verification | src/app/(compliance), src/components, package.json |
flowstate-compliance-schema-score | Workflow | Changing controls, evidence, policies, risks, vendors, access reviews, audit events, or score logic | src/db/schema.ts, src/lib/compliance-score.ts, scripts/seed.ts |
flowstate-compliance-auth-context | Workflow | Changing auth, app context, sessions, or OIDC behavior | src/lib/get-app-context.ts, src/app/auth, src/lib/session/constants.ts |
Composition Notes
Use the dashboard skill for route work, then invoke schema/score or auth/context when the change touches those shared contracts.
Review Gate
Package Skills Review: @epicdm/flowstate-compliance
Review date: 2026-06-30 Status: Pass for local agent use
Checks
- Skills cite schema, routes, context helpers, scoring, seed data, and package commands.
- Skills avoid mirroring the generated feature matrix and group work by compliance workflows.
- Files were written only under
packages/compliance/.flowstate/skills.
Pressure Scenario
Scenario: "Add a new evidence type and display it in compliance evidence pages."
Expected behavior with skills: load flowstate-compliance-schema-score, update evidenceTypes and related schema/seed/page handling, then run typecheck and package tests.
Remaining Risk
Schema and migration generation were not run during authoring. Agents changing schema should run Drizzle generation and inspect migration diffs.
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/compliance/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-compliance --target <target> --out ./skillsReplace <target> with your agent target identifier. See the CLI docs for details.