Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

code-annotations

FreeNo executable scriptsNot checked

Code annotation requirements for pikru. Use when writing or porting Rust functions from C code. All ported functions must have cref comments.

bearcoveby bearcove★ 29 GitHub stars13 installs in other catalogs

About this skill

Code Annotations

All Rust functions ported from C must be annotated with a cref comment:

// cref: c_function_name
fn rust_function() { ... }

Purpose

The // cref: comments create a traceable link between the Rust implementation and the original C function it was ported from. This helps:

  • Future maintainers understand the origin of the code
  • Cross-reference behavior between C and Rust implementations
  • Debug discrepancies between the two implementations

Install code-annotations in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the code-annotations skill do?

Code annotation requirements for pikru. Use when writing or porting Rust functions from C code. All ported functions must have cref comments.

How do I install the code-annotations skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the code-annotations skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare code-annotations with