flowstate-epic-flowstate-community-react-obs-demo
Package-local agent skill for react-obs-demo.
Tags
Publisher
Versions
1 version published — latest: 1.0.0
- 1.0.0publishedInvalid Date
Skill
react-obs-demo Package Skill
Package: react-obs-demo
Repository: epic-flowstate-community
Path: examples/react-obs-demo
Version: 1.0.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 React Obs Demo
Status: Active
Purpose: Guide agents through the React observability demo.
Scope: examples/react-obs-demo.
Trigger: Need to run, update, debug, or teach the observability demo.
Input: Local obs endpoint, Vite app, and demo scenario.
Output: Demo behavior that intentionally exercises logs, errors, and browser global handlers.
Runtime Model
src/App.tsx renders buttons for:
- counter increment/decrement logs
- null/type/network/async/state/array errors
- debug/info/warn log events
src/observability.ts:
- posts errors to
/api/errors - posts logs to
/api/logs - sends
X-API-KeyandX-Project-ID - installs
errorandunhandledrejectionhandlers - generates a local session id
Change Checklist
- Keep intentional error triggers obvious and isolated.
- Update
OBS_CONFIGwhen changing server URL, API key, or project id. - Preserve comments around missing session creation if the server still lacks that endpoint.
- Prefer source-backed examples over generated Dojo feature lists.
Verification
yarn workspace react-obs-demo build
Run yarn workspace react-obs-demo dev only for interactive browser validation.
Created: 2026-06-29
Package Skill Inventory
react-obs-demo Skill Inventory
| Skill | Use When |
|---|---|
flowstate-react-obs-demo | Running, modifying, or explaining the React observability demo and its manual telemetry helper. |
Review Gate
react-obs-demo Skills Review
Verdict: Pass with follow-ups.
Local skill covers demo purpose, telemetry helper behavior, intentional error buttons, server URL assumptions, and verification commands.
Verification
- ASCII and skill frontmatter checks passed.
yarn workspace react-obs-demo buildpassed with the existing Vite CJS Node API deprecation warning.
Follow-Ups
- Rebuild generated
.flowstate/dojocontent from the reviewed local skill before publishing. - Keep the hardcoded demo OBS URL/API key assumptions visible in docs because the demo is not a production SDK wrapper.
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 examples/react-obs-demo/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-react-obs-demo --target <target> --out ./skillsReplace <target> with your agent target identifier. See the CLI docs for details.