agentskills.codes
CO

config-contracts

TOML config structure and validation rules. Use when creating or modifying config files (global_rubric.toml, role_archetypes.toml, settings.toml), updating config validation, or loading config in the indexer.

Install

mkdir -p .claude/skills/config-contracts && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15951" && unzip -o skill.zip -d .claude/skills/config-contracts && rm skill.zip

Installs to .claude/skills/config-contracts

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

TOML config structure and validation rules. Use when creating or modifying config files (global_rubric.toml, role_archetypes.toml, settings.toml), updating config validation, or loading config in the indexer.
208 chars✓ has a “when” trigger

About this skill

Config Contracts — TOML Structure & Validation Rules

When This Skill Applies

When creating or modifying config files (global_rubric.toml, role_archetypes.toml, settings.toml), updating config validation in config.py, or loading config in the indexer.


Config File Overview

Three TOML config files with full structure examples in toml-schemas.md:

  • config/global_rubric.toml — 8 dimensions (altitude, humane_culture, etc.) with description, signals_positive, signals_negative
  • config/role_archetypes.toml[[archetypes]] array with name, description, signals_positive, signals_negative
  • config/settings.toml[scoring] section with weights, base_salary, thresholds

Validation Rules

global_rubric.toml

CheckError
File missingActionableError naming path + "create the file with at least one dimension"
Malformed TOMLActionableError with syntax error details + file path

role_archetypes.toml

CheckError
File missingActionableError naming path + recovery steps
Malformed TOMLActionableError with syntax error + file path
Empty archetypes listActionableError advising to add entries before search
Archetype without signals_positiveGraceful — embed description only
Archetype without signals_negativeGraceful — no negative document for this archetype

settings.tomlnegative_weight

CheckError
MissingDefault to 0.4
Out of range (< 0.0 or > 1.0)ActionableError naming field + valid range

settings.tomlculture_weight

CheckError
MissingDefault to 0.2
Out of range (< 0.0 or > 1.0)ActionableError naming field + valid range

settings.tomlglobal_rubric_path

CheckError
Missing from settingsDefault to "config/global_rubric.toml"
Path does not existActionableError naming path + creation guidance

Search skills

Search the agent skills registry