Skip to content

Conversation

@jamestexas
Copy link
Owner

fixes all of the complaints about yaml.
adds a workflow so it never happens again / adds a pre-commit config for the same thing locally.

YAML parser was failing on unescaped colons in description fields
(e.g. 'user:' and 'assistant:' in XML examples). Wrapped all
description values in quotes and escaped internal quotes.

Fixes: mapping values are not allowed in this context error
Add validation infrastructure to catch YAML syntax errors before commit:
- .pre-commit-config.yaml: pre-commit framework configuration
- scripts/validate-agents.sh: validation script (Ruby/Python/basic)
- README update: document development setup

Prevents errors like unquoted colons in description fields.

Setup: pip install pre-commit && pre-commit install
Validate agent YAML frontmatter on PRs and main branch pushes.
Catches syntax errors even if contributors don't have pre-commit installed.

Runs on: ubuntu-latest with Ruby (built-in)
@jamestexas jamestexas merged commit 5e59306 into main Oct 3, 2025
1 check passed
@jamestexas jamestexas deleted the fix-yaml-markdown branch October 3, 2025 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants