tsed-configuration
Skill by tsedio
Configures and bootstraps a Ts.ED v8 server, covering the Server class, platform bootstrap, server options and @tsed/config sources. Written for developers editing Server.ts, index.ts or src/config in a Ts.ED project.
Install tsed-configuration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tsedio/tsed /tmp/tsed && mkdir -p ~/.claude/skills && cp -r /tmp/tsed/plugins/tsed/skills/tsed-configuration ~/.claude/skills/tsed-configurationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tsedio/tsed /tmp/tsed && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tsed/plugins/tsed/skills/tsed-configuration ~/.gemini/antigravity-cli/skills/tsed-configurationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an AI assistant through configuring and bootstrapping a Ts.ED v8 server. It covers declaring the Server class with the @Configuration decorator or configuration(), bootstrapping with PlatformExpress, PlatformKoa or PlatformFastify, and common server options such as mount, middlewares, httpPort and logger. It also covers per-platform options.
The skill tells the assistant to keep settings in one place, the Server class and src/config, and to read them through the DI configuration API instead of process.env. It explains loading env, dotenv, JSON and YAML sources with explicit priorities, and reading values with constant(), refValue(), @Constant, @Value or configuration().get(). It is aimed at developers working on Ts.ED projects.
Written from the project's SKILL.md and checked against it.
What it can do
- Declare the ServerSets up the Server class with @Configuration or configuration() and imports the platform's side-effect packages.
- Bootstrap the platformStarts the server with PlatformExpress, PlatformKoa or PlatformFastify and handles SIGINT shutdown.
- Set server optionsCovers ports, middlewares, statics, views, logger, imports and response filters.
- Set platform optionsCovers express, koa and fastify specific keys, including Fastify plugins.
- Load configuration sourcesAdds envs, dotenv, JSON and YAML sources with @tsed/config and the extends option.
- Set source prioritiesExplains that sources apply in ascending priority and the last one wins.
- Read configuration valuesShows constant(), refValue(), @Constant, @Value and configuration().get() for reading settings.
- Type custom config keysDescribes augmenting TsED.Configuration to type custom settings.
What you need
- Ts.ED v8 project
- One of @tsed/platform-express, @tsed/platform-koa or @tsed/platform-fastify installed
- dotenv, dotenv-expand and dotenv-flow for the dotenv source
- js-yaml for the YAML source
Try asking
- Add a JSON config source with priority 1 to my Ts.ED Server class
- Bootstrap my Ts.ED server with PlatformFastify and handle SIGINT
- Replace process.env reads in my MailService with constant() or @Constant
Good to know
- Premium sources such as AWS Secrets Manager, Vault and Mongo are not reimplemented and point to external docs
- @Constant values are frozen and never refresh
- Class-based middlewares cannot use the $beforeInit, $onInit or $afterInit hooks
- Covers Ts.ED v8 only and warns against importing from @tsed/common
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/tsed/skills/tsed-configuration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
agents/openai.yaml226 B -
references/server-options.md10 KB
Alternatives to tsed-configuration
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
tsed-configuration: common questions
Why is my extends config source ignored in Ts.ED?
The source says a missing import of @tsed/config, or a @tsed/config subpath, causes extends to be silently ignored. Import the package before using extends.
Should I use constant() or refValue() for settings in Ts.ED?
The source says constant() reads once, while refValue() and @Value are live and can be updated when watch or refreshOn sources are used. @Constant values are frozen.
Can I read config at the top level of a Ts.ED module?
No. The source warns that the configuration is not loaded yet at module top level, so call constant() inside a class field, factory, hook or method.
How do I install tsed-configuration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is tsed-configuration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is tsed-configuration safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to tsed-configuration?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
