How thyaen/flexi-cv works
cv-tailor turns a master YAML CV and job posting into a tailored, validated application CV and PDF. The main workflow is an AI-assisted tailoring session through the MCP server, followed by schema and fabrication checks, application-file storage, template rendering, and PDF compilation. The graph also shows preference editing, job-posting retrieval, and application listing. Source excerpts establish the Python call paths; some prompt and template behavior is documented by the README or evident from the tree, so unsampled details are omitted.
Main entry points: server.py MCP tools · build.py Application builder · render.py LaTeX renderer · cv.yaml Master CV
Components 16
Tailoring session
- MCP tools
mcp-server/server.py - Tailoring guidance
prompts/tailoring.md - System guidance
prompts/system.md
CV data and checks
- Master CV
master/cv.yaml - Preferences
master/preferences.yaml - CV schema and checks
src/schema.py - Saved applications
PDF generation
- Application builder
src/build.py - LaTeX renderer
src/render.py - LaTeX templates
template/jinja - Awesome CV class
- Application PDF
Other components
- User
- AI assistant
- Job posting site
- XeLaTeX
Connections 28
- User → AI assistant: requests tailoring
README.md - AI assistant → MCP tools: uses tools
README.md - MCP tools → Tailoring guidance: loads prompt steps
mcp-server/server.py - MCP tools → System guidance: loads system prompt
mcp-server/server.py - AI assistant → MCP tools: reads master
mcp-server/server.py - MCP tools → Master CV: reads
mcp-server/server.py - AI assistant → MCP tools: reads and saves preferences
mcp-server/server.py - MCP tools → Preferences: reads and writes
mcp-server/server.py - User → MCP tools: provides job URL
README.md - MCP tools → Job posting site: fetches posting
mcp-server/server.py - AI assistant → MCP tools: submits tailored CV
README.md - MCP tools → CV schema and checks: parses and checks
mcp-server/server.py - MCP tools → Master CV: checks facts against
mcp-server/server.py - MCP tools → Saved applications: saves application files
mcp-server/server.py - AI assistant → MCP tools: requests PDF build
README.md - MCP tools → Application builder: calls build
mcp-server/server.py - Application builder → Saved applications: loads CV and writes PDF
src/build.py - Application builder → CV schema and checks: loads and validates data
src/build.py - Application builder → Master CV: checks facts against
src/build.py - Application builder → Preferences: loads settings
src/build.py - Application builder → LaTeX renderer: renders CV
src/build.py - LaTeX renderer → CV schema and checks: uses CV model
src/render.py - LaTeX renderer → LaTeX templates: renders templates
src/render.py - Application builder → Awesome CV class: stages template files
src/build.py - Application builder → XeLaTeX: compiles LaTeX
src/build.py - Application builder → Application PDF: copies compiled PDF
src/build.py - User → MCP tools: lists applications
mcp-server/server.py - MCP tools → Saved applications: lists folders
mcp-server/server.py