Claude-skill-registry inline-word-links

Guidelines for adding inline cross-reference links to example sentences and notes. Includes common word reference table.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/inline-word-links" ~/.claude/skills/majiayu000-claude-skill-registry-inline-word-links && rm -rf "$T"
manifest: skills/data/inline-word-links/SKILL.md
source content

Inline Word Links

This skill covers how to add cross-reference links within example sentences and notes. These links allow users to click on any word in an example to navigate to its dictionary entry.

Link Format

The link format uses special Unicode delimiters:

⟦{surface|reading}→baseform:entry_id⟧

Components:

  • (U+27E6) - Opening bracket
  • surface
    - The word as it appears in the sentence (may include furigana notation)
  • (U+2192) - Arrow separator
  • baseform
    - The dictionary form of the word (for tooltip display)
  • (U+FF1A) - Fullwidth colon separator
  • entry_id
    - The dictionary entry ID (e.g.,
    00111_hon
    )
  • (U+27E7) - Closing bracket

CRITICAL: Semantic Verification

Links MUST be verified semantically, not programmatically.

Before adding any link, you MUST:

  1. Understand the word's role in the sentence
  2. Confirm the correct meaning - many words are homographs with different entries
  3. Identify correct word boundaries - particles attach to words differently
  4. Match to the correct entry - verify the gloss matches the intended meaning

Common Semantic Errors to Avoid

Error TypeExampleProblem
Wrong homographの → 野 (field)の in most contexts is the particle, not the noun 野
Wrong word boundaryものです → もの + ですMay need to link as a single grammatical pattern
Conjugated form mismatch食べました → 食べるCorrect, but verify the verb is the intended one
Compound splitting日本語 → 日本 + 語Should link as single compound if entry exists

Verification Process

For each word you intend to link:

  1. Read the full sentence to understand context
  2. Identify the word's grammatical function
  3. Look up the entry ID (use reference table below for common words)
  4. Verify the entry's gloss matches the word's meaning in context
  5. Only then add the link markup

Link Guidelines

DO Link:

  • Content words (nouns, verbs, adjectives, adverbs)
  • Particles when they have dedicated entries
  • Words that appear in the dictionary

DO NOT Link:

  • The headword of the entry in its own examples (no self-reference)
  • Punctuation marks (。、?!「」)
  • Words not in the dictionary - use
    noentry
    instead
  • Names unless they have entries

Using
noentry

For words without dictionary entries:

⟦{矍鑠|かくしゃく}→矍鑠:noentry⟧

This preserves the markup for future linking but renders as plain text.

Examples

Basic Example

Original:

"japanese": "{本|ほん}を{読|よ}む。"

With links:

"japanese": "⟦{本|ほん}→本:00111_hon⟧⟦を→を:00422_wo⟧⟦{読|よ}む→読む:00426_yomu⟧。"

Example with Particles

Original:

"japanese": "{私|わたし}は{日本語|にほんご}が{分|わ}かります。"

With links:

"japanese": "⟦{私|わたし}→私:02988_watashi⟧⟦は→は:00079_ha⟧⟦{日本語|にほんご}→日本語:00614_nihongo⟧⟦が→が:00051_ga⟧⟦{分|わ}かります→分かる:00463_wakaru⟧。"

Example with Conjugation

Original:

"japanese": "{彼|かれ}は{来|き}ませんでした。"

With links (note: conjugated forms link to dictionary form):

"japanese": "⟦{彼|かれ}→彼:01292_kare⟧⟦は→は:00079_ha⟧⟦{来|き}ませんでした→来る:00254_kuru⟧。"

Common Words Reference Table

Use this table for quick reference. For words not listed, search the dictionary.

Particles

Entry IDWordReadingGloss
00051_gasubject marker
00079_hatopic marker
00314_nilocation/direction/time marker
00422_wodirect object marker
00484_moalso, too, even
00490_madeまでまでuntil, to, as far as
00502_deat, by, with (location/means)
00504_karaからからfrom, because
00512_toand, with, quotation
02473_hedirection marker (toward)
09472_nopossessive marker, nominalizer
09473_kaquestion marker, or
09474_neconfirmation particle
09475_yoemphasis particle
09476_yoriよりよりthan, from (comparison)
09477_kedoけどけどbut, although

Pronouns and Demonstratives

Entry IDWordReadingGloss
00534_dareだれwho
00536_itsuいついつwhen
00539_dokoどこどこwhere
00543_douどうどうhow, in what way
00547_doreどれどれwhich one
00551_donoどのどのwhich (+ noun)
00498_naniなにwhat
02988_watashiわたしI, me
00915_anoあのあのthat (over there)
00919_asokoあそこあそこover there
00961_kokoここここhere
00962_konoこのこのthis
00991_sokoそこそこthere
00993_sonoそのそのthat
00994_soreそれそれthat (thing)
01292_kareかれhe, him
01286_kanojo彼女かのじょshe, her

Common Verbs

Entry IDWordReadingGloss
00006_aruあるあるto exist (inanimate)
00119_iku行くいくto go
00254_kuru来るくるto come
00283_miru見るみるto see, look, watch
00322_nomu飲むのむto drink
00392_suruするするto do, to make
00396_taberu食べるたべるto eat
00426_yomu読むよむto read
00458_shiru知るしるto know, to learn
00463_wakaru分かるわかるto understand
00467_hanasu話すはなすto speak, talk
00469_matsu待つまつto wait
00470_neru寝るねるto sleep
00473_tsukau使うつかうto use
00474_wasureru忘れるわすれるto forget
00477_kaku書くかくto write
00478_motsu持つもつto hold, have
00481_tsukuru作るつくるto make, create
00482_au会うあうto meet
00483_kiku聞くきくto hear, listen, ask
00489_kau買うかうto buy
00492_omou思うおもうto think, feel
00494_hairu入るはいるto enter
00495_iruいるいるto exist (animate)
00503_hataraku働くはたらくto work
00508_kaeru帰るかえるto return home
00511_noru乗るのるto ride, get on
00513_deru出るでるto go out, leave
00515_iu言ういうto say, tell
00519_hashiru走るはしるto run
00520_morauもらうもらうto receive
00521_okiru起きるおきるto wake up
00526_oshieru教えるおしえるto teach
00527_benkyousuru勉強するべんきょうするto study
00531_hajimeru始めるはじめるto begin
00538_aruku歩くあるくto walk
00546_ageruあげるあげるto give, raise
00550_asobu遊ぶあそぶto play
00557_dekiruできるできるto be able to
00567_owaru終わるおわるto end
01970_naruなるなるto become

Common Adjectives

Entry IDWordReadingGloss
00025_chiisai小さいちいさいsmall, little
00118_iiいいいいgood, fine
00335_ookii大きいおおきいbig, large
00464_yasui安いやすいcheap
00488_furui古いふるいold
00491_nagai長いながいlong
00500_takai高いたかいhigh, expensive
00506_atarashii新しいあたらしいnew
00510_mijikai短いみじかいshort
00514_hayai速い/早いはやいfast, early
00517_muzukashii難しいむずかしいdifficult
00529_tooi遠いとおいfar
00530_chikai近いちかいnear
00533_osoi遅いおそいslow, late
00585_akai赤いあかいred
00586_aoi青いあおいblue
00587_shiroi白いしろいwhite
00588_kuroi黒いくろいblack
00589_omoshiroi面白いおもしろいinteresting
00591_isogashii忙しいいそがしいbusy
01107_hoshii欲しいほしいwanted, desired
01118_naiないないnonexistent

Common Nouns

Entry IDWordReadingGloss
00111_honほんbook
00468_jikan時間じかんtime, hour
00476_hitoひとperson
00480_shigoto仕事しごとwork, job
00486_toshiとしyear, age
00487_yoruよるnight
00496_kyou今日きょうtoday
00497_miseみせstore, shop
00499_sakanaさかなfish
00501_ashita明日あしたtomorrow
00505_michiみちroad, way
00507_heya部屋へやroom
00516_kurumaくるまcar
00522_densha電車でんしゃtrain
00523_hanaはなflower
00524_kitree
00525_meeye
00558_kaoかおface
00560_kuchiくちmouth
00569_tehand
00574_atamaあたまhead
00575_ashiあしfoot, leg
00576_ochaお茶おちゃtea
00577_byouin病院びょういんhospital
00578_ginkou銀行ぎんこうbank
00580_toshokan図書館としょかんlibrary
00581_kouen公園こうえんpark
00582_tenki天気てんきweather
00583_ameあめrain
00607_kaisha会社かいしゃcompany
00608_daigaku大学だいがくuniversity
00609_sensei先生せんせいteacher
00610_gakusei学生がくせいstudent
00611_okaneお金おかねmoney
00612_ieいえhouse, home
00614_nihongo日本語にほんごJapanese language
00682_ueうえabove, up
00670_shitaしたbelow, down
00710_kaigi会議かいぎmeeting
00762_tsukueつくえdesk
00888_shitsumon質問しつもんquestion
02180_ekiえきstation

Common Adverbs

Entry IDWordReadingGloss
00593_totemoとてもとてもvery
00595_chottoちょっとちょっとa little
00596_sukoshi少しすこしa little, few
00597_takusanたくさんたくさんa lot, many
00598_zenzen全然ぜんぜんnot at all
00599_itsumoいつもいつもalways
00600_tokidoki時々ときどきsometimes
00601_yokuよくよくoften, well
00602_mouもうもうalready
00603_madaまだまだstill, not yet
00604_amariあまりあまりnot very
00814_suguすぐすぐimmediately
00881_saikin最近さいきんrecently, lately
01284_moshiもしもしif, in case

Additional Common Words

These are frequently encountered words not in the categories above:

Entry IDWordReadingGloss
00164_kamoshirenaiかもしれないかもしれないmight, perhaps
00554_kodomo子供こどもchild
00673_sumu住むすむto live, reside
00755_shizuka静かしずかquiet, calm
00791_kowareru壊れるこわれるto break
00823_wakai若いわかいyoung
00846_hitsuyou必要ひつようnecessary
01098_ireru入れるいれるto put in
01127_ooi多いおおいmany, much
01137_tokoroところところplace, point
01165_mieru見えるみえるto be visible
01179_keiken経験けいけんexperience
01430_juusho住所じゅうしょaddress
01458_tatemono建物たてものbuilding
01636_shippai失敗しっぱいfailure
01932_kiku効くきくto be effective
01970_naruなるなるto become
02355_suki好きすきlike, fond of
02444_hiku弾くひくto play (instrument)
02514_kekkon結婚けっこんmarriage
02848_issho一緒いっしょtogether
02899_kudasaiくださいくださいplease (do)
03036_machigau間違うまちがうto make a mistake
03093_dakeだけだけonly, just
03290_seichou成長せいちょうgrowth
03823_senshu選手せんしゅplayer, athlete

Conjunctions

Entry IDWordReadingGloss
00031_dagaだがだがbut, however
00033_dakedoだけどだけどbut, however
00379_sokodeそこでそこでso, therefore
00382_soredemoそれでもそれでもbut still

Workflow for Adding Links

  1. Read the sentence - Understand the full meaning
  2. Identify each word - Note word boundaries carefully
  3. Look up entry IDs - Use reference table or search dictionary
  4. Verify semantically - Confirm each link matches intended meaning
  5. Add markup - Apply the link format carefully
  6. Validate immediately - Run validation to catch ID errors early:
    python3 build/validate.py 2>&1 | grep -A5 "Word link"
    
  7. Review - Read through the linked sentence to verify

Tracking
noentry
Words

When you mark a word with

noentry
, consider tracking it for potential future entry creation. In your session log, include:

### Words marked noentry (candidates for future entries)
- ランナー (runner)
- セーフ (safe - sports)
- 丁目 (district number)

This helps identify gaps in the dictionary that may need filling.

Quality Checklist

Before finalizing links:

  • Every link has been semantically verified
  • No self-references (headword linking to itself)
  • Punctuation is not linked
  • Conjugated forms link to dictionary forms
  • All entry IDs are valid
  • Furigana is preserved correctly within links
  • No spacing artifacts between links