/misc:translate-news-ko {pr link} | {target file path}from misc
Translate English ruby-lang.org news posts into Korean, keeping the line count identical for diff review, then push a branch and prepare the PR. Takes an upstream PR link or an en/news/_posts file path. Use when the user asks to translate a Ruby news article to Korean.
Ships in misc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Arguments: $ARGUMENTS
Follow these steps in order:
Identify the source files from the arguments
https://github.com/ruby/www.ruby-lang.org/pull/{num}, or just #{num} / {num}):
list its files with gh pr view {num} --repo ruby/www.ruby-lang.org --json files -q '.files[].path'
and translate every en/news/_posts/*.md in it. Ignore _data/ changes.en/news/_posts/YYYY-MM-DD-title.md, or just the filename): translate that file.
There is no source PR.Create a branch
git fetch origin and branch from origin/master: git checkout -b {branch_name} origin/mastertr-ruby-4-0-9-ko, tr-resolv-cve-2026-80212-ko).git checkout -b as its own command and confirm with
git branch --show-current before committing. A failed checkout (e.g. due to uncommitted files)
otherwise silently puts the commits on the previous branch.Copy each file to the Korean directory
cp en/news/_posts/{file} ko/news/_posts/{file} and commit it alone with message
cp {en,ko}/news/_posts/{file}Translate the article
ko/news/_posts/ of the same kind (release post, security advisory, ...).* 2026-10-23 03:11:22 (UTC) 최초 공개lang: en → lang: ko, add translator: "shia", translate title, keep the rest.{% link en/news/... %} to {% link ko/news/... %}, and reuse the Korean
title of the linked post as link text. Keep the ko path even if that translation does not exist yet
(the build fails until it lands); check with ls/git ls-tree origin/master and tell the user which
linked posts are missing a Korean translation, offering to translate them.Verify line count matches original
wc -l en/news/_posts/{file} ko/news/_posts/{file}, and adjust until they are equal.Proofread
cat ko/news/_posts/{file} | hanspell-cli. It sometimes fails partway with a server error;
if so, rerun on the remaining lines (sed -n 'N,$p' ...) so every line gets checked.grep -oE "[A-Za-z0-9\)]]+(은|는|이|가|을|를|과|와|으로|로)[ ,.]" {file} | sort -uDecide by the Korean pronunciation of the last syllable:input= 인풋 (받침 ㅅ) → "과",3.3.13= 삼 → "이/을",4.0.9= 구 → "가",resolv` = 리졸브 → "를". Spell out the final
syllable's jamo before deciding; do not guess.Commit the translation
Translate "{article title}" (ko), with the Claude Code footer.git commit --fixup={sha} then
GIT_SEQUENCE_EDITOR=: git rebase -i --autosquash {base} so each file keeps exactly one cp commit and
one translate commit. Force-push with --force-with-lease. SHAs change, so give the user the new ones.Push and open the PR
git push -u origin {branch_name}:link: https://github.com/ruby/www.ruby-lang.org/issues/3461
Translate: #{source PR number}
Actual diff:
- {file}: {full SHA of its translate commit}
One - {file}: {sha} line per translated file. Without a source PR, replace the Translate: line with
Translation of: https://github.com/ruby/www.ruby-lang.org/blob/master/en/news/_posts/{file}.gh pr create --repo ruby/www.ruby-lang.org --draft --head riseshia:{branch_name} --base master --title ... --body ...
Otherwise give the PR creation URL from the push output plus the title and body.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub riseshia/dotfiles --plugin misc5 skills in this plugin
/explain-with-htmlExplain a topic as a single, readable, self-contained HTML file that the user opens in a browser. Use when the user runs /explain-with-html, or asks to have something explained "as HTML", "in a browser", or with a visual/diagram-heavy write-up. Also covers ELI5 requests ("eli5", "explain like I'm five", a dead-simple picture explainer). The topic is optional — infer it from the recent conversation and confirm before generating. Use mermaid.js for diagrams when they help./japanese-tech-writing日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。/prompt-handoffOther plugins' skills for the same job