Skip to content
Back to skills

Protocol Parity Sync

ASecurity

Sync wire-protocol changes to TypeScript bindings, @padu/client reducers, and desktop/web/mobile UI. Use when touching crates/padu-protocol.

  • 15 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 19, 2026
developmenttypescriptrust

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add wisnuwiry/padu --skill protocol-parity-sync --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Protocol Parity Sync?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Protocol Parity Sync
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wisnuwiry-protocol-parity-sync/badge)](https://www.skillsdirectory.com/skills/wisnuwiry-protocol-parity-sync)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: protocol-parity-sync
description: >-
  Sync wire-protocol changes to TypeScript bindings, @padu/client reducers,
  and desktop/web/mobile UI. Use when touching crates/padu-protocol.
---

# Protocol & Cross-Client Parity Skill

Pipeline: Rust types → `protocol:generate` → `@padu/client` reducer →
desktop + web (+ mobile unless platform-exclusive) → verify script.
Item-level boxes: [checklist](./references/parity-checklist.md). Worked
example: [adding a protocol event](./examples/adding-protocol-event.md).

## When to use

Changing `crates/padu-protocol/`, adding daemon events/commands, mirroring a
feature across clients, or fixing stale `packages/padu-client/src/generated/`.

## Workflow

1. **Rust type** — derive `Serialize, Deserialize, TS` + `#[ts(export)]`;
   register new root types in `export_types.rs`.
2. **Codegen** — `bun run protocol:generate && bun run protocol:check`;
   commit `packages/padu-client/src/generated/`.
3. **Shared client** — handle in `event-reducer.ts` (+ presentation helpers),
   add `*.test.ts` cases,
   `bun run --filter @padu/client check && bun run --filter @padu/client test`.
4. **Desktop** — `apps/desktop/src/ui/` or `app/`; GPUI idioms, keyboard
   focus, zero blocking I/O on UI thread.
5. **Web + mobile** — mirror in `apps/web/src/` and `apps/mobile/src/`;
   reuse `@padu/client` state, then run their typechecks/tests.
6. **Verify** — `.agents/skills/protocol-parity-sync/scripts/verify-parity.sh`.

Files in this skill

  • SKILL.md1.5 KB
  • examples/adding-protocol-event.md1.1 KB
  • references/parity-checklist.md1.1 KB
  • scripts/verify-parity.sh5.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.