https://gitlab.synchro.net/main/sbbs/-/commit/cffaaed443ae7d78c8c2ecdb
Added Files:
.claude/skills/javascript/scripts/jsobjs.py
Modified Files:
.claude/skills/javascript/SKILL.md
Log Message:
skills/javascript: add jsobjs.py native-API lookup + guidance
Parses the in-tree docs/jsobjs.html (generated by jsexec jsdocs.js) and greps the object model, so finding a native method (e.g. strftime) is one command away instead of a hand-rolled reinvention. Reads the file live each run -- auto-discovered by walking up from the script/CWD -- so it never goes stale against the checkout; falls back to a regenerate hint if missing.
SKILL.md gains a "Before hand-rolling a utility, look for a native one" section pointing at the script and the js_global.cpp grep fallback.
Co-Authored-By: Claude Opus 4.8 <
noreply@anthropic.com>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)