seefreed/skills

en-zh-bilingual-json

Convert English .txt articles into a JSON array of sentence-level English/Chinese (zh) pairs. Translate English into Chinese and generating bilingual {en, zh} entries via the model (no external translation API), then saving to a JSON file.

First seen Jan 24, 2026

Installation

$ npx skills add seefreed/skills --skill en-zh-bilingual-json

Also in this package

Other skills from seefreed/skills.

npx skills add seefreed/skills

Browse all from seefreed/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,540 B
  • docs SUMMARY.md 267 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 13 installs

SKILL.md

En Zh Bilingual Json

Overview

Create bilingual JSON from English text, fist translating the text into Chinese using the model, and writing the final JSON array.

Workflow

1) Translate with the model and fill zh

Translate English text to Chinese (zh) using the model and split sentence-level English/Chinese (zh) pairs, finally write back to the same JSON array. Preserve punctuation and sentence intent; keep proper nouns (e.g., product names) as appropriate and remove relevant music transript.

Output format (top-level array):

[
  {"en": "Sentence one.", "zh": " 句子一。"},
  {"en": "Sentence two?", "zh": "句子二?"}
]

2) Review and fix sentence boundaries

Make sure a splited sentence have the complete meaning and if one sentence has less than 5 words, you need to combine it with other sentences of the context so that every en item can't be too short and simple. Given showing a random Chinese sentence, a user will translate it back into English. The goal is to train a user translation ability.

4) Save final JSON

Ensure the JSON remains a valid array of {en, zh} objects. Keep UTF-8 output (the script already writes UTF-8). use the same filename with the text file aside from its format.