Pylibp2p Protocol Scaffolder

End-to-end guide and code scaffolder for implementing, registering, and testing new libp2p protocols in py-libp2p. Covers multistream-select protocol IDs, protobuf message framing, stream handler patterns, outbound stream creation, and multi-host integration tests using Trio fixtures. Use when the user asks to "implement a new protocol in py-libp2p", "scaffold a libp2p protocol", "add a stream handler", "how to write a custom protocol in py-libp2p", or "write tests for a libp2p protocol".

sumanjeet0012 Updated

File contents

sumanjeet0012/agent-skills/tree/main/pylibp2p/pylibp2p-protocol-scaffolder commit f7ff0a55ce

Frequently asked questions

npx skillmds@latest add sumanjeet0012/pylibp2p-protocol-scaffolder