TsukiNi22/ai-utils / skills/docs/better-protocol-doc
better-protocol-doc
Verified| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.7 KB |
| requires.txt | markdown | 29 B |
| templates/pages/reference/protocol.en.md | markdown | 1.0 KB |
| templates/pages/reference/protocol.fr.md | markdown | 1018 B |
| templates/protocol.css | other | 2.3 KB |
templates/pages/reference/protocol.fr.md
View on GitHub+++
title = "Protocole réseau"
summary = "Les trames entre le client et le serveur, octet par octet."
keywords = "protocole trame message handshake octets"
+++
Chaque valeur est lue dans le code : le parseur et les énumérations des types de messages.
## Trame {#framing}
Une transmission est `ENQ` + contenu + `EOT` ; le premier octet du contenu est son type.
## Messages {#messages}
:::message HELLO 0x01
| champ | type | taille | description |
|---|---|---|---|
| type | u8 | 1 | `0x01` |
| version | u16 | 2 | version du protocole, gros-boutiste |
| nom | utf8 | var | le nom du client, 32 octets au plus |
La première trame d'une connexion ; toute autre trame avant : le serveur la ferme.
:::
## Poignée de main {#handshake}
:::html
<ol class="seq">
<li><div><span class="dir">client → serveur</span><br><code>HELLO</code> avec sa version.</div></li>
<li><div><span class="dir">serveur → client</span><br><code>WELCOME</code> ou <code>ERROR 0x10</code> (version refusée).</div></li>
</ol>
:::
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |