Design, modify, and review OpenZL codecs with consistent patterns and requirements.
This skill appears to be prompt-only, open-source, and declares no keys or remote endpoints, so the overall risk is low. Its content mainly provides workflow and security guidance for OpenZL codec design, with no concrete red flags indicating data exfiltration, execution privileges, or excessive access.
The material declares no required keys or environment variables, and shows no path for token collection, storage, or misuse. As a prompt-only skill, credential exposure is minimal.
No remote endpoints are declared, and the content does not describe sending user data to external services or making network calls. No network egress is indicated.
This is a design/review-oriented skill description and does not describe spawning local processes, executing scripts, installing dependencies, or invoking system commands. The phrase 'USE AUTOMATICALLY' is workflow guidance, not execution capability by itself.
The material only references project file paths such as `spec.md`, `src/openzl/codecs/`, and `fbcode/...` for repository work, and does not declare access to arbitrary local sensitive data, system resources, or excessive cross-directory access.
The source is an open-source GitHub repository, and the code is auditable, which clearly lowers risk. However, the license is undeclared, community adoption is 0 stars, and maintenance status is unknown, so supply-chain quality still warrants caution.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "openzl-codec-design" skill from askskill: 1. Download https://raw.githubusercontent.com/facebook/openzl/dev/.claude/skills/openzl-codec-design/SKILL.md 2. Save it as ~/.claude/skills/openzl-codec-design/SKILL.md 3. Reload skills and tell me it's ready
Based on the existing style in OpenZL `src/openzl/codecs/`, design a new binary message codec. Describe the interface structure, error handling, extensibility requirements, and coding patterns that should be followed.
A clear codec design spec with pattern constraints, interface recommendations, and implementation requirements.
Review these OpenZL codec changes and check whether they follow the design patterns in `src/openzl/codecs/`. Identify issues in interface consistency, error propagation, edge-case handling, and maintainability, then suggest fixes.
A code review checklist outlining issues, reasons, and actionable improvement suggestions.
I am preparing to refactor an OpenZL codec module. Help me create a requirements list covering functional goals, compatibility requirements, performance considerations, test coverage points, and constraints for staying consistent with the existing `src/openzl/codecs/` architecture.
A requirements document for refactoring planning with clear goals, constraints, and validation criteria.
If the user provides an input to this skill, interpret it as an informal specification of the codec they want to create. Before writing any code:
spec.md first. ALWAYS generate the decoder wire format specification (spec.md) before any other file. Follow the conventions of existing specs in src/openzl/codecs/ (inputs, codec header, decoding algorithm, outputs).spec.md. The spec is the contract — all code flows from it.The decoder processes untrusted data from compressed frames. All assumptions MUST be validated, especially:
Never trust values from the compressed stream without verification. A malicious frame must not cause crashes, out-of-bounds access, or undefined behavior.
The encoder is processing data that the user provides. Unless explicitly stated otherwise all assumptions MUST be validated. Typcially, this is less of an issue on the encoder side, but any assumptions the encoder makes about the input data (e.g. it doesn't contain the value 0) must be validated, otherwise the data could be corrupted.
src/openzl/shared/, rather than re-implementing them.
openzl/shared/mem.h, openzl/shared/bits.h, and openzl/shared/utils.h.When adding a new codec, or making a breaking change to a codec that requires bumping the format version, we need to make sure the development branch bumps the format version. If not adding a codec or making a format breaking change to a codec, then you can skip this section.
Determine the production max format version from the ZL_MAX_FORMAT_VERSION macro in fbcode/openzl/prod/include/openzl/zl_version.h, call it $prod_max_format_version.
Determine the development max format version from the ZL_MAX_FORMAT_VERSION macro in fbcode/openzl/dev/include/openzl/zl_version.h, call it $dev_max_format_version.
If $dev_max_format_version == $prod_max_format_version, then the development ZL_MAX_FORMAT_VERSION in fbcode/openzl/dev/include/openzl/zl_version.h must be bumped.
This needs to be done before hooking up the encoder and decoder registry so that the new max format version is used during registration.
Codecs MUST preserve forward and backward compatibility with all supported format versions from ZL_MIN_FORMAT_VERSION to ZL_MAX_FORMAT_VERSION.
Codecs MAY change their format, with very careful consideration, but they MUST do it in way that preserves compatibility:
ZL_MAX_FORMAT_VERSION must be bumped in the dev branch (see above)spec.md file MUST be updated to reflect the variation based on the format versionZL_Encoder_getCParam(eictx, ZL_CParam_formatVersion) and only emit the new format for the latest format versionDI_getFrameFormatVersion(dictx) and correctly interpret the encoded data based on the format version…
Create and maintain design docs for the OpenZL component registry.
Create benchmark scenarios for new openzl codec nodes in unitBench.
Write and run Markdown-driven end-to-end tests for Relay apps.
Get idiomatic Relay guidance for React code, debugging, and code reviews.
Read, write, and debug Pysa JSON taint models and .models output.
Apply the right commit prefix, reviewer, and test plan for code changes.
Create, validate, and render deterministic .zen design docs to PNG or PDF.
Evaluate code review feedback rigorously before deciding whether to implement it.
Turn coding requests into verifiable plan-act-verify loops with durable repo evidence.