Skip to main content

flue-framework

Use when building, modifying, debugging, or deploying Flue TypeScript agents and workflows, especially Flue project layout, createAgent, workflows, tools, skills, subagents, sandboxes, routing, ecosystem channels such as GitHub, SDK clients, persistence, Sentry observability, or Cloudflare Workers deployment.

Source facts

Repository
getsentry/flue-agents
Last source activity
June 16, 2026 at 20:00
Detected SKILL.md language
English
Stars
3
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
12 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
flue-framework
description
Use when building, modifying, debugging, or deploying Flue TypeScript agents and workflows, especially Flue project layout, createAgent, workflows, tools, skills, subagents, sandboxes, routing, ecosystem channels such as GitHub, SDK clients, persistence, Sentry observability, or Cloudflare Workers deployment.
# Flue Framework Use this skill for Flue framework work in this repository or in any TypeScript project using `@flue/runtime` or `@flue/cli`. ## First Actions 1. Inspect the project layout before editing. Flue discovers only the first source directory that exists: `.flue/`, then `src/`, then the project root. 2. In this repo, preserve the `src/` layout: `src/agents/`, `src/workflows/`, `src/skills/`, `src/app.ts`, and `src/cloudflare.ts`. Do not add `.flue/` or root-level Flue modules unless the whole repo is being migrated. 3. Use `pnpm` commands when installing, building, or testing. 4. Keep secrets in `.env` locally or platform secrets in production. Never place secrets in imported skills, agent modules, config, fixtures, or docs. ## Route By Need | Need | Read | | --- | --- | | Project setup, source discovery, configuration, models, providers, and local commands | `references/project-setup.md` | | Addressable agents, finite workflows, sessions, structured results, dispatch, and direct transport exports | `references/agents-workflows.md` | | Tools, MCP servers, skills, subagents, sandbox selection, filesystem, and shell behavior | `references/capabilities.md` | | GitHub channel ingress, native delivery payloads, Octokit tools, or webhook dedupe | `references/channel-github.md` | | HTTP routing, Hono `app.ts`, public route exposure, SDK clients, WebSockets, and CLI surfaces | `references/routing-sdk-cli.md` | | Session persistence, workflow runs, durable execution, events, logs, telemetry, and error handling | `references/persistence-observability.md` | | Sentry setup, Flue event reporting, Cloudflare wrappers, or Sentry data-export boundaries | `references/observability-sentry.md` | | Cloudflare Workers target, Durable Objects, `wrangler.jsonc`, Workers AI, Sandbox, `cloudflare.ts`, and deployment | `references/cloudflare-deploy.md` | | Build failures, runtime failures, security mistakes, migration issues, or ambiguous Flue behavior | `references/troubleshooting.md` | ## Runtime Defaults - Use `createAgent(...)` for continuing agent instances and `run({ init, payload, env })` for finite workflows. - Export `route` or `websocket` only when the module should expose that public transport. - Prefer workflows for bounded jobs that need deterministic setup, validation, side effects, or structured return data. - Prefer tools for executable application capabilities, skills for reusable instructions, subagents for delegated specialist reasoning, and sandboxes for filesystem or command execution. - Use Valibot result schemas when application code depends on fields rather than prose. - For Cloudflare in this repo, default model paths should use the configured Workers AI binding, e.g. `cloudflare/...`, unless the task explicitly changes providers. ## Verify After Flue code changes in this repo, run the smallest relevant checks: ```bash pnpm run typecheck pnpm run build ``` Run `pnpm run test` when behavior, validation, persistence, or workflow logic changes.
View on GitHub