orange-opensource/orange-boosted-bootstrap/javascript-conventions
Claude Code and agent skill by orange-opensource/orange-boosted-bootstrap
- community
Checking that the SKILL.md file is still in the repository.
JavaScript coding conventions for OUDS Web. Use this skill when writing, editing, or reviewing any JS file in js/src/ or js/tests/. Covers no-semicolons style, no trailing commas, template literals, .js import extensions, no console.* in production, strict mode, and the BaseComponent pattern. All JS is shared across brands — never put JS in packages/<brand>/.
Install
npx vskill@latest install orange-opensource/orange-boosted-bootstrap/javascript-conventionsSKILL.md
JavaScript Conventions
Why these rules exist
OUDS Web uses a strict ESLint config (xo + unicorn) enforced in CI. All 15 JS components share the same conventions. JavaScript is 100% shared across brands — only CSS differs.
Style rules (ESLint-enforced)
| Rule | Example | |
|---|---|---|
| No semicolons | const x = 1 (not const x = 1;) | |
| No trailing commas | { a: 1, b: 2 } (not { a: 1, b: 2, }) | |
| Template literals | ` Hello, ${name} (not "Hello, " + name`) | |
.js extension on imports | import Foo from './foo.js' | |
No console.* in js/src/ | Use event dispatching or throw | |
| Strict mode | 'use strict' at top of every module | |
| 2-space indent | Consistent with SCSS/HTML |
Component structure (BaseComponent pattern)
Key patterns
- Static `NAME` getter — required for instance management
- `data-bs-*` attributes — all config via HTML attributes, never inline handlers
- Event constants —
EVENT_SHOW,EVENT_SHOWNetc. withEVENT_KEYsuffix - jQuery interface — always provide for backward compatibility
- Register in entries — add to
js/index.esm.jsandjs/index.umd.js
File locations
| Purpose | Path | |
|---|---|---|
| Component source | js/src/<name>.js | |
| Utilities | js/src/util/ | |
| DOM helpers | js/src/dom/ | |
| Tests | js/tests/unit/<name>.spec.js | |
| ESM entry | js/index.esm.js | |
| UMD entry | js/index.umd.js |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/javascript-conventions/SKILL.md
Popularity
- Repository stars
- 219
- Repository forks
- 61
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/orange-opensource/orange-boosted-bootstrap/javascript-conventions)