implementing-jsc-classes-cpp
A contributor guide in the Bun repository for writing JavaScript classes backed by C++ on JavaScriptCore, the engine Bun uses.
What the skill teaches
A contributor guide in the Bun repository for writing JavaScript classes backed by C++ on JavaScriptCore, the engine Bun uses. It explains which C++ classes a new JavaScript class needs (an object class, a prototype and, if public, a constructor), how to declare properties and methods in a static hash table, how to write getters, setters and functions with JavaScriptCore macros and type checks, where to register isolated memory subspaces, how to cache the class structure on Bun's global object so the garbage collector tracks it, and how to expose the class to Bun's Zig code. It is only useful when changing Bun's own source.
Capabilities
Not stated in its documentation
About
- Publisher
- Oven (Bun)
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Not stated in its documentation | |
| Publisher | Oven (Bun) | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | NOASSERTION | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 202696,758 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- GitHub repositorygithub.com/oven-sh/bun · Backs: Publisher, ActivityNov 11, 2026
- Skill file (SKILL.md)github.com/oven-sh/bun · Backs: LicenceNov 10, 2026
- Folder in the repository (implementing-jsc-classes-cpp)github.com/oven-sh/bun · Backs: Includes scriptsNov 10, 2026