Claude Code Plugins

Community-maintained marketplace

Feedback

code-annotations

@bearcove/pikru
1
0

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

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

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

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