Skip to content
Back to skills

Find Hardcoded Strings

ASecurity

Audit a codebase for hardcoded user-facing text that isn't translatable yet, without changing anything. Lists every string per file and line for React, Next.js, Vue, React Native, Django templates and HTML, and estimates the work to internationalize. Use when the user asks how much work i18n would be, wants an i18n readiness audit, asks where hardcoded text is, or wants to check that new code didn't add untranslated strings.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
ai-agentsgobashreactvuenextjsnodedjangoapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 6, 2026

npx -y skills add babelize/skills --skill find-hardcoded-strings --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Find Hardcoded Strings?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Find Hardcoded Strings
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/babelize-find-hardcoded-strings/badge)](https://www.skillsdirectory.com/skills/babelize-find-hardcoded-strings)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: find-hardcoded-strings
description: Audit a codebase for hardcoded user-facing text that isn't translatable yet, without changing anything. Lists every string per file and line for React, Next.js, Vue, React Native, Django templates and HTML, and estimates the work to internationalize. Use when the user asks how much work i18n would be, wants an i18n readiness audit, asks where hardcoded text is, or wants to check that new code didn't add untranslated strings.
---

# Find hardcoded strings

Read-only: this skill changes no files. It uses the scanner of the Babelize CLI (`npx babelize`, open source). Needs Node 18+.

## Run it

```bash
npx babelize scan .
npx babelize scan . --json            # machine-readable, for counting and grouping
npx babelize scan . --include 'src/**' --exclude 'src/legacy/**'
npx babelize scan . -e .tsx,.vue       # only some extensions
```

It prints each file with the line and text of every hardcoded string it would wrap: JSX text, attributes like `placeholder`, `title`, `alt` and `aria-label`, and template text.

## Report

Summarize for the user:

- Total strings and files, and the top files by count.
- Which areas they're in (pages, components, emails, server code).
- Strings that probably should **not** be translated: brand names, values the code compares (`'active'`, `'off'`), API parameters, LLM prompts. A scanner is pattern-based and lists those too.
- Whether i18n already exists (locale files, an i18n library in `package.json`). If it does, the remaining strings are the ones new code added.

If the user wants to go ahead, the `localize-app` skill does the wrapping, wiring and translation. To keep new hardcoded text out, the `i18n-ci-check` skill adds a check to CI.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.