golemcloud/golem/golem-annotate-agent-rust

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Adding prompt and description annotations to Rust agent methods. Use when the user asks to add descriptions, prompts, or documentation metadata to agent methods for AI/LLM discovery.

Install

npx vskill@latest install golemcloud/golem/golem-annotate-agent-rust

SKILL.md

The same SKILL.md was published earlier as adrielc/helios-alpha/golem-annotate-agent-rust.

Annotating Agent Methods (Rust)

Overview

Golem agents can annotate methods with #[prompt] and #[description] attributes. These provide metadata for AI/LLM tool discovery — agents with annotated methods can be used as tools by LLM-based systems.

Annotations

  • `#[prompt("...")]` — A short instruction telling an LLM when to call this method
  • `#[description("...")]` — A longer explanation of what the method does, its parameters, and return value

Usage

rust
use golem_rust::{agent_definition, agent_implementation, prompt, description};
#[agent_definition]
pub trait InventoryAgent {
fn new(warehouse_id: String) -> Self;
#[prompt("Look up the current stock level for a product")]
#[description("Returns the number of units in stock for the given product SKU. Returns 0 if the product is not found.")]
fn check_stock(&self, sku: String) -> u32;
#[prompt("Add units of a product to inventory")]
#[description("Increases the stock count for the given SKU by the specified amount. Returns the new total.")]
fn restock(&mut self, sku: String, quantity: u32) -> u32;
#[prompt("Remove units of a product from inventory")]
#[description("Decreases the stock count for the given SKU. Returns err if insufficient stock.")]
fn pick(&mut self, sku: String, quantity: u32) -> Result<u32, String>;
}

Guidelines

  • #[prompt] should be a natural-language instruction an LLM can match against a user request
  • #[description] should document behavior, edge cases, and expected inputs/outputs
  • Both annotations are optional — omit them for internal methods not intended for LLM discovery
  • Annotations have no effect on runtime behavior; they are purely metadata

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1,516
Repository forks
210
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/golemcloud/golem/golem-annotate-agent-rust/badge)](https://verified-skill.com/skills/golemcloud/golem/golem-annotate-agent-rust)

Something wrong with this skill or its page? Tell us.