ax-rust-signature

Generate Rust Ax signature code and JSON schema for typed contracts.

2.9k|186|Updated Feb 23, 2023
One-click install
npx skills add https://github.com/ax-llm/ax --skill ax-rust-signature
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ax-rust-signature
Source: https://github.com/ax-llm/ax/tree/main/website/static/rust/.well-known/agent-skills/ax-rust-signature
Command: npx skills add https://github.com/ax-llm/ax --skill ax-rust-signature

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write Rust code against the generated axllm package without mixing in TypeScript-only APIs or guessing the correct signature shape.

Core Features & Use Cases

  • Define input and output contracts with native Ax signature helpers.
  • Generate JSON-schema-compatible output shapes for prompts, tools, and validation.
  • Build typed tool argument shapes and keep Rust code aligned with package examples and generated package docs.
  • Use it for question answering, structured extraction, and tool-calling workflows in Rust.

Quick Start

Use this skill to draft a Rust axllm signature for a question and answer workflow and return the matching JSON schema.

Frequently Asked Questions about ax-rust-signature

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Rust signatures for typed input and output contracts?

This Skill generates Rust Ax signature code and JSON schema for typed input and output contracts. It applies native generated-package APIs and AxIR-aligned schema generation to produce reliable Rust code for string signatures and field descriptors.

How do I create JSON schema compatible output shapes for Rust prompt validation?

Create JSON-schema-compatible output shapes for Rust prompt validation by defining field descriptors with native Ax signature helpers. This Skill generates matching schema to validate prompt outputs and typed tool argument shapes in axllm workflows.

Does the axllm package support typed tool argument shapes in Rust?

Yes, the axllm package supports typed tool argument shapes in Rust through native generated-package APIs. This Skill builds these argument shapes and keeps Rust code aligned with package examples and generated package documentation.

What is the best way to build structured extraction workflows in Rust without TypeScript APIs?

Build structured extraction workflows in Rust without TypeScript APIs by using AxIR-aligned schema generation. This Skill generates native Rust Ax signature code and matching JSON schema, avoiding TypeScript-only APIs and guessing correct signature shapes.

Why does my Rust axllm signature code fail validation against the generated package docs?

Rust axllm signature code fails validation when guessing signature shapes or mixing in TypeScript-only APIs instead of native generated-package APIs. This Skill provides AxIR-aligned schema generation and package examples to ensure reliable Rust code alignment.