CodeScope Codebase Graph Analysis
QwenLM/qwen-code
Answers questions about code structure, history, bugs and PR risk using a CodeScope knowledge graph and semantic index built from the repository.
Fix JavaScript regex failures when matching CJK (Chinese/Japanese/Korean) text using \b word boundaries.
$ npx skills add divinevideo/divine-mobile --skill js-regex-cjk-word-boundary -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile js-regex-cjk-word-boundary --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/js-regex-cjk-word-boundary .claude/skills/js-regex-cjk-word-boundary && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "js-regex-cjk-word-boundary" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/js-regex-cjk-word-boundary into .claude/skills/js-regex-cjk-word-boundary/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "js-regex-cjk-word-boundary", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/js-regex-cjk-word-boundaryType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add divinevideo/divine-mobile --skill js-regex-cjk-word-boundary -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile js-regex-cjk-word-boundary --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/js-regex-cjk-word-boundary .agents/skills/js-regex-cjk-word-boundary && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "js-regex-cjk-word-boundary" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/js-regex-cjk-word-boundary into .agents/skills/js-regex-cjk-word-boundary/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "js-regex-cjk-word-boundary", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill js-regex-cjk-word-boundary -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile js-regex-cjk-word-boundary --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/js-regex-cjk-word-boundary .cursor/skills/js-regex-cjk-word-boundary && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "js-regex-cjk-word-boundary" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/js-regex-cjk-word-boundary into .cursor/skills/js-regex-cjk-word-boundary/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "js-regex-cjk-word-boundary", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/divinevideo/divine-mobile.git --path .agents/skills/js-regex-cjk-word-boundary--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add divinevideo/divine-mobile --skill js-regex-cjk-word-boundary -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile js-regex-cjk-word-boundary --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/js-regex-cjk-word-boundary .gemini/skills/js-regex-cjk-word-boundary && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "js-regex-cjk-word-boundary" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/js-regex-cjk-word-boundary into .gemini/skills/js-regex-cjk-word-boundary/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "js-regex-cjk-word-boundary", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install divinevideo/divine-mobile js-regex-cjk-word-boundaryInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add divinevideo/divine-mobile --skill js-regex-cjk-word-boundary -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/js-regex-cjk-word-boundary .github/skills/js-regex-cjk-word-boundary && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "js-regex-cjk-word-boundary" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/js-regex-cjk-word-boundary into .github/skills/js-regex-cjk-word-boundary/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "js-regex-cjk-word-boundary", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill js-regex-cjk-word-boundary -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile js-regex-cjk-word-boundary --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/js-regex-cjk-word-boundary .opencode/skills/js-regex-cjk-word-boundary && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "js-regex-cjk-word-boundary" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/js-regex-cjk-word-boundary into .opencode/skills/js-regex-cjk-word-boundary/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "js-regex-cjk-word-boundary", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
js-regex-cjk-word-boundaryFix JavaScript regex failures when matching CJK (Chinese/Japanese/Korean) text using \b word boundaries.
JS Regex Cjk Word Boundary is an agent skill from divinevideo/divine-mobile. Fix JavaScript regex failures when matching CJK (Chinese/Japanese/Korean) text using \b word boundaries. Use when: (1) Regex pattern with \b silently fails to match Japanese, Chinese, or Korean text, (2) Pattern works for Latin/ASCII text but not CJK, (3) hasDriverLicenceCue or similar text-detection function returns false for CJK input despite correct characters, (4) inferIssuerFromTitleText or pattern-matching functions fail on non-Latin scripts. Root cause: JavaScript \b only recognizes [a-zA-Z0-9] as "word…
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Root cause analysis. It works with JavaScript. The licence is MPL-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c3d6f7e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
developer.mozilla.orggithub.combreakthebit.orgnpmjs.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
JS Regex Cjk Word Boundary loads about 1.5k tokens when it runs. Until then it costs about 172 tokens; SKILL.md has 396 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from divinevideo/divine-mobile at commit c3d6f7e, republished under its MPL-2.0 licence (© divinevideo). 396 words, ~1,499 tokens.
.claude/skills/js-regex-cjk-word-boundary/SKILL.md (or your agent's skills folder).JavaScript's \b (word boundary) assertion silently fails when used with CJK
(Chinese/Japanese/Korean) characters. The regex compiles without error and runs without
throwing, but it simply never matches CJK text that should match. This is particularly
insidious because:
false/\b\u904B\u8EE2\u514D\u8A31\u8A3C\b/ (Japanese: 運転免許証) returns false
on text containing the exact characters/\b\uC6B4\uC804\uBA74\uD5C8\uC99D\b/ (Korean: 운전면허증) fails similarlyhasDriverLicenceCue(), inferIssuerFromTitleText()) return
incorrect results for CJK input while working correctly for all Latin-script patterns\b boundaries around non-ASCII Unicode characters (also affects Cyrillic,
Arabic, Thai, etc.)JavaScript's \b matches the boundary between a "word character" (\w = [a-zA-Z0-9_]) and
a "non-word character" (\W). CJK characters are classified as \W (non-word characters).
When \b appears before a CJK character, it looks for a \w-to-\W or \W-to-\w
transition. But if the preceding character is also \W (whitespace, punctuation, start of
string, or another CJK character), the boundary condition is \W-to-\W, which \b does
NOT match.
// This FAILS — \b doesn't work with CJK
/\b\u904B\u8EE2\u514D\u8A31\u8A3C\b/.test("運転免許証") // false!
// This WORKS — no word boundaries
/\u904B\u8EE2\u514D\u8A31\u8A3C/.test("運転免許証") // true\b from CJK patternsSimply remove \b assertions from any regex pattern that matches CJK characters:
// Before (broken):
[/\b\u904B\u8EE2\u514D\u8A31\u8A3C\b/, "JAPAN"], // 運転免許証
[/\b\uC6B4\uC804\uBA74\uD5C8\uC99D\b/, "KOREA"], // 운전면허증
// After (working):
[/\u904B\u8EE2\u514D\u8A31\u8A3C/, "JAPAN"], // 運転免許証
[/\uC6B4\uC804\uBA74\uD5C8\uC99D/, "KOREA"], // 운전면허증For environments supporting the v flag (ES2024+), you can use Unicode property escapes:
// Unicode-aware approach (requires /v flag support):
/(?<=^|[\s\p{P}])\u904B\u8EE2\u514D\u8A31\u8A3C(?=$|[\s\p{P}])/v// Manual boundary that works with CJK:
/(?<!\p{L})\u904B\u8EE2\u514D\u8A31\u8A3C(?!\p{L})/uWhen you have an array of patterns where some are Latin and some are CJK, use \b only for
Latin patterns:
const patterns = [
[/\bDRIVER'?S?\s+LICEN[CS]E\b/, "match"], // Latin — \b works
[/\bFÜHRERSCHEIN\b/, "match"], // Latin+diacritics — \b works (Ü is \W but context helps)
[/\u904B\u8EE2\u514D\u8A31\u8A3C/, "match"], // CJK — no \b needed
[/\uC6B4\uC804\uBA74\uD5C8\uC99D/, "match"], // CJK — no \b needed
];// Test that CJK matching works:
console.log(/\u904B\u8EE2\u514D\u8A31\u8A3C/.test("運転免許証")); // true
console.log(/\uC6B4\uC804\uBA74\uD5C8\uC99D/.test("운전면허증")); // true
// Verify it doesn't false-match substrings you don't want:
console.log(/\u904B\u8EE2\u514D\u8A31\u8A3C/.test("別の運転免許証テスト")); // true (substring match is usually fine for CJK)Real-world case from a document-type detection function:
function hasDriverLicenceCue(text) {
const combined = text.toUpperCase();
return (
/\bDRIVER'?S?\s+LICEN[CS]E\b/.test(combined) || // English
/\bFÜHRERSCHEIN\b/.test(combined) || // German
/\bPERMIS DE CONDUIRE\b/.test(combined) || // French
/\u904B\u8EE2\u514D\u8A31\u8A3C/.test(combined) || // Japanese (no \b!)
/\uC6B4\uC804\uBA74\uD5C8\uC99D/.test(combined) // Korean (no \b!)
);
}u (unicode) flag does NOT fix this — \b behavior with \w/\W is unchanged.\b from CJK patterns is generally safe because CJK characters are unlikely to
appear as substrings within other words in unrelated contexts.regexp-cjk npm package provides CJK-aware regex utilities if you need more sophisticated matching.\b first.© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/js-regex-cjk-word-boundary of divinevideo/divine-mobile.
Open the folder on GitHubat commit c3d6f7e
JS Regex Cjk Word Boundary next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| JS Regex Cjk Word Boundary this skilldivinevideo/divine-mobile | 266 | — | ~1.5k | Automated safety check: Pass | MPL-2.0 | |
| CodeScope Codebase Graph AnalysisQwenLM/qwen-code | 28k | 1 repos | ~9.3k | Automated safety check: Pass | Apache-2.0 | |
| Bug DetectiveGalaxy-Dawn/claude-scholar | 5.7k | 1 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Codegraph QAQwenLM/qwen-code-examples | 143 | — | ~4.3k | Automated safety check: Pass | None | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 4 repos | ~1.1k | Automated safety check: Pass | MIT | |
| @pierre/diffs Code Renderingpierrecomputer/pierre | 6.3k | 2 repos | ~803 | Automated safety check: Pass | Apache-2.0 |
QwenLM/qwen-code
Answers questions about code structure, history, bugs and PR risk using a CodeScope knowledge graph and semantic index built from the repository.
Galaxy-Dawn/claude-scholar
Applies a systematic debugging workflow to errors, exceptions and failures, with error-type tables, localization techniques and reference notes for Python, JavaScript and shell.
QwenLM/qwen-code-examples
Use CodeScope to analyze any indexed codebase via its graph database (neug) and vector index (zvec).
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
pierrecomputer/pierre
Guides an agent through using @pierre/diffs to render syntax-highlighted files and diffs, and to build editing and review surfaces in React or plain JavaScript.
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Works with
Categories
Fix JavaScript regex failures when matching CJK (Chinese/Japanese/Korean) text using \b word boundaries. JS Regex Cjk Word Boundary is an agent skill from divinevideo/divine-mobile. Fix JavaScript regex failures when matching CJK (Chinese/Japanese/Korean) text using \b word boundaries.
JS Regex Cjk Word Boundary fits situations like: regex pattern with \b silently fails to match Japanese; pattern works for Latin/ASCII text but not CJK; hasDriverLicenceCue; similar text-detection function returns false for CJK input despite correct characters.
Run `npx skills add divinevideo/divine-mobile --skill js-regex-cjk-word-boundary -a claude-code`. Or copy the skill folder (.agents/skills/js-regex-cjk-word-boundary in divinevideo/divine-mobile) into .claude/skills/js-regex-cjk-word-boundary in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill js-regex-cjk-word-boundary -a codex`. Or copy the skill folder (.agents/skills/js-regex-cjk-word-boundary in divinevideo/divine-mobile) into .agents/skills/js-regex-cjk-word-boundary in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill js-regex-cjk-word-boundary -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/js-regex-cjk-word-boundary, .gemini/skills/js-regex-cjk-word-boundary, .github/skills/js-regex-cjk-word-boundary and .opencode/skills/js-regex-cjk-word-boundary in your project.
SKILL.md names no scripts, command-line tools or credentials: JS Regex Cjk Word Boundary is instructions for the agent only.
SKILL.md names 4 domains. As links in the text: developer.mozilla.org, github.com, breakthebit.org and npmjs.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
JS Regex Cjk Word Boundary is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with JS Regex Cjk Word Boundary: CodeScope Codebase Graph Analysis (QwenLM/qwen-code, 28k stars), Bug Detective (Galaxy-Dawn/claude-scholar, 5.7k stars), Codegraph QA (QwenLM/qwen-code-examples, 143 stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 10, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.