xiaohongshu
xiaohongshu
connect-go-reference
Reference the LOCAL connect-go/ directory for ConnectRPC protocol. NEVER use WebFetch/WebSearch for github.com/connectrpc/connect-go - always read local files.
Full skill instructions
Reference the LOCAL connect-go/ directory for understanding the ConnectRPC protocol.
NEVER fetch from GitHub. Do not use:
WebFetch with github.com/connectrpc/connect-goWebFetch with raw.githubusercontent.com/.../connect-goWebSearch for "connect-go" implementation detailsALWAYS use local files:
Read tool with connect-go/*.go pathsGrep tool with path="connect-go/"Glob tool with path="connect-go/"The connect-go/ directory at the repository root is the authoritative reference.
The connect-go/ directory at the repository root contains the official Go implementation of the ConnectRPC protocol.
If the directory doesn't exist, clone it once:
git clone https://github.com/connectrpc/connect-go.git connect-go
After cloning, ALWAYS use the local files via Read/Grep/Glob tools.
| File | Purpose |
|---|---|
protocol_connect.go | Connect protocol implementation (unary + streaming) |
protocol_grpc.go | gRPC protocol implementation |
protocol.go | Protocol abstraction and detection |
envelope.go | Frame/envelope encoding (5-byte header) |
client.go | Client-side implementation |
handler.go | Server-side handler implementation |
client_stream.go | Client streaming logic |
handler_stream.go | Server streaming logic |
error.go | Error types and code mappings |
codec.go | Protobuf/JSON codec interfaces |
compression.go | Compression support (gzip, etc.) |
duplex_http_call.go | HTTP call abstraction for streaming |
option.go | Configuration options |
Protocol detection logic:
Read connect-go/protocol.go and connect-go/protocol_connect.go for Content-Type parsing
Streaming frame format:
Read connect-go/envelope.go for the 5-byte envelope format:
[flags: 1 byte][length: 4 bytes BE][payload]
Error handling:
Read connect-go/error.go for error codes, wire format, and detail encoding
gRPC trailers:
Read connect-go/protocol_grpc.go for grpc-status header and trailer handling
# Search for content-type handling
Grep pattern="Content-Type" path="connect-go/"
# Read specific file
Read file_path="connect-go/protocol_connect.go"
# Find all error-related code
Grep pattern="Code" path="connect-go/error.go"
FORBIDDEN:
WebFetch("https://github.com/connectrpc/connect-go/...") - NOWebFetch("https://raw.githubusercontent.com/connectrpc/connect-go/...") - NOWebSearch("connect-go ...") for implementation details - NOconnect-go/*.go files - NOxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience