BBS: TELESC.NET.BR Assunto: .claude/skills/javascript/SKILL.md De: Rob Swindell (on Debian Linux) Data: Fri, 29 May 2026 23:59:56 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/d4613a65265ef3fe028b36a7 Modified Files: .claude/skills/javascript/SKILL.md Log Message: javascript skill: how to syntax-check/test a side-effecting module Document the guard-and-load() idiom: gate a module's load-time entry point (server loop, socket connect, greeting) behind a NO_MAIN-style sentinel so it can be load()ed under jsexec for syntax-checking and unit-testing its helpers without running the side effect. Cites the stock CHAT_LLM_NO_STANDALONE / CHAT_LLM_IRC_NO_MAIN guards. Notes that syncjslint.js is a style linter (jslint) with false positives on valid SpiderMonkey regex, not a reliable syntax gate. Co-Authored-By: Claude Opus 4.8n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]