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.

Quellinformationen

Repository
getsentry/flue-agents
Letzte Quellaktivität
16. Juni 2026 um 20:00
Erkannte Sprache von SKILL.md
Englisch
Sterne
3
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
12 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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.
Auf GitHub ansehen