/japanese-composition:jp-chord-selectionfrom japanese-composition
Harmonizes a melody with chords: key identification, diatonic chords, cadences, non-chord tone handling, staple progressions, and 7th upgrades.
Ships in japanese-composition. 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.
Methodology source: Sho Ueda, Shoho kara Mi ni Tsuku! Chord no Erabikata Manual ("Learn from the Basics! A Manual for Choosing Chords", Rittor Music), Introduction through Chapter 2. Core idea: harmonizing a melody is like a jigsaw puzzle (パズル) — a melody never has only one valid harmonization, but "knowledge" is the driving force that gets you closer to the right answer.
Given a melody, work through the following steps in order:
Simplifying assumption (beginner default): one chord per measure; once fluent, two per measure is fine.
Memorize the two orders in which accidentals are added (key-signature rules):
Reasoning procedure:
Accidentals (変化記号) in a melody come in two identities:
Note-by-note elimination rules:
| Observation | Judgment |
|---|---|
| The same note appears both with and without a ♯ | The ♯ version is very likely just decoration; the true note is ♮ |
| A note carries a ♯, but notes that should carry ♯ earlier in the ♯ order do not | That ♯ is unlikely to be a scale tone (e.g., ラ♯ appears but no ソ♯/レ♯ → ラ♯ is decoration) |
| A ♭ note sits right next to the same note as ♮, apparently setting up a descent | Ornamental note |
| Accidentals remaining after elimination | Assume they are scale tones, match them against the key-signature table to name the key, then use the leading-tone test to pick major vs minor |
Worked note-by-note example (♯s appear on ラ, ド, ファ; ♭ appears only on ミ):
The same melody may admit two legitimate readings (e.g., C Major with C→G→C, or A Minor with Am→E7→Am). In that case, decide from context and the mood (ムード) of the whole piece. Beyond theoretical deduction, the intuition of "feeling" the key from the melody matters most — play it and sing it before reasoning.
| 调号 | 大调 | 小调(平行短調) | 调号 | 大调 | 小调 | |
|---|---|---|---|---|---|---|
| 无 | C | Am | 1♭ | F | Dm | |
| 1♯ | G | Em | 2♭ | B♭ | Gm | |
| 2♯ | D | Bm | 3♭ | E♭ | Cm | |
| 3♯ | A | F♯m | 4♭ | A♭ | Fm | |
| 4♯ | E | C♯m | 5♭ | D♭ | B♭m | |
| 5♯ | B | G♯m | 6♭ | G♭ | E♭m | |
| 6♯ | F♯ | D♯m | 7♭ | C♭ | A♭m |
Chain of logic: key determined → diatonic chords can be listed → candidate chords are fixed. Diatonic chords = chords built by stacking thirds on each scale degree, using only notes within that key's scale.
| 级数 | I | IIm | IIIm | IV | V | VIm | VIIm(♭5) |
|---|---|---|---|---|---|---|---|
| C 大调 | C | Dm | Em | F | G | Am | Bm(♭5) |
| 功能 | T | S | ※变色龙 | S | D | T | D |
Transpose by degree to any major key, e.g. F Major: F(I)–Gm(IIm)–Am(IIIm)–B♭(IV)–C(V)–Dm(VIm)–Em(♭5)(VIIm(♭5)).
In practice, master these 5 first: I, IIm, IV, V, VIm.
Interval quick reference (semitones between two notes):
| 音程 | 半音数 | 音程 | 半音数 |
|---|---|---|---|
| 短2度 | 1 | 完全5度 | 7 |
| 長2度(全音) | 2 | 短6度 | 8 |
| 短3度 | 3 | 長6度 | 9 |
| 長3度 | 4 | 短7度 | 10 |
| 完全4度 | 5 | 長7度 | 11 |
| 増4度/減5度 | 6 | 完全8度 | 12 |
The four triads (トライアドコード, triad chords; semitones stacked upward from the Root):
| 和弦 | 结构(下+上三度) | 半音数 | Root–5音 | 例(C 系) |
|---|---|---|---|---|
| Major | 長3 + 短3 | 4+3 | 完全5度 | C = C E G |
| Minor(m) | 短3 + 長3 | 3+4 | 完全5度 | Cm = C E♭ G |
| m(♭5)/dim | 短3 + 短3 | 3+3 | 減5度 | Cm(♭5) = C E♭ G♭ |
| aug | 長3 + 長3 | 4+4 | 増5度 | Caug = C E G♯ |
Principal 7th chords (triad + 7th; parentheses give semitones from Root to the 7th):
| 和弦 | 结构 | 半音数 | 例 | Notes |
|---|---|---|---|---|
| △7(Major 7th) | major triad + 長7度 | 4+3+4(11) | C△7 = C E G B | Also written CM7; a distinctly stylish sound |
| 7(dominant 7th, ドミナントセブンス) | major triad + 短7度 | 4+3+3(10) | C7 = C E G B♭ | Most frequently used; the 3rd–7th form a 減5度 (tritone), the source of its tension |
| m7 | minor triad + 短7度 | 3+4+3(10) | Cm7 = C E♭ G B♭ | More delicate than a plain minor triad |
| m7(♭5) | dim triad + 短7度 | 3+3+4(10) | Cm7(♭5) = C E♭ G♭ B♭ | Also called half-diminished (ハーフディミニッシュ, ∅); common in minor keys |
| dim7 | dim triad + 減7度 | 3+3+3(9) | Cdim7 = C E♭ G♭ B♭♭ | Contains two 減5度 intervals; extremely distinctive character |
| 6 | major triad + 長6度 | 4+3+2(9) | C6 = C E G A | Commonly used; m6 works the same way |
Fast method for building any chord (E♭ as example): first fix the outer frame — a perfect 5th above the Root (E♭→B♭, 7 semitones, never wrong) — then fill the inside: 4-below/3-above for Major, 3-below/4-above for Minor.
Supplementary general rules:
This skill uses dual notation throughout — "letter + degree" — with degree rules as follows:
The "grammar" of chord ordering is called ケーデンス (cadence; the German-derived term is カデンツ).
| Function | Japanese | Character | Members |
|---|---|---|---|
| T(Tonic) | トニック (tonic function) | Stable | I, VIm (VIm is I's "body double / stand-in") |
| S(Sub Dominant) | サブドミナント (subdominant function) | Mildly unstable, propels toward D | IIm, IV |
| D(Dominant) | ドミナント (dominant function) | Unstable, wants to return to T | V, VIIm(♭5) (V is overwhelmingly more common) |
D's instability must "resolve" onto T; this psychological need is precisely the source of musical forward momentum. IIIm is excluded from this list (chameleon).
同機能の連用 (consecutive use of same-function chords): chords of the same function may be chained. Example: C→Am→F→Dm→G→C (I→VIm→IV→IIm→V→I) — I+VIm chained as T, IV+IIm chained as S; the whole is still T→S→D→T.
First write out the candidate table: F(I,T), Gm(IIm,S), B♭(IV,S), C(V,D), Dm(VIm,T). Then measure by measure:
| 小节 | 旋律音 | Candidates containing those notes | Cadence ruling |
|---|---|---|---|
| 1 | A・F・C | F (constituent notes match exactly) | F(T) |
| 2 | B♭・D | B♭ or Gm (both S) | Either works |
| 3 | E・G・C | C | C(D) |
| 4 | A | F or Dm (both T) | The first three measures form T→S→D, so return to T here; either works |
| 5–8 | (same method) | B♭ → F → C → F | S→T→D→T, closing on I |
Result: F → B♭(or Gm) → C → F(or Dm) / B♭ → F → C → F; overall function chain T S D T S T D T.
Second major-key example (C Major, 8 measures, melody containing non-chord tones): C → F → Dm → G / C → Am → Dm → G → C Degrees I → IV → IIm → V / I → VIm → IIm → V → I; functions T → S (IV and IIm chained) → D / T (I and VIm chained) → S → D → T — the cadence completes twice. Rule of thumb: trying to fit the cadence framework as much as possible first is the shortcut to improvement.
Caveat: real songs are full of examples that do not obey the theory. Insisting "the cadence must hold absolutely" can itself produce unnatural progressions — stay flexible and remember that "everything has exceptions."
All chord tones → correct but overly plain; saturated with non-chord tones → jarring (チグハグ). Balancing the ratio is a matter of experience and taste. Non-chord tones are "accessories," not "obstacles" — their urge to return to a chord tone generates forward momentum, a "slightly naughty charm (ちょいワルな色気)."
| Type | Japanese (reading) | Definition |
|---|---|---|
| Passing tone | 経過音(けいかおん) | Moves stepwise in order through the space between two chord tones of different pitch |
| Appoggiatura | 倚音(いおん) | A non-chord tone falling on a strong beat, usually resolving by step up or down |
| Suspension | 掛留音(けいりゅうおん) | A chord tone of the previous chord held over as-is (often tied, タイ), becoming a non-chord tone over the new chord before resolving |
| Neighbor tone (auxiliary tone) | 刺繡音(ししゅうおん) | "Stitches" around a chord tone: chord tone → neighbor → back to the original note |
The rules are (almost) identical to major — arrange diatonic chords by cadence. "Almost," because minor has three scales, and the diatonic chords differ subtly depending on which scale you use.
| 级数 | Im | IIm(♭5) | ♭IIIaug | IVm | V | ♭VI | VIIm(♭5) |
|---|---|---|---|---|---|---|---|
| c 小调 | Cm | Dm(♭5) | E♭aug | Fm | G | A♭ | Bm(♭5) |
| 功能 | T | S | ×几乎不用 | S | D | T※ | D |
Diatonic chords of all three scales compared (C Minor, for reference):
| 音阶 | 各级和弦 | 功能 |
|---|---|---|
| 和声小音阶 | Cm・Dm(♭5)・E♭aug・Fm・G・A♭・Bm(♭5) | T・S・×・S・D・T・D |
| 自然小音阶 | Cm・Dm(♭5)・E♭・Fm・Gm・A♭・B♭ | T・S・T・S・D・T・S |
| 旋律小音阶(上行) | Cm・Dm・E♭aug・Fm・G・Am(♭5)・Bm(♭5) | T・S・×・S・D・T・D |
In practice, master these 5 first: Im, IIm(♭5), IVm, V, ♭VI (in C Minor: Cm, Dm(♭5), Fm, G, A♭; functions T, S, S, D, T).
Basic minor example: A Minor harmonized as T→S→D→T gives Am → Bm(♭5) → E → Am (Im → IIm(♭5) → V → Im).
Inserting the relative major's (平行長調) V→I into a minor progression creates a momentary brightness like "light breaking through a gap in the clouds" — extremely common.
C Minor 8-measure demonstration: Cm → Fm → B♭ → E♭ → A♭ → Dm(♭5) → G → Cm Degrees: Im(T) → IVm(S) → [E♭ Major's V(D) → I(T)] → ♭VI(T) → IIm(♭5)(S) → V(D) → Im(T)
The key to returning to the home key is using a common chord as the "hinge" (蝶番, ちょうつがい): A♭ is IV from E♭ Major's viewpoint and ♭VI from C Minor's, sliding the music smoothly back into the minor key.
Exactly the same procedure as major: first list Am(Im,T), Bm(♭5)(IIm(♭5),S), Dm(IVm,S), E(V,D), F(♭VI,T), then match melody notes measure by measure and adjudicate by cadence. Sample solution:
Am → Dm → G → C / F → Bm(♭5) → E → Am
I → VIm → IIm → V (C Major: C → Am → Dm → G), functions T→T→S→D. "Cyclic" means it can repeat indefinitely — the staple of staples (Stand by Me, etc.). Chained variant example: C→Am→Dm→G / Em→Am→F→G (I→VIm→IIm→V / IIIm→VIm→IV→V).
IIm → V → I → VIm (C Major: Dm → G → C → Am), functions S→D→T→T — i.e., the cyclic progression started from its S segment. Used mainly in major keys, arguably even more often than the cyclic form (ヘビーローテーション (Heavy Rotation), 君の瞳に恋してる (Can't Take My Eyes Off You), etc.). Most common development: repeat twice, ending on I the second time; or on the repeat, turn the final VIm into a VI major triad: Dm→G→Em→Am / Dm→G→C→A (IIm→V→IIIm→VIm / IIm→V→I→VI).
I → V → VIm → IIIm → IV → I → IIm → V (C Major: C → G → Am → Em → F → C → Dm → G). Especially common in J-POP (ハナミズキ (Hanamizuki), チェリー (Cherry), etc.). Its charm: from the constituent notes of the chords you can extract a stepwise descending melodic line that turns upward at the final chord — an emotional effect of "a sliver of hope suddenly emerging," extremely useful for both songwriting and accompaniment.
Transposition: move it by degree to any key (e.g., F Major: F C Dm Am B♭ F Gm C).
Major-key diatonic 7th chords (ダイアトニック7thコード, C Major):
| C△7 | Dm7 | Em7 | F△7 | G7 | Am7 | Bm7(♭5) |
|---|---|---|---|---|---|---|
| I△7(T) | IIm7(S) | IIIm7(※) | IV△7(S) | V7(D) | VIm7(T) | VIIm7(♭5)(D) |
So direct substitution is fine: C→F→G→Am (I→IV→V→VIm) ⇒ C△7→F△7→G7→Am7, no problem at all. Five to remember is enough: I△7, IIm7, IV△7, V7, VIm7.
The most frequently used diatonic 7th is V7 (属七の和音, the dominant 7th chord): structurally the union of the triads V and VIIm(♭5) (G + Bm(♭5) = G7). Its Dominant pull is exceptionally strong — use it actively.
A melody note may be interpreted as the chord's 7th to justify a 7th chord (e.g., melody note B over C → harmonize with C△7). Many "nothing seems to fit" melodies suddenly open up. Even when the melody contains no 7th, you may use a 7th purely for the stylish sound.
| Cm△7 | Dm7(♭5) | E♭△7(♯5) | Fm7 | G7 | A♭△7 | Bdim7 |
|---|---|---|---|---|---|---|
| Im△7(T) | IIm7(♭5)(S) | ×几乎不用 | IVm7(S) | V7(D) | ♭VI△7(T) | VIIdim7(D) |
The other two scales' 7th versions (for reference, C Minor):
Practical points for minor:
C Minor 8-measure comprehensive demonstration: Cm7 → Fm7 → B♭7 → E♭△7 → A♭△7 → Dm7(♭5) → G7 → Cm7 (Im7 → IVm7 → [relative major E♭'s V7→I△7] → ♭VI△7 → IIm7(♭5) → V7 → Im7)
Practical example of minor reverse-cycle + 7th-ized relative major (D Minor, 8 measures): Dm7 → Gm7 → C7 → F△7 / B♭△7 → Em7(♭5) → A7 → Dm The first half is [relative major F Major's V7→I△7] (C7→F△7); then the common chord B♭△7 serves as the hinge (蝶番) back to D minor (IIm7(♭5)→V7→Im).
7ths are rich and complex in sound — you need not use them everywhere: restricting yourself to V7 alone, or adding only IIm7, gives a calmer sound less likely to clash with the melody. Do not overdo it — "observe the dosage and directions; use correctly."
草競馬 (Camptown Races) (S. Foster, F Major) uses only 3 chords in the entire song: F(I), C7(V7), B♭(IV):
Lesson: just 3 chords plus a simple melody can build a three-dimensional world; the "late arrival" of the S chord is a classic device for creating sectional color change. When harmonizing your own melody, you need not chase richness in every measure — first decide "which function makes its entrance in which section."
Q: The melody notes in a measure don't fully belong to any common chord? Treat the misfit notes as non-chord tones (confirm they belong to one of the four types and have a resolution destination) and choose the chord from the remaining notes; or interpret the note as a 7th and use a 7th chord; failing that, consider two chords in the measure, assigning the note to the second chord that fits it.
Q: Two candidate chords both make sense — which to pick? Function first — pick the chord whose function the cadence demands; among same-function parallel candidates (e.g., B♭ vs Gm, F vs Dm), choose by personal taste and color. There is no single correct answer.
Q: The melody sounds sad — can I conclude it's minor? No. Reason from accidentals plus the leading-tone test (Step 1); if genuinely ambiguous, decide by context and the piece's overall mood, and verify by actually playing and singing.
Q: Must each measure have exactly one chord? Beginner default is one per measure; when melody notes are dense or the function needs to switch, two chords per measure (usually split on the strong beat) is very common.
Q: Want a flash of brightness in a minor progression? Insert the relative major's V→I (or V7→I△7), then slide back to the home key via a common chord (the hinge, 蝶番).
Q: The result sounds too bland? Try in order: same-function substitution (IIIm for I, IV for IIm) → apply a staple progression → localized 7th-izing (V7 first) → have an S-function chord make a "late arrival" in a new section for a color change.
Self-check after harmonizing a melody:
| Japanese | English | Japanese | English |
|---|---|---|---|
| コードづけ | Harmonizing a melody | ダイアトニックコード | Diatonic chords |
| ケーデンス/カデンツ | Cadence | トニック(T) | Tonic function |
| ドミナント(D) | Dominant function | サブドミナント(S) | Subdominant function |
| 導音 | Leading tone | 平行調 | Relative major/minor keys |
| 和声的短音階 | Harmonic minor scale | アーメン終止 | Amen (plagal) cadence(IV→I) |
| 和声音/非和声音 | Chord tone / Non-chord tone | 経過音 | Passing tone |
| 倚音 | Appoggiatura | 掛留音 | Suspension |
| 刺繡音 | Neighbor tone (auxiliary tone) | 蝶番 | Hinge (common-chord pivot) |
| 循環コード | Cyclic progression | 逆循環コード | Reverse cyclic progression |
| パッヘルベルのカノン型 | Pachelbel's Canon type | 属七の和音 | Dominant 7th chord(V7) |
| 転回形 | Inversion | 定番コード進行 | Staple chord progression |
What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/jp-arrangementArrangement and MIDI uchikomi (打ち込み, MIDI programming) - realistic part-writing for each instrument (drums/bass/guitar/piano/strings/brass), groove design, humanization parameters, band-sound production, yotsu-uchi (four-on-the-floor) dance and Trap beats, spectrum-layered arrangement thinking. Use when the user wants to arrange a song, when MIDI sounds too mechanical, when writing a backing part for a specific instrument, or when producing EDM/Trap beats./jp-chord-progressionsQuick-reference library of standard Japanese chord progressions - Ōdō shinkō (royal road, 4536), Canon progression, Komuro progression, Maru-sa progression, cyclic/reverse-cyclic patterns, clichés, descending bass lines, minor two-five and 100+ more patterns, with mood tags and usage scenes. Use when the user needs a ready-made chord progression, wants to know which progression fits a given mood, or wants to identify or vary classic Japanese progressions./jp-composition-basicsJ-Pop composition fundamentals - the full composition workflow (drums → chords → bass → melody), basic music theory, rhythm patterns, diatonic chords, and cadences. Use when the user wants to write a J-Pop/Japanese-style song from scratch, asks about the step-by-step composition workflow, or needs basic music theory (intervals/chord construction/scale degrees/functional harmony)./jp-harmony-advancedAdvanced harmony techniques - slash chords, secondary dominants, two-five progressions, ura-code (tritone substitution), subdominant minor borrowing, tension-note selection, cliché lines, passing diminished, sus4, blues. Use when the user wants chord progressions with more color or a jazzier feel, wants to reharmonize a progression, or asks how to use a specific harmonic technique./jp-jazz-adlibLine-drawing jazz improvisation - draw the melodic contour line first, then fill in notes. Covers the line-type system, chord-tone priority beat positions, gake (large leaps), approach notes, chromatic scale, scale selection, kishotenketsu solo construction, and hands-on Blues and Rhythm Changes. Use when the user wants to write jazz solos/improvised phrases, when phrases don't sound jazzy enough, or when building lines over II-V-I./jp-melody-writingMelody-writing methodology - pitch-motion mechanics, note duration and rhythm, modes and pentatonic scales, motivic development, phrase construction, lyric-melody fit, and whole-song climax design. Use when the user wants to write a melody (verse/chorus), wants to improve a bland melody, needs motivic development techniques, or wants to understand how melody interacts with harmony/lyrics.npx claudepluginhub jtydhr88/japanese-composition-skills --plugin japanese-compositionOther plugins' skills for the same job