Command UI
forcedotcom/salesforcedx-vscode
Command palette, CodeLens, context menus, package.nls titles, and NotificationModeService.
Inventory hardcoded (non-localized) UI text across vscode-extension/src/webview/ and the webview-HTML-producing code in vscode-extension/src/extension.ts — string/template literals rendered as UI…
$ npx skills add rajbos/ai-engineering-fluency --skill scan-hardcoded-strings -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rajbos/ai-engineering-fluency scan-hardcoded-strings --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/rajbos/ai-engineering-fluency.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/scan-hardcoded-strings .claude/skills/scan-hardcoded-strings && 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 "scan-hardcoded-strings" agent skill from https://github.com/rajbos/ai-engineering-fluency/tree/main/.claude/skills/scan-hardcoded-strings into .claude/skills/scan-hardcoded-strings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scan-hardcoded-strings", 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/rajbos/ai-engineering-fluency/tree/main/.claude/skills/scan-hardcoded-stringsType 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 rajbos/ai-engineering-fluency --skill scan-hardcoded-strings -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rajbos/ai-engineering-fluency scan-hardcoded-strings --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rajbos/ai-engineering-fluency.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/scan-hardcoded-strings .agents/skills/scan-hardcoded-strings && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "scan-hardcoded-strings" agent skill from https://github.com/rajbos/ai-engineering-fluency/tree/main/.claude/skills/scan-hardcoded-strings into .agents/skills/scan-hardcoded-strings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scan-hardcoded-strings", 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 rajbos/ai-engineering-fluency --skill scan-hardcoded-strings -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rajbos/ai-engineering-fluency scan-hardcoded-strings --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rajbos/ai-engineering-fluency.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/scan-hardcoded-strings .cursor/skills/scan-hardcoded-strings && 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 "scan-hardcoded-strings" agent skill from https://github.com/rajbos/ai-engineering-fluency/tree/main/.claude/skills/scan-hardcoded-strings into .cursor/skills/scan-hardcoded-strings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scan-hardcoded-strings", 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/rajbos/ai-engineering-fluency.git --path .claude/skills/scan-hardcoded-strings--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 rajbos/ai-engineering-fluency --skill scan-hardcoded-strings -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rajbos/ai-engineering-fluency scan-hardcoded-strings --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rajbos/ai-engineering-fluency.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/scan-hardcoded-strings .gemini/skills/scan-hardcoded-strings && 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 "scan-hardcoded-strings" agent skill from https://github.com/rajbos/ai-engineering-fluency/tree/main/.claude/skills/scan-hardcoded-strings into .gemini/skills/scan-hardcoded-strings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scan-hardcoded-strings", 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 rajbos/ai-engineering-fluency scan-hardcoded-stringsInstalls 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 rajbos/ai-engineering-fluency --skill scan-hardcoded-strings -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rajbos/ai-engineering-fluency.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/scan-hardcoded-strings .github/skills/scan-hardcoded-strings && 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 "scan-hardcoded-strings" agent skill from https://github.com/rajbos/ai-engineering-fluency/tree/main/.claude/skills/scan-hardcoded-strings into .github/skills/scan-hardcoded-strings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scan-hardcoded-strings", 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 rajbos/ai-engineering-fluency --skill scan-hardcoded-strings -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rajbos/ai-engineering-fluency scan-hardcoded-strings --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rajbos/ai-engineering-fluency.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/scan-hardcoded-strings .opencode/skills/scan-hardcoded-strings && 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 "scan-hardcoded-strings" agent skill from https://github.com/rajbos/ai-engineering-fluency/tree/main/.claude/skills/scan-hardcoded-strings into .opencode/skills/scan-hardcoded-strings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scan-hardcoded-strings", 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.
scan-hardcoded-stringsInventory hardcoded (non-localized) UI text across vscode-extension/src/webview/ and the webview-HTML-producing code in vscode-extension/src/extension.ts — string/template literals rendered as UI…
Scan Hardcoded Strings is an agent skill from rajbos/ai-engineering-fluency. Inventory hardcoded (non-localized) UI text across vscode-extension/src/webview/ and the webview-HTML-producing code in vscode-extension/src/extension.ts — string/template literals rendered as UI text that never go through localize()/localizeFormat()/t()/vscode.l10n.t(). Produces a human-triageable report; never fails the build. Use after a UI change, before a release, or periodically as a localization audit.
Its SKILL.md is about 2.1k 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 Frontend & Design, covering Internationalization. It works with Visual Studio Code. The repository describes itself as: Extension that shows information about the estimated token usage and more of AI in editors/CLI's. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 64b51e6. 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.
Shell commands in SKILL.md call:
npmnodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From 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.
Scan Hardcoded Strings loads about 2.1k tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 948 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 rajbos/ai-engineering-fluency at commit 64b51e6, republished under its MIT licence (© rajbos). 948 words, ~2,150 tokens.
.claude/skills/scan-hardcoded-strings/SKILL.md (or your agent's skills folder).Scans the VS Code extension's webview UI code for candidate hardcoded (non-localized) UI strings and writes a triage report. This is an informational inventory tool, not a CI gate — it never exits non-zero and never modifies source files.
Use this skill when you need to:
extension.ts's get*Html methods, to catch strings that were typed
directly instead of routed through localizationIt complements two existing scripts that only check consistency of strings
already wired through localization (scripts/validate-localization.js /
npm --prefix vscode-extension run lint:l10n, and
vscode-extension/scripts/validate-l10n.mjs /
npm --prefix vscode-extension run validate:l10n) — neither of those, nor anything else in the repo,
detects a plain string literal that never calls localize(/t(/
vscode.l10n.t( in the first place. A separate, stricter AST-based CI gate
for new instances of this may exist as an independent effort; this skill is
not that gate — it is a full-codebase inventory for manual triage.
node .github/skills/scan-hardcoded-strings/scan-hardcoded-strings.js
# Machine-readable JSON output
node .github/skills/scan-hardcoded-strings/scan-hardcoded-strings.js --jsonThe script will:
*.ts file (excluding *.test.ts) under
vscode-extension/src/webview/, plus only the get*Html(...) method
bodies in vscode-extension/src/extension.ts (not the whole
file — this keeps out unrelated string literals like GitHub issue
Markdown templates or VS Code panel titles), after blanking out /* ... */
block/JSDoc comments so example markup in a doc comment isn't mistaken
for real UI text.textContent/.innerText/.innerHTML/.title/.placeholder (a direct
literal or a conditional/ternary RHS whose branches are literals),
aria-label="..."/title="..."/placeholder="..." HTML attributes (or
the same three set via .setAttribute('title', '...')), a literal
document.createTextNode('...') argument, text inside <div>,
<button>, <vscode-button>, <label>, <h1>–<h6>, <p>, <span>,
<td>, <th>, <option>, <summary>, <caption>, <li>, <title>,
and SVG's <text> tags in template literals (tolerating simple nested
inline tags like <a>/<strong>/<span>, which are also matched as a
literal's own root tag so e.g. el.innerHTML = '<strong>Save changes</strong>' isn't missed, and void/structural tags like
<input>/<br> that never need a closing tag), and the UI-text argument
of a known shared DOM helper call (el(...), iconHeading(...),
createButton(...) from vscode-extension/src/webview/shared/domUtils.ts)
— that argument may be several string/template literals joined by +,
or a top-level ternary or ??/|| fallback of (recursively)
literal/+-joined branches, not just a single direct literallocalize(, localizeFormat(, t(, or
vscode.l10n.t(, and anything that doesn't look like prose (pure
numbers/symbols, URLs, CSS values, HTML character references like
·/•, a narrow denylist of single CSS-keyword tokens — not
every single lowercase word; the letter check itself is Unicode-aware, so
non-English text isn't exempted) — but recover string literals that are
themselves a whole ternary branch, or the fallback side of a || default,
inside an interpolation's expression, e.g. `${flag ? 'Enable Overrides' : 'Disable Overrides'}` or `${msg || '<em>No message</em>'}` (a
*plain* quoted literal that is merely an argument to some other call in
the same interpolation, e.g. `${buttonHtml('btn-refresh')}`, is left
alone — but a *template* literal there, e.g. `${escapeHtml(`${a} · ${b} AIU`)}`, is still recovered, since a template literal builds
display text while a plain quoted string is routinely a lookup key/id),
checking each recovered literal on its own so one non-prose branch can't
suppress another genuine onehardcoded-strings-report.md at the repo rootprocess.exitCode = 0 rather than forcing process.exit() — this
script informs, it does not gate, and letting the process exit naturally
avoids truncating buffered output when piped (e.g. in CI or --json | ...).
Any unexpected error during the scan is caught and logged to stderr rather
than crashing with a non-zero exit code, preserving that contract.Each finding shows the file, line number, which detector matched (the "kind"), and a truncated snippet of the offending code. There is no severity ranking — triage each entry:
| Situation | Action |
|---|---|
| Genuine hardcoded UI prose | Add a localization key and reference it via localize() (webview) or t() (extension host) |
| False positive (e.g. unusual formatting the regex misjudged) | No action — this is a line-scan, not an AST parse; use judgement |
| Text intentionally not localized (e.g. a raw model/tool name) | No action, but consider a code comment if the reason isn't obvious |
t('key')): add it to
vscode-extension/package.nls.json (+ package.nls.zh-cn.json where
translated).localize('key')): add it to DEFAULT_LOCALIZATION
in vscode-extension/src/webview/shared/localization.ts (the English
fallback) and to getWebviewLocalization() in
vscode-extension/src/extension.ts (via l10n.t('key')) plus
package.nls.json / package.nls.zh-cn.json. Without the
getWebviewLocalization() entry, the webview always falls back to the
English DEFAULT_LOCALIZATION text regardless of locale.t('key') / localize('key') call at the
flagged site.vscode-extension/test/unit/l10n.test.ts).npm --prefix vscode-extension run lint:l10n and
npm --prefix vscode-extension run validate:l10n (both scripts live in
vscode-extension/package.json, not the repo root) to confirm the new
key is consistent across locale files.node --test .github/skills/scan-hardcoded-strings/scan-hardcoded-strings.test.js)vscode-extension/src/webview/shared/localization.ts — localize() /
DEFAULT_LOCALIZATION (English fallback) for webview UI stringsvscode-extension/src/extension.ts — getWebviewLocalization(), which
must also list a webview key (via l10n.t('key')) for it to resolve to a
real translation instead of the DEFAULT_LOCALIZATION fallbackvscode-extension/src/l10n.ts — t() for extension-host runtime stringsvscode-extension/package.nls.json (+ package.nls.<locale>.json) —
extension-host translation tablesscripts/validate-localization.js, vscode-extension/scripts/validate-l10n.mjs
— consistency checks for strings already routed through localizationhardcoded-strings-report.md (repo root) — the generated inventory report© rajbos, MIT. 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 .claude/skills/scan-hardcoded-strings of rajbos/ai-engineering-fluency.
Open the folder on GitHubat commit 64b51e6
Scan Hardcoded Strings 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 |
|---|---|---|---|---|---|---|
| Scan Hardcoded Strings this skillrajbos/ai-engineering-fluency | 116 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Command UIforcedotcom/salesforcedx-vscode | 1k | — | ~1.4k | Automated safety check: Pass | BSD-3-Clause | |
| Vscode Ext Commandsgithub/awesome-copilot | 40k | 3 repos | ~387 | Automated safety check: Pass | MIT | |
| Vscode Ext Localizationgithub/awesome-copilot | 40k | 2 repos | ~369 | Automated safety check: Pass | MIT | |
| Roo Translationzgsm-ai/costrict | 4.4k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Impeccablebestofjs/bestofjs | 3.1k | 27 repos | ~2.6k | Automated safety check: Pass | MIT |
forcedotcom/salesforcedx-vscode
Command palette, CodeLens, context menus, package.nls titles, and NotificationModeService.
github/awesome-copilot
Guidelines for contributing commands in VS Code extensions. An agent skill from github/awesome-copilot.
github/awesome-copilot
Guidelines for proper localization of VS Code extensions, following VS Code extension development guidelines, libraries and good practices
zgsm-ai/costrict
Provides comprehensive guidelines for translating and localizing CoStrict extension strings.
bestofjs/bestofjs
A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…
chatboxai/chatbox
Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.
rajbos/ai-engineering-fluency
Find all hardcoded URLs in TypeScript source files and verify they resolve (return HTTP 2xx/3xx).
rajbos/ai-engineering-fluency
Create a well-scoped GitHub issue in this repo. An agent skill from rajbos/ai-engineering-fluency.
rajbos/ai-engineering-fluency
Detect copy-pasted code blocks across the shared source (vscode-extension/src, the repo-root src/, cli/src) with the dependency-free check-code-duplication.js detector, then pick one duplicate group…
rajbos/ai-engineering-fluency
Analyze coverage of the vscode-extension's tool-family definitions (DEFAULTTOOLFAMILIES in vscode-extension/src/toolFamilies.ts) against the canonical tool-name list in src/toolNames.json and/or a…
rajbos/ai-engineering-fluency
Load and display the last 10 cache entries as raw JSON output.
rajbos/ai-engineering-fluency
Assess the risk of a changeset (a PR, a branch, or the working tree) and classify it as low, medium, or high with a written rationale.
Works with
Categories
Inventory hardcoded (non-localized) UI text across vscode-extension/src/webview/ and the webview-HTML-producing code in vscode-extension/src/extension.ts — string/template literals rendered as UI…. Scan Hardcoded Strings is an agent skill from rajbos/ai-engineering-fluency.t().
Scan Hardcoded Strings fits situations like: tasks that involve Internationalization.
Run `npx skills add rajbos/ai-engineering-fluency --skill scan-hardcoded-strings -a claude-code`. Or copy the skill folder (.claude/skills/scan-hardcoded-strings in rajbos/ai-engineering-fluency) into .claude/skills/scan-hardcoded-strings in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rajbos/ai-engineering-fluency --skill scan-hardcoded-strings -a codex`. Or copy the skill folder (.claude/skills/scan-hardcoded-strings in rajbos/ai-engineering-fluency) into .agents/skills/scan-hardcoded-strings 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 rajbos/ai-engineering-fluency --skill scan-hardcoded-strings -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scan-hardcoded-strings, .gemini/skills/scan-hardcoded-strings, .github/skills/scan-hardcoded-strings and .opencode/skills/scan-hardcoded-strings in your project.
Going by SKILL.md and its folder, Scan Hardcoded Strings needs the command-line tools its instructions call (npm and node). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. 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.
Scan Hardcoded Strings is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.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 Scan Hardcoded Strings: Command UI (forcedotcom/salesforcedx-vscode, 1k stars), Vscode Ext Commands (github/awesome-copilot, 40k stars), Vscode Ext Localization (github/awesome-copilot, 40k stars) and Roo Translation (zgsm-ai/costrict, 4.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rajbos (a GitHub user) maintains it in rajbos/ai-engineering-fluency, which has 116 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 8, 2026.
Source: rajbos/ai-engineering-fluency on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.