Agent skill

Fantasia I18n

by vishiri in vishiri/fantasia-archive

Manages vue-i18n messages and locale structure for Fantasia Archive.

GPL-3.0Auto-check passedFrontend & Design

Install Fantasia I18n

skills CLI
$ npx skills add vishiri/fantasia-archive --skill fantasia-i18n -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vishiri/fantasia-archive fantasia-i18n --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vishiri/fantasia-archive.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/fantasia-i18n .claude/skills/fantasia-i18n && rm -rf skills-src

Use ~/.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/

Facts

Skill name
fantasia-i18n
GitHub stars
409
Token cost
~948 tokens
SKILL.md length
269 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
GPL-3.0

At a glance

Manages vue-i18n messages and locale structure for Fantasia Archive.

  • Works in 5 steps: Pick folder (components/, dialogs/,… → Create/edit L_.ts → Import in index.ts → new camelCase… → …
  • Changing user-facing strings
  • SKILL.md covers Setup, Folder structure (i18n/en-US/), Key naming rules and English (en-US) capitalization, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Fantasia I18n is an agent skill from vishiri/fantasia-archive. Manages vue-i18n messages and locale structure for Fantasia Archive. Use when adding or changing user-facing strings, locale files under repo-root i18n/, or markdown-backed documents wired into i18n.

Its SKILL.md is about 950 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 Vue.js. The repository describes itself as: A world-builder's best friend! The licence is GPL-3.0.

When your agent uses it

  • Changing user-facing strings
  • Locale files under repo-root i18n/
  • Markdown-backed documents wired into i18n

Example prompts

  • “Use the fantasia-i18n skill to manage vue-i18n messages and locale structure for Fantasia Archive”
  • “/fantasia-i18n”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Pick folder (components/, dialogs/, pages/, globalFunctionality/)
  2. Create/edit L_.ts
  3. Import in index.ts → new camelCase top-level key
  4. Use full dot-path in $t / i18n.global.t
  5. Mirror in other locales when maintained

What it can do on your machine

Read from SKILL.md and the folder at commit 26d4648. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fantasia I18n loads about 948 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 269 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~948

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from vishiri/fantasia-archive at commit 26d4648, republished under its GPL-3.0 licence (© vishiri). 269 words, ~948 tokens.

Download SKILL.mdSave it as .claude/skills/fantasia-i18n/SKILL.md (or your agent's skills folder).
name
fantasia-i18n
description
Manages vue-i18n messages and locale structure for Fantasia Archive. Use when adding or changing user-facing strings, locale files under repo-root i18n/, or markdown-backed documents wired into i18n.

Fantasia Archive — i18n

Setup

  • Plugin: vue-i18n v11 (package.json ^11)
  • Registry: i18n/index.ts at repo root — import app/i18n
  • Types: schema/augmentation in types/vueI18nModuleAugmentation.ts; src/boot/i18n.ts side-effect-imports (may keep @ts-expect-error for TS2665) — eslint-typescript.mdc

Folder structure (i18n/en-US/)

i18n/
  index.ts
  externalFileLoader.ts
  specialCharactersFixer.ts
  _tests/
  en-US/
    index.ts
    documents/                          — .md via ?raw + specialCharacterFixer
    components/<bucket>/<ComponentName>/
    dialogs/
    floatingWindows/
    pages/
    globalFunctionality/

No locale files elsewhere. Unmatched → globalFunctionality/.

Naming: locale files L_ prefix; types elsewhere use T_.

Key naming rules

  • Top-level keys from index.ts: camelCase, lowercase first (globalWindowButtons, dialogs, …)
  • Sub-keys in L_*.ts: same
  • index.ts: imports + composed export only — no hardcoded user strings
  • documents: processed markdown only; specialCharacterFixer. Avoid literal {...} in Markdown — fantasia-changelog-en-us. No CSS rule blocks with brace delimiters — fantasia-markdown-dialogs
  • Literal | in user text: \\| in TS source (Intlify escape)
  • App-wide uncategorized: globalFunctionality/L_unsortedAppTexts.ts

English (en-US) capitalization

  • Sentence-style: running prose, tooltips, changelog sentence refs — en-us-ui-copy-capitalization.mdc
  • Headline-style: menu rows, keybind commands, dialog/floating-window titles
  • appControlMenus top four title strings: menu-bar title casing
  • Other locales: mirror semantic roles, not English caps

index.ts rules

  • Imports + export object only
  • Import order: markdown documents → components/ → dialogs/ → floatingWindows/ → globalFunctionality/ → pages/

Using strings in code

  • Vue templates: $t('camelCaseKey.subKey')
  • TS / Pinia: import { i18n } from 'app/i18n/externalFileLoader' → i18n.global.t(...)
  • No hardcoded user prose in .vue, _data/, scripts

Tests tied to copy changes

Key changes affecting toHaveText, aria-label, L_* in Playwright → grep + run matching Vitest/Playwright; rebuild Electron when bundle matters — fantasia-testing.

Adding new strings

  1. Pick folder (components/, dialogs/, pages/, globalFunctionality/)
  2. Create/edit L_<name>.ts
  3. Import in index.ts → new camelCase top-level key
  4. Use full dot-path in $t / i18n.global.t
  5. Mirror in other locales when maintained

Storybook integration

  • Import focused L_* modules — not i18n/en-US/index.ts (pulls markdown)
  • Placeholder documents.* in externalFileLoader.ts
  • Mandatory: new L_* in i18n/en-US/index.ts used by stories → same PR adds import + key to defaultMessages

Types

Shared types → types/. See types-folder.mdc.

© vishiri, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/fantasia-i18n of vishiri/fantasia-archive.

Open the folder on GitHubat commit 26d4648

Compare with similar skills

Fantasia I18n 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.

Fantasia I18n compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fantasia I18n this skillvishiri/fantasia-archive409—~948Automated safety check: PassGPL-3.0
Create Docsvictorgarciaesgi/nuxt-typed-router4132 repos~2.8kAutomated safety check: PassMIT
Localization Toolkitzebbern/claude-code-guide4.7k1 repos~1.3kAutomated safety check: PassMIT
I18n Vue Templaterundeck/rundeck6.3k—~523Automated safety check: NotesApache-2.0
Vtdfany-tdf/any-tdf778—~1.1kAutomated safety check: PassMIT
Vue Route Breadcrumbschamilo/chamilo-lms1k—~2kAutomated safety check: PassGPL-3.0

Similar skills

  • Create Docs

    victorgarciaesgi/nuxt-typed-router

    Create complete documentation sites for projects. An agent skill from victorgarciaesgi/nuxt-typed-router.

    413 GitHub starsUsed in 2 repos~2.8k tokens
    Frontend & DesignAuto-check passed
  • Localization Toolkit

    zebbern/claude-code-guide

    This skill should be used when setting up, auditing, or enforcing internationalization/localization in UI codebases (React/TS, i18next or similar, JSON locales), including installing/configuring the…

    4.7k GitHub starsUsed in 1 repo~1.3k tokens
    Frontend & DesignAuto-check passed
  • I18n Vue Template

    rundeck/rundeck

    Internationalize Vue component templates by replacing all hardcoded strings with $t() calls and adding translations to i18n.ts or enUS.js.

    6.3k GitHub stars~523 tokensUpdated yesterday
    Frontend & DesignAuto-check: notes
  • Vtdf

    any-tdf/any-tdf

    Build, review, and troubleshoot VTDF Vue 3 applications using exact component APIs, themes, icons, localization, and scaffolding.

    778 GitHub stars~1.1k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Vue Route Breadcrumbs

    chamilo/chamilo-lms

    Gives a route in Chamilo's Vue app its breadcrumb entirely from router meta fields, without editing the Breadcrumb component or naming pages.

    1k GitHub stars~2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Docs I18n

    opentiny/genui-sdk

    Sync GenUI SDK docs between Chinese and English when adding, editing, renaming, or deleting documentation under docs/.

    172 GitHub stars~962 tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from vishiri/fantasia-archive

All 35 skills in this repo
  • Caveman Commit

    vishiri/fantasia-archive

    Ultra-compressed commit message generator. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 13 repos~642 tokens
    Auto-check passed
  • Caveman Review

    vishiri/fantasia-archive

    Ultra-compressed code review comments. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 12 repos~674 tokens
    Auto-check passed
  • Caveman Compress

    vishiri/fantasia-archive

    Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens.

    409 GitHub starsUsed in 9 repos~1.1k tokens
    Auto-check: notes
  • Cavecrew

    vishiri/fantasia-archive

    Decision guide for delegating to caveman-style subagents. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 7 repos~1k tokens
    Auto-check passed
  • Caveman Help

    vishiri/fantasia-archive

    Quick-reference card for all caveman modes, skills, and commands.

    409 GitHub starsUsed in 6 repos~572 tokens
    Auto-check passed
  • Fantasia Context Menu Dividers

    vishiri/fantasia-archive

    Context menu divider policy: full primary-bright group separators vs low-opacity separatorAlt between consecutive items in the same group.

    409 GitHub stars~741 tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about Fantasia I18n

What does Fantasia I18n do?

Manages vue-i18n messages and locale structure for Fantasia Archive. Fantasia I18n is an agent skill from vishiri/fantasia-archive. Manages vue-i18n messages and locale structure for Fantasia Archive.

When should I use Fantasia I18n?

Fantasia I18n fits situations like: changing user-facing strings; locale files under repo-root i18n/; markdown-backed documents wired into i18n.

How do I install Fantasia I18n in Claude Code?

Run `npx skills add vishiri/fantasia-archive --skill fantasia-i18n -a claude-code`. Or copy the skill folder (.cursor/skills/fantasia-i18n in vishiri/fantasia-archive) into .claude/skills/fantasia-i18n in your project. Claude Code loads it when a task matches its description.

How do I install Fantasia I18n in Codex?

Run `npx skills add vishiri/fantasia-archive --skill fantasia-i18n -a codex`. Or copy the skill folder (.cursor/skills/fantasia-i18n in vishiri/fantasia-archive) into .agents/skills/fantasia-i18n in your project. Codex loads it when a task matches its description.

Can I use Fantasia I18n in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vishiri/fantasia-archive --skill fantasia-i18n -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fantasia-i18n, .gemini/skills/fantasia-i18n, .github/skills/fantasia-i18n and .opencode/skills/fantasia-i18n in your project.

What does Fantasia I18n need to run?

SKILL.md names no scripts, command-line tools or credentials: Fantasia I18n is instructions for the agent only.

Does Fantasia I18n access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Fantasia I18n safe to install?

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.

What licence does Fantasia I18n use?

Fantasia I18n is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fantasia I18n use?

About 948 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fantasia I18n?

Skills that share tags, products or a category with Fantasia I18n: Create Docs (victorgarciaesgi/nuxt-typed-router, 413 stars), Localization Toolkit (zebbern/claude-code-guide, 4.7k stars), I18n Vue Template (rundeck/rundeck, 6.3k stars) and Vtdf (any-tdf/any-tdf, 778 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fantasia I18n?

vishiri (a GitHub user) maintains it in vishiri/fantasia-archive, which has 409 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 7, 2026.

Source: vishiri/fantasia-archive on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.