Skip to content
Skillv1.0.0

rust

Apply the root [AGENT.md](../AGENT.md) first.

by laststate(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from laststate/latch (rust/AGENTS.md). Install upstream with npx skills add laststate/latch --skill rust. Copyright stays with the author.

Rust binding guidance

Apply the root AGENT.md first.

  • rust/latch is #![no_std] and binds to the C runtime. Avoid allocation and platform assumptions unless a feature explicitly supports them.
  • Preserve C/Rust FFI type layout, integer widths, ownership, and lifetime contracts. Change C and Rust bindings together where necessary.
  • Run format, Clippy with warnings denied, and tests for Rust changes. Keep the crate's public documentation aligned with the C API.
  • Do not expose cryptographic keys, raw captured memory, or unsafe behavior as a convenience wrapper without an explicit design and security review.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/laststate-latch-rust/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

laststate-latch-rust.ocm.jsonjson
{
  "ocm": "1",
  "id": "laststate-latch-rust",
  "kind": "skill",
  "name": "rust",
  "description": "Apply the root [AGENT.md](../AGENT.md) first.",
  "publisher": "laststate",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Apply the root [AGENT.md](../AGENT.md) first."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/laststate/latch",
      "path": "rust/AGENTS.md",
      "ref": "a07d150b354aa0ff27d5a414a6666e3e589ce7da",
      "url": "https://github.com/laststate/latch/blob/a07d150b354aa0ff27d5a414a6666e3e589ce7da/rust/AGENTS.md",
      "key": "laststate/latch/rust/AGENTS.md"
    }
  },
  "instructions": "# Rust binding guidance\n\nApply the root [AGENT.md](../AGENT.md) first.\n\n- `rust/latch` is `#![no_std]` and binds to the C runtime. Avoid allocation and\n  platform assumptions unless a feature explicitly supports them.\n- Preserve C/Rust FFI type layout, integer widths, ownership, and lifetime\n  contracts. Change C and Rust bindings together where necessary.\n- Run format, Clippy with warnings denied, and tests for Rust changes. Keep the\n  crate's public documentation aligned with the C API.\n- Do not expose cryptographic keys, raw captured memory, or unsafe behavior as\n  a convenience wrapper wit",
  "cost": {
    "context_tokens": 161
  }
}

Fetch it by URL: GET /api/v1/registry/laststate-latch-rust/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.