mirror of
https://github.com/rendercv/rendercv.git
synced 2026-04-18 14:04:08 -04:00
- 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)
24 lines
960 B
YAML
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'
|