add-primitive

Automates primitive definition updates across primitives.ts, fileTree.ts, and comparison.ts.

7|3|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/agentconfig/agentconfig.org --skill add-primitive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-primitive
Source: https://github.com/agentconfig/agentconfig.org/tree/main/.github/skills/add-primitive
Command: npx skills add https://github.com/agentconfig/agentconfig.org --skill add-primitive

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add or modify AI primitive definitions in the data layer with correct typing and complete metadata. Use when adding new primitives, updating descriptions, or extending primitive categories.

Core Features & Use Cases

  • Ensure primitives.ts, fileTree.ts, and comparison.ts stay synchronized.
  • Validate typing, metadata completeness, and unique IDs across definitions.
  • Update provider implementations and categorization consistently as primitives evolve.

Quick Start

Edit site/src/data/primitives.ts and related data files to add or update a primitive.

Frequently Asked Questions about add-primitive

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

FAQPage Schema
How do I add new AI primitives with correct typing and complete metadata?

To add AI primitives, you edit site/src/data/primitives.ts and related data files to update definitions with correct typing and complete metadata. This synchronizes your primitive additions across the necessary data files.

Why do my primitive definitions get out of sync across different data files?

Primitive definitions get out of sync when updates are not applied uniformly. Aligning entries across primitives.ts, fileTree.ts, and comparison.ts ensures your file-tree entries and comparison matrix stay consistent.

What is the best way to update an existing primitive description without breaking the comparison matrix?

To update a primitive description safely, modify the definition in primitives.ts and ensure the corresponding comparison matrix in comparison.ts stays synchronized to prevent data inconsistencies.

Can I validate unique IDs and metadata completeness when extending primitive categories?

Yes, you can validate typing, metadata completeness, and unique IDs when extending primitive categories to ensure provider implementations and categorization remain consistent as primitives evolve.

Do I need to manually update the file tree when adding a new primitive?

Yes, when adding a new primitive, you must update the file-tree entries in fileTree.ts to ensure the file tree reflects the new additions and stays aligned with your primitive definitions.

When should I not use an automated approach for updating primitive definitions?

Avoid automated updates if your changes do not require synchronization across primitives.ts, fileTree.ts, and comparison.ts, or if your primitive definitions do not require strict typing and metadata validation.