ax-cpp-signature

Write C++ code for axllm signatures and JSON schema generation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write correct C++ code against the generated axllm package without mixing in TypeScript-only APIs, reducing syntax mistakes and schema mismatches.

Core Features & Use Cases

  • Define typed input and output contracts using native C++ signature APIs.
  • Generate JSON-schema-compatible shapes for outputs, tools, prompts, and validation.
  • Work with package docs, examples, and manifests to keep code aligned with generated-language capabilities.
  • Use it when building C++ agents, tool interfaces, or structured generation flows that need consistent runtime contracts.

Quick Start

Use the ax-cpp-signature skill to write a C++ axllm signature and derive the output JSON schema for a typed question-and-answer contract.

Frequently Asked Questions about ax-cpp-signature

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

FAQPage Schema
How do I generate JSON schemas for C++ axllm signatures?

You generate JSON schemas for C++ axllm signatures by writing typed input and output contracts using native C++ signature APIs. This Skill derives JSON-schema-compatible shapes for validation and typed tool argument interfaces.

What is the best way to define typed tool arguments in C++ axllm workflows?

Defining typed tool arguments in C++ axllm workflows involves using native C++ field descriptors to create schema-backed interfaces. This ensures consistent runtime contracts for agent inputs and outputs without mixing in TypeScript-only APIs.

How does C++ JSON schema validation work with generated axllm packages?

C++ JSON schema validation with generated axllm packages works by applying native C++ field descriptors to structured generation contracts. This Skill aligns your code with package docs and capability manifests to prevent schema mismatches.

Why does my C++ axllm signature code fail schema validation?

Your C++ axllm signature code fails schema validation when TypeScript-only APIs are mixed into the generated package workflows. Use this Skill to write native C++ field descriptors, ensuring schema compatibility and reducing syntax mistakes.

Do I need native axllm APIs to build C++ agent input and output contracts?

Yes, you need native axllm APIs to build C++ agent input and output contracts. This Skill requires package examples and capability manifests to preserve generated-language compatibility and avoid TypeScript-only helper mismatches.