This skill should be used when the user asks to "analyze my CV", "extract CV profile", "review my resume", "parse my CV", or runs /ra:cv-analyze. It reads a CV/resume and produces a structured capability profile stored in .local.md for other skills to reference.
To locate the CV file, check in this order:
${CLAUDE_PLUGIN_ROOT}/.local.md and check cv_file_path in frontmatter*CV*, *cv*, *resume*, *Resume* (use Glob)After locating the CV file, extract content using the appropriate method based on file type:
For PDF files, use a three-level fallback:
python3 -c "import PyPDF2; reader = PyPDF2.PdfReader(open('FILE_PATH','rb')); print('\n'.join([p.extract_text() or '' for p in reader.pages]))"
If PyPDF2 is not installed, skip to next fallback.textutil -convert txt -stdout "FILE_PATH"
For DOCX files:
textutil -convert txt -stdout "FILE_PATH"After extracting the CV content: 2. Extract and categorize:
Write the structured profile to ${CLAUDE_PLUGIN_ROOT}/.local.md:
cv_profile_analyzed: true in frontmattercv_file_path in frontmatter if not already set## CV Profile markdown section with all extracted informationAfter writing, present a summary to the user highlighting: