What problem does it solve?
Writing and debugging Synchronet-specific JavaScript is fraught with challenges: the outdated SpiderMonkey 1.8.5 engine has strict syntax limits, the host API has undocumented sharp edges like lazy MsgBase field resolution, and silent failures from scope traps can make bugs nearly impossible to track down. This skill eliminates guesswork with authoritative, experience-backed guidance for the dialect, API behavior, and production-ready best practices.
Core Features & Use Cases
- Dialect & API Reference: Covers the SpiderMonkey 1.8.5 ES3/ES5 subset, full host object model (MsgBase, User, FileBase, Socket, etc.), and documented sharp edges like lazy field gotchas and js.on_exit scope traps.
- Native Function Lookup: Includes the jsobjs.py utility to quickly search Synchronet's built-in API surface, so you never waste time hand-rolling a function the engine already provides.
- Use Case: If you are troubleshooting a script that returns undefined for to_ext when filtering message headers, or need to confirm if a native date formatting function exists before writing custom code, this skill has the answers you need.
Quick Start
Use the javascript skill to look up the native strftime function in the Synchronet API and write a correct timestamp formatter for your BBS message processing script.