synthkernel

SynthKernel is a TypeScript software architecture that helps you write efficient, clean and modular code.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "synthkernel" with this command: npx skills add hesprs/synthkernel/hesprs-synthkernel-synthkernel

About SynthKernel

SynthKernel is a TypeScript software architecture that helps you write efficient, clean and modular code.

Typical practice of SynthKernel consists a module loader class and module classes:

  • The module loader class manages module lifecycles, orchestrates types, and behaves as an facade at the surface of your app logic.

  • All module classes extend a BaseModule class, they define APIs, execute actual logic, augment the loader class and wire each other via dependency injection.

  • Types are resolved via generics orchestration.

  • Modules are composed to the loader to form an APP. A module loader can also be a module of a parent loader.

  • It is applicable to almost all use cases, including but not limited to backend service, complex automation, CLI application, and canvas rendering engine.

File System Conventions

SynthKernel should be structured in a tree pattern.

A loader together with the base module and all its direct modules should be placed flatly in one folder:

  • the file accommodating the loader should be named index.ts

  • base module named BaseModule.ts

  • types named types.ts

  • all modules are named (module name in PascalCase).ts

  • no restriction to the name of other files

It's a standard practice to turn a over-bloated module into a new loader-module structure, then simply turn the module into a folder with the same requirements above.

When to Use

  • At the early stage of development, when you have clues of logic yet haven't written any code.

  • You don't have a clear architecture convention.

  • During refactors when you aim to split some large modules or make the project modular.

  • You are adding new functionalities and considering to make a new module, wanting to understand SynthKernel.

When Not to Use

  • You are not supposed to create or change the architecture.

  • You are developing web UI which has its own conventions.

  • You are serving for a simple project (loc < 200) where a classical monolith is more convenient.

Actions

  • If you are implementing SynthKernel from scratch or refactoring existing code to adopt SynthKernel, go to start.

  • If you are adding a new module or splitting modules, go to maintenance.

  • You can find an example of standard practice in ./example.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Podfetcher Tools

Search podcasts, browse episodes, and fetch podcast transcripts from Podfetcher using the bundled Node.js CLI, SDK, or MCP server.

Registry SourceRecently Updated
Coding

Code Reviewer Cn

代码审查、重构建议、安全漏洞检查、命名规范、复杂度分析、注释文档生成. Use when you need code reviewer cn capabilities. Triggers on: code reviewer cn, 圈复杂度估算, 嵌套深度检测, 命名风格一致性, 注释率计算与评级, 重复行检测.

Registry SourceRecently Updated
Coding

Encode

Encode - command-line tool for everyday use

Registry SourceRecently Updated
Coding

Melies

AI image and video generation CLI. Generate images, videos, and movie posters using 50+ models including Flux, Kling, Veo, Wan, and more. Text-to-image, text...

Registry SourceRecently Updated