agentleFS
GoogleKnown publishergoogle/zerocopy/skills/zerocopy-development/SKILL.md

zerocopy-development

Skill2.6k starsChanged 2 months agoApache-2.0View on GitHub

Develop, modify, build, test, or validate code in google/zerocopy's zerocopy crate and its derive crate. Use for implementation work, compiler-version gating, generated macro code, UI or compile-fail tests, test placement, linting, feature-gate validation, and pre-submission checks.

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 4 mentionsJul 2026: 3 mentionsAug 2026: 3 mentionsSep 2026: 3 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the google/zerocopy repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about google/zerocopy

The biggest 5 of 26 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 26

Talked about on GitHub, Bluesky and Hacker News (26 times).

On GitHub · 23

18 more on GitHub

On Bluesky · 2

On Hacker News · 1

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use ./cargo.sh, never direct cargo.

    line 21
  2. Very specific:

    If the change authors or modifies unsafe Rust, an unsafe API or trait, raw pointer or FFI code, safety documentation, a soundness argument, …

    line 26
  3. Very specific:

    Do not substitute a separate zerocopy-specific unsafe methodology.

    line 30
  4. Distinctive:

    Add or update tests at the level that owns the behavior.

    line 31
  5. Very specific:

    Put shared macro logic in src/util/macro_util.rs when doing so avoids repeating generated code.

    line 40
  6. Distinctive:

    Use GitHub issue syntax when a commit resolves or advances an issue:

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Zerocopy Development

Apply the repository-scoped instructions for the zerocopy/ subtree in addition to this skill. Commands in this skill assume the working directory is zerocopy/ unless stated otherwise.

Workflow

  1. Inspect the affected implementation, tests, configuration, and nearby abstractions before changing behavior. Reuse existing utilities and patterns where they fit.
  2. Use ./cargo.sh, never direct cargo. Read Toolchains and Version Gating when choosing toolchains or changing compiler-version-dependent behavior.
  3. Make the narrowest change that satisfies the task. Keep generated and handwritten behavior consistent.
  4. If the change authors or modifies unsafe Rust, an unsafe API or trait, raw pointer or FFI code, safety documentation, a soundness argument, or an invariant-bearing abstraction, also use the sibling unsafe-rust skill. Do not substitute a separate zerocopy-specific unsafe methodology.
  5. Add or update tests at the level that owns the behavior. For UI, compile-fail, or compiler-output changes, read UI and Output Tests before editing fixtures.
  6. Before submitting, follow Validation, including the applicable toolchain, feature, and pre-push checks.

Macro Development

Put shared macro logic in src/util/macro_util.rs when doing so avoids repeating generated code. Generated code often triggers lints because names and shapes come from user input; use targeted #[allow(...)] attributes where needed to prevent generated code from producing spurious lint failures.

Commit Messages

Use GitHub issue syntax when a commit resolves or advances an issue:

  • Closes #123 when the commit resolves the issue.
  • Makes progress on #123 when the commit advances but does not resolve it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.