> For the complete documentation index, see [llms.txt](https://pingshunhuangalex.gitbook.io/rime-xkjd/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pingshunhuangalex.gitbook.io/rime-xkjd/learn-xkjd/stroke-rules.md).

# 键道形码

## 笔画字根变体

笔画是构成汉字字形的最小连笔单位。根据[《GF 3003-1999 GB13000.1字符集汉字字序（笔画序）规范》](http://www.moe.gov.cn/jyb_sjzl/ziliao/A19/201001/W020150902458280061291.pdf)，汉字的笔画可划分为36种，并可进一步归类为5种主笔形：横（一）、竖（丨）、撇（丿）、点（丶）、折（㇕）。这便是键道图谱中5个形码键位的由来。

观察键道图谱可发现，每个形码键位上有且仅有一个笔画字根（共5个），其编码便是键位字母本身。作为笔画字根，它们可不限次数的重复用于解构任何汉字，下表对5种笔形所代表的所有笔画进行了罗列：

| 笔画字根（字根编码） | 代表笔画（笔画名称） | 例字    |
| ---------- | ---------- | ----- |
| ㇕（`a`）     | 乛（横钩）      | 你、了、冗 |
| ㇕（`a`）     | ㇕（横折）      | 口、田、肃 |
| ㇕（`a`）     | ㇇（横撇）      | 水、又、互 |
| ㇕（`a`）     | ㇅（横折折）     | 凹、卍、兕 |
| ㇕（`a`）     | ㇆（横折钩）     | 月、用、匀 |
| ㇕（`a`）     | ㇊（横折提）     | 说、计、鸠 |
| ㇕（`a`）     | ㇍（横折弯）     | 朵、躲、没 |
| ㇕（`a`）     | ㇈（横折弯钩）    | 九、几、风 |
| ㇕（`a`）     | ㇋（横折折撇）    | 及、建、汲 |
| ㇕（`a`）     | ㇌（横撇弯钩）    | 那、队、耶 |
| ㇕（`a`）     | ㇎（横折折折）    | 凸     |
| ㇕（`a`）     | 乙（横斜弯钩）    | 乙、氹、乞 |
| ㇕（`a`）     | ㇡（横折折折钩）   | 乃、孕、仍 |
| ㇕（`a`）     | ㇙（竖提）      | 良、以、比 |
| ㇕（`a`）     | ㇁（弯钩）      | 了、狐、狱 |
| ㇕（`a`）     | ㇂（斜钩）      | 我、弋、战 |
| ㇕（`a`）     | ㇃（卧钩）      | 心、必、沁 |
| ㇕（`a`）     | ㇄（竖弯）      | 四、西、要 |
| ㇕（`a`）     | ㇗（竖折）      | 山、互、牙 |
| ㇕（`a`）     | ㇞（竖折折）     | 专、卐、鼎 |
| ㇕（`a`）     | 乚（竖弯钩）     | 孔、乱、已 |
| ㇕（`a`）     | ㇉（竖折折钩）    | 弯、弟、号 |
| ㇕（`a`）     | ㇛（撇点）      | 女、巡、甾 |
| ㇕（`a`）     | ㇜（撇折）      | 去、公、玄 |
| ㇕（`a`）     | ㇢（撇钩）      | 乄     |
| ㇕（`a`）     | ㇣（圈）       | 〇、㔔、㪳 |
| 丨（`i`）     | 丨（竖）       | 十、正、上 |
| 丨（`i`）     | 亅（竖钩）      | 小、水、事 |
| 丶（`o`）     | 丶（点）       | 主、火、刃 |
| 丶（`o`）     | ㇏（捺）       | 人、爻、木 |
| 丶（`o`）     | 乁（横捺）      | 乁、亪   |
| 丶（`o`）     | 乀（提捺）      | 尐     |
| 丿（`u`）     | ㇒（撇）       | 八、大、天 |
| 丿（`u`）     | 丿（竖撇）      | 凡、用、齐 |
| 一（`v`）     | 一（横）       | 一、二、丁 |
| 一（`v`）     | ㇀（提）       | 地、冰、孑 |

## 键名字根变体

与笔画字根类似，每个形码键位上有一个键名字根（共5个），其编码同样是键位字母本身。虽然键名字根只有5个，但是作为字根，它们被应用在各个汉字的不同部位，下表对键名字根的所有变体进行了罗列：

| 键名字根（字根编码） | 字根变体 | 例字    |
| ---------- | ---- | ----- |
| 氵（`a`）     | 氵    | 江、河、海 |
| 氵（`a`）     | 水    | 水、沝、淼 |
| 氵（`a`）     | 氺    | 泰、黍、黎 |
| 亻（`i`）     | 亻    | 亿、什、仁 |
| 亻（`i`）     | 人    | 人、亼、亾 |
| 亻（`i`）     | 人    | 个、介、余 |
| 口（`o`）     | 口    | 只、可、吃 |
| 月（`u`）     | 月    | 胜、明、有 |
| 木（`v`）     | 木    | 样、休、杰 |
| 木（`v`）     | 朩    | 条、亲、寨 |
| 木（`v`）     | 木    | 朮     |

## 双编码字根变体

除了笔画字根与键名字根外，每个形码键位上还有1-3个双编码字根（共7个），其编码首码是键位字母本身，而编码次码则标注在字根上方。作为字根，它们同样也被应用在各个汉字的不同部位，下表对双编码字根的所有变体进行了罗列：

| 双编码字根（字根编码） | 字根变体 | 例字    |
| ----------- | ---- | ----- |
| 贝（`ao`）     | 贝    | 则、呗、员 |
| 艹（`ii`）     | 艹    | 苍、草、苛 |
| 钅（`io`）     | 钅    | 铁、铜、银 |
| 钅（`io`）     | 金    | 金、鉴、鑫 |
| 扌（`iu`）     | 扌    | 拾、接、抛 |
| 扌（`iu`）     | 手    | 手、拿、掱 |
| 扌（`iu`）     | 龵    | 看、拜、掰 |
| 日（`oi`）     | 日    | 晓、旧、旭 |
| 日（`oi`）     | 曰    | 旦、亘、旨 |
| 十（`uo`）     | 十    | 博、直、午 |
| 土（`vo`）     | 土    | 地、幸、坚 |
| 土（`vo`）     | 士    | 壮、吉、壵 |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pingshunhuangalex.gitbook.io/rime-xkjd/learn-xkjd/stroke-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
