Guidance for work in this repository (~/Documents/userscript).
- Runtime & Tools: Use
bunas the primary runtime and package manager across all userscript subprojects. - Build System: Scripts use Vite (
vite-plugin-monkey) with TypeScript. Output bundles reside indist/. - License: Userscripts must include an MIT license in metadata (
license: 'MIT'invite.config.ts),package.json, and projectLICENSE. - Subproject Isolation: Each project is self-contained with its own
package.json,vite.config.ts, tests, and documentation. - Testing: Run project unit tests (
bun test) and verify production builds (bun run build) before committing. - Subproject Documentation: Each subproject directory should maintain an updated
README.mdandAGENTS.mdwith domain-specific architecture and constraints.