ax-signature

Generate typed DSPy signatures for APIs, functions, and data pipelines.

1|1|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/jadecli/researchers --skill ax-signature
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ax-signature
Source: https://github.com/jadecli/researchers/tree/main/agentcrawls-ts/.claude/skills/ax-signature
Command: npx skills add https://github.com/jadecli/researchers --skill ax-signature

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of correct DSPy signatures using the ax library, reducing errors in typed API definitions.

Core Features & Use Cases

  • Fluent, non-nested API for building DSPy signatures that specify inputs, outputs, and constraints.
  • Supports a wide range of field types (string, number, boolean, json, date, dateTime, url, code, class) with optional and array modifiers, including internal outputs.
  • Use Cases: quickly draft and validate interface signatures for functions, APIs, or data pipelines in DSPy-enabled workflows.

Quick Start

Generate a simple signature snippet that maps an input to an output to verify syntax and formatting.

Frequently Asked Questions about ax-signature

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

FAQPage Schema
How do I create type-safe DSPy signatures for API definitions?

You can create type-safe DSPy signatures by using a fluent, non-nested API to specify inputs, outputs, and constraints. This approach automates signature generation, enforcing typed inputs and outputs to reduce errors in API definitions and data pipelines.

What field types are supported when building DSPy signatures with ax?

Building DSPy signatures supports diverse field types including string, number, boolean, json, date, dateTime, url, code, and class. These types can be modified with optional and array modifiers, and you can also define internal outputs for your workflows.

Does DSPy signature generation work for data pipelines and functions?

Yes, DSPy signature generation works for data pipelines, APIs, and functions. It enables consistent, type-safe interface signatures by enforcing fluent API usage and validating syntax, ensuring your typed definitions are correctly formatted for DSPy-enabled workflows.

What is the best way to validate DSPy signature syntax and formatting?

The best way to validate DSPy signature syntax is to use an automated builder that enforces fluent API usage. By mapping a simple input to an output, you can quickly draft and validate interface signatures to verify syntax and formatting correctness.

Why does my DSPy signature fail on nested API definitions?

DSPy signatures fail on nested API definitions because the builder enforces a fluent, non-nested API structure. You must specify inputs, outputs, and constraints linearly rather than nesting them, ensuring the generated signature string remains valid for DSPy tooling.

Can I generate DSPy signatures with internal outputs and array modifiers?

Yes, you can generate DSPy signatures with internal outputs and array modifiers. The signature builder supports adding optional and array modifiers to various field types, allowing you to define complex, typed outputs within your generated signature string.