generate-primitives

Audit and generate protocol primitives from Pydantic models.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/eugene-belkovich/ai-setup --skill generate-primitives
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-primitives
Source: https://github.com/eugene-belkovich/ai-setup/tree/main/claude/profiles/work/skills/evals/generate-primitives
Command: npx skills add https://github.com/eugene-belkovich/ai-setup --skill generate-primitives

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This capability automates syncing primitives sections in protocol skill files with the authoritative Pydantic typed params models, preventing drift between definitions and docs.

Core Features & Use Cases

  • Audit mode automatically scans typed_params and existing skill files to identify mismatches between protocol parameter definitions and their primitives sections.
  • Generate mode updates the primitives sections for a given protocol, or scans all protocols to refresh all primitives from the current typed params.
  • Use cases include maintaining accurate primitives for new protocols, auditing changes after model edits, and preparing PRs that touch primitives or protocol skills.

Quick Start

Run /generate-primitives to audit all protocols, or /generate-primitives <protocol> to update primitives for a single protocol.

Frequently Asked Questions about generate-primitives

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

FAQPage Schema
How do I automate syncing Pydantic models with protocol skill markdown docs?

Automate syncing protocol skill markdown docs by running /generate-primitives, which updates primitives sections from authoritative Pydantic typed params models to prevent documentation drift.

What is the best way to detect drift between typed params definitions and protocol documentation?

Detect drift between typed params and protocol documentation by running the audit mode, which scans Pydantic models and existing skill files to identify mismatches in parameter definitions.

How do I update primitives sections for a single protocol after editing Pydantic models?

Update primitives for a single protocol by running /generate-primitives <protocol>, which refreshes the specific protocol's primitives section from the current Pydantic typed params definitions.

Can I scan all protocols to refresh primitives sections automatically?

Yes, you can scan all protocols automatically by running /generate-primitives without arguments, which refreshes all primitives sections across multiple protocols from current typed params.

Do I need any external dependencies to audit and generate protocol primitives?

No external dependencies are required to audit and generate protocol primitives, as the capability operates directly on typed_params and protocol skill files for drift detection and automated updates.

When should I run a protocol primitives audit before preparing a pull request?

Run a protocol primitives audit before preparing a pull request when changes touch primitives or protocol skills, ensuring Pydantic model edits are accurately reflected in documentation.