Vercel Composition Patterns
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
Handle errors and shape responses in a Ts.ED v8 application with @tsed/exceptions, exception filters from @tsed/platform-exceptions and response filters from @tsed/platform-response-filter.
$ npx skills add tsedio/tsed --skill tsed-exceptions -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install tsedio/tsed tsed-exceptions --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/tsedio/tsed.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/tsed/skills/tsed-exceptions .claude/skills/tsed-exceptions && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tsed-exceptions" agent skill from https://github.com/tsedio/tsed/tree/production/plugins/tsed/skills/tsed-exceptions into .claude/skills/tsed-exceptions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsed-exceptions", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/tsedio/tsed/tree/production/plugins/tsed/skills/tsed-exceptionsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add tsedio/tsed --skill tsed-exceptions -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install tsedio/tsed tsed-exceptions --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tsedio/tsed.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/tsed/skills/tsed-exceptions .agents/skills/tsed-exceptions && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tsed-exceptions" agent skill from https://github.com/tsedio/tsed/tree/production/plugins/tsed/skills/tsed-exceptions into .agents/skills/tsed-exceptions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsed-exceptions", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tsedio/tsed --skill tsed-exceptions -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install tsedio/tsed tsed-exceptions --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tsedio/tsed.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/tsed/skills/tsed-exceptions .cursor/skills/tsed-exceptions && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tsed-exceptions" agent skill from https://github.com/tsedio/tsed/tree/production/plugins/tsed/skills/tsed-exceptions into .cursor/skills/tsed-exceptions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsed-exceptions", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/tsedio/tsed.git --path plugins/tsed/skills/tsed-exceptions--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add tsedio/tsed --skill tsed-exceptions -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install tsedio/tsed tsed-exceptions --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tsedio/tsed.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/tsed/skills/tsed-exceptions .gemini/skills/tsed-exceptions && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tsed-exceptions" agent skill from https://github.com/tsedio/tsed/tree/production/plugins/tsed/skills/tsed-exceptions into .gemini/skills/tsed-exceptions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsed-exceptions", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install tsedio/tsed tsed-exceptionsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add tsedio/tsed --skill tsed-exceptions -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/tsedio/tsed.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/tsed/skills/tsed-exceptions .github/skills/tsed-exceptions && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tsed-exceptions" agent skill from https://github.com/tsedio/tsed/tree/production/plugins/tsed/skills/tsed-exceptions into .github/skills/tsed-exceptions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsed-exceptions", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tsedio/tsed --skill tsed-exceptions -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install tsedio/tsed tsed-exceptions --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tsedio/tsed.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/tsed/skills/tsed-exceptions .opencode/skills/tsed-exceptions && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tsed-exceptions" agent skill from https://github.com/tsedio/tsed/tree/production/plugins/tsed/skills/tsed-exceptions into .opencode/skills/tsed-exceptions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsed-exceptions", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tsed-exceptionsHandle errors and shape responses in a Ts.ED v8 application with @tsed/exceptions, exception filters from @tsed/platform-exceptions and response filters from @tsed/platform-response-filter.
Tsed Exceptions is an agent skill from tsedio/tsed. Handle errors and shape responses in a Ts.ED v8 application with @tsed/exceptions, exception filters from @tsed/platform-exceptions and response filters from @tsed/platform-response-filter. Use when throwing BadRequest/NotFound/Unauthorized or a custom exception, customizing the JSON error payload, writing a @Catch filter, customizing the 404 ResourceNotFound page, wrapping all responses in an envelope with @ResponseFilter, documenting errors with @Returns(404, NotFound), or debugging responses such as…
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Development. The repository describes itself as: :triangularruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline… The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit cebcc11. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript and json).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
tsed.devFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tsed Exceptions loads about 2.4k tokens when it runs. Until then it costs about 153 tokens; SKILL.md has 742 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from tsedio/tsed at commit cebcc11, republished under its MIT licence (© tsedio). 742 words, ~2,449 tokens.
.claude/skills/tsed-exceptions/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Throw typed exceptions anywhere in the request flow. PlatformExceptions routes each error to one exception filter, which writes the response. Response filters shape successful responses only.
Package map (never import from @tsed/common):
| Symbol | Package |
|---|---|
Exception, BadRequest, Unauthorized, Forbidden, NotFound, Conflict, UnprocessableEntity, TooManyRequests, InternalServerError, ... | @tsed/exceptions |
Catch, ExceptionFilterMethods, ResourceNotFound, PlatformExceptions | @tsed/platform-exceptions |
ResponseFilter, ResponseFilterMethods | @tsed/platform-response-filter |
PlatformContext | @tsed/platform-http |
ValidationError, ParamValidationError | @tsed/platform-params |
import {BadRequest, NotFound} from "@tsed/exceptions";
throw new NotFound("Calendar not found");
throw new BadRequest("Invalid import file", cause); // cause: Error | string | object
const error = new BadRequest("Invalid payload");
error.errors = [{path: "/email", message: "already used"}];
error.setHeaders({"x-reason": "duplicate"});
throw error;new Xxx(message, origin?). Base class: new Exception(status, message, origin?). error.name is derived from the status (NOT_FOUND, BAD_REQUEST); error.status holds the code.origin as Error or string is stored in error.origin and appended to the message as , innerException: <message>. origin as a plain object is stored in error.body.headers (via setHeader/setHeaders) are copied to the response; an errors array is copied to the payload. Both are also read from error.origin.response.status(...) manually in handlers. Do not throw strings or plain objects.import {Conflict} from "@tsed/exceptions";
export class EmailAlreadyUsed extends Conflict {
constructor(email: string) {
super(`Email ${email} is already used`);
this.errors = [{code: "EMAIL_ALREADY_USED", email}];
}
}Extend the built-in class matching the status. Alternatively keep domain errors HTTP-free (plain Error subclasses) and translate them in an exception filter.
Any Exception subclass is sent with its status as application/json:
{"name": "NOT_FOUND", "message": "Calendar not found", "status": 404, "errors": []}stack is added only when env is development. Any other Error is sent with error.status || error.statusCode || 500; in production its body is the string "InternalServerError", otherwise the same object shape.name: "AJV_VALIDATION_ERROR", a message starting with Bad request on parameter "request.body", and errors[] holding the AJV entries (keyword, dataPath, message, modelName, requestPath). A missing required parameter gives REQUIRED_VALIDATION_ERROR. Rules that produce them: tsed-models.ResourceNotFound (a NotFound with url), message Resource "<url>" not found.import {Exception} from "@tsed/exceptions";
import {Catch, type ExceptionFilterMethods} from "@tsed/platform-exceptions";
import type {PlatformContext} from "@tsed/platform-http";
@Catch(Exception)
export class HttpExceptionFilter implements ExceptionFilterMethods<Exception> {
catch(error: Exception, ctx: PlatformContext) {
ctx.logger.error({event: "HTTP_ERROR", status: error.status, message: error.message});
ctx.response
.setHeaders(error.headers)
.status(error.status)
.body({code: error.name, detail: error.message, errors: error.errors || []});
}
}@Catch(...types) accepts classes or class-name strings (for third-party errors that cannot be imported, e.g. @Catch("MongooseError")).@Catch registers the class when the file is evaluated. Import the file from the server entry point (import "./filters/HttpExceptionFilter.js";) or list the class in imports. There is no configuration key for exception filters.Error filter. One filter handles one error.Error, Exception, Mongoose errors and thrown strings.catch must write the response: ctx.response.status(...).body(...). It may be async. Filters are injectable; use inject() or @Inject() for services.@Catch(EmailAlreadyUsed)), keep one generic @Catch(Exception) and, if needed, one @Catch(Error).error.stack or raw third-party messages in a custom @Catch(Error) filter.Custom 404:
import {Catch, type ExceptionFilterMethods, ResourceNotFound} from "@tsed/platform-exceptions";
import type {PlatformContext} from "@tsed/platform-http";
@Catch(ResourceNotFound)
export class ResourceNotFoundFilter implements ExceptionFilterMethods<ResourceNotFound> {
catch(error: ResourceNotFound, ctx: PlatformContext) {
ctx.response.status(404).body({status: 404, message: error.message, url: error.url});
}
}import type {Context} from "@tsed/platform-params";
import {ResponseFilter, type ResponseFilterMethods} from "@tsed/platform-response-filter";
@ResponseFilter("application/json")
export class EnvelopeFilter implements ResponseFilterMethods {
transform(data: unknown, ctx: Context) {
return {data, errors: [], links: []};
}
}
// Server.ts
@Configuration({responseFilters: [EnvelopeFilter]})
export class Server {}responseFilters. Decorating and importing is not enough: unlisted filters are ignored."*/*" is the fallback for all types.@ContentType, @(Returns(200, Model).ContentType("text/xml")), or JSON for objects), negotiated against the request Accept header when present.@Returns schemas to describe the envelope (generic wrapper model: tsed-models, tsed-openapi).@Get("/:id")
@Returns(200, Calendar)
@(Returns(404, NotFound).Description("Calendar not found"))
get(@PathParams("id") id: string) {}Built-in exception classes ship with a schema (name, message, status, errors, stack). If a custom filter changes the payload, pass a model describing the new shape instead.
InternalServerError for an expected error: a plain Error was thrown instead of an Exception subclass.responseFilters, or the negotiated content type differs from the filter's., innerException: ...: an Error or string was passed as second constructor argument. Pass details through errors instead.ResourceNotFound imported from @tsed/platform-http (as older doc snippets show) fails; import it from @tsed/platform-exceptions.ctx.response.body(...), or also rethrew.@tsed/exceptions classes or subclasses; nothing throws strings.@Catch, implement catch(error, ctx), and are imported at startup.responseFilters.@Returns.@tsed/common import; relative imports end with .js.Depth: https://tsed.dev/docs/exceptions.md, https://tsed.dev/docs/response-filter.md, https://tsed.dev/docs/not-found-page.md.
© tsedio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in plugins/tsed/skills/tsed-exceptions of tsedio/tsed.
Open the folder on GitHubat commit cebcc11
Tsed Exceptions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tsed Exceptions this skilltsedio/tsed | 3.1k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Vercel Composition Patternssupabase/supabase | 111k | 59 repos | ~726 | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 296k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 25 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT |
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
onyx-dot-app/onyx
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
tsedio/tsed
Create a production-ready Ts.ED platform adapter for a new HTTP framework or runtime, such as Hono, Elysia, Bun.serve, or a Node framework.
tsedio/tsed
Scaffolds Ts.ED v8 projects and generates files with the Ts.ED CLI v7, through its MCP server (tools set-workspace, init-project, list-templates, get-template, generate-file) or the tsed binary…
tsedio/tsed
Configure and bootstrap a Ts.ED v8 server - the @Configuration decorator or configuration() on the Server class, PlatformExpress/PlatformKoa/PlatformFastify.bootstrap, server options (mount…
tsedio/tsed
Declare, inject and scope Ts.ED v8 providers and wire lifecycle hooks - @Injectable, @Module, @Controller, @Inject, the functional API (inject, injectMany, lazyInject, constant, refValue…
tsedio/tsed
Locates authoritative Ts.ED v8 documentation and API reference instead of guessing framework APIs.
tsedio/tsed
Configure and use logging in a Ts.ED v8 application with @tsed/logger v8.
Categories
Handle errors and shape responses in a Ts.ED v8 application with @tsed/exceptions, exception filters from @tsed/platform-exceptions and response filters from @tsed/platform-response-filter. Tsed Exceptions is an agent skill from tsedio/tsed.ED v8 application with @tsed/exceptions, exception filters from @tsed/platform-exceptions and response filters from @tsed/platform-response-filter.
Tsed Exceptions fits situations like: throwing BadRequest/NotFound/Unauthorized; A custom exception; customizing the JSON error payload; writing a @Catch filter.
Run `npx skills add tsedio/tsed --skill tsed-exceptions -a claude-code`. Or copy the skill folder (plugins/tsed/skills/tsed-exceptions in tsedio/tsed) into .claude/skills/tsed-exceptions in your project. Claude Code loads it when a task matches its description.
Run `npx skills add tsedio/tsed --skill tsed-exceptions -a codex`. Or copy the skill folder (plugins/tsed/skills/tsed-exceptions in tsedio/tsed) into .agents/skills/tsed-exceptions in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tsedio/tsed --skill tsed-exceptions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tsed-exceptions, .gemini/skills/tsed-exceptions, .github/skills/tsed-exceptions and .opencode/skills/tsed-exceptions in your project.
SKILL.md names no scripts, command-line tools or credentials: Tsed Exceptions is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: tsed.dev. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Tsed Exceptions is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Tsed Exceptions: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
tsedio (a GitHub organization) maintains it in tsedio/tsed, which has 3,088 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 7, 2026.
Source: tsedio/tsed on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.