Files
Sina Atalay 021c9fbde3 Add RenderCV skill with eval framework and auto-generated docs/llms.txt
- Add SKILL.md for AI agents: YAML schema reference, entry type field
  tables, design samples per theme, CLI reference, and important patterns
  (YAML quoting, phone validation, bullet characters)
- Add Jinja2 template and generate.py that auto-generates SKILL.md and
  docs/llms.txt from live Pydantic models and sample generators
- Add promptfoo eval suite (15 tests across 4 files): cv_generation,
  pdf_parsing, design, and cli_workflow
- Add deterministic grader that validates LLM output through RenderCV's
  own pydantic pipeline (not jsonschema)
2026-03-20 20:15:09 +03:00

24 lines
960 B
YAML

- description: "Change theme to moderncv"
vars:
query: "Create a simple RenderCV YAML for John Doe with just a name and one skill. Use the moderncv theme."
assert:
- type: python
value: file://graders/rendercv_validation.py
- type: contains
value: "moderncv"
- description: "Custom colors and margins"
vars:
query: "Create a RenderCV YAML for John Doe with just a name and one skill. Use dark red (#8B0000) for the name and section titles, 1-inch margins on all sides, and A4 paper. Keep the classic theme."
assert:
- type: python
value: file://graders/rendercv_validation.py
- type: llm-rubric
value: |
The output includes a design section with:
- design.colors.name set to a red color (like #8B0000 or rgb equivalent)
- design.colors.section_titles set to the same red color
- Margins set to 1in
- design.page.size set to 'a4'
- theme remains 'classic'