用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/AJBcoding/claude-skill-eval --skill format-resume命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Enterprise database architecture specialist with PostgreSQL 17, MySQL 8.4 LTS, MongoDB 8.0, Redis 7.4 expertise. Master connection pooling, query optimization, caching strategies, and database DevOps automation. Build scalable, resilient database systems with comprehensive monitoring and disaster recovery.
Enterprise Frontend Development with AI-powered modern architecture, Context7 integration, and intelligent component orchestration for scalable user interfaces
Enterprise-grade security expertise with production-ready patterns for OWASP Top 10 2021, zero-trust architecture, threat modeling (STRIDE, PASTA), secure SDLC, DevSecOps automation, cloud security, cryptography, identity & access management, and compliance frameworks (SOC 2, ISO 27001, GDPR, CCPA).
基于 SOC 职业分类
正在显示 SKILL.md
| name | format-resume |
| description | Intelligently format CV/resume content using semantic understanding and visual verification |
Format CV/resume content with intelligent style application based on semantic context. Uses a clean template with 19 semantic styles and learns from your corrections over time.
Format new content:
Format this CV: [paste content]
Format from file:
Format my-cv-draft.txt as a resume
Key Principle: Intelligence lives in the skill (Claude analyzes text). Python code is just helpers.
Semantic Analysis: I (Claude) analyze your raw text to understand what each element represents
Create JSON Structure: Convert raw text to structured format with style assignments
User Confirmation: Show you my analysis, get confirmation or corrections
Apply Learned Patterns: Python helpers apply previously learned preferences
Generate Document: Create formatted .docx using template with page headers
Visual Preview: Show PDF preview images for review
Learn from Corrections: If you correct a style choice, I save it to learned-preferences.yaml
Paragraph Styles:
Character Styles (inline):
Note: Shares template with format-cover-letter skill (career-documents-template.docx)
Step 1: You Provide Raw Text
User: "Format this CV: [pastes raw text]"
Step 2: I (Claude) Analyze and Create JSON
I analyze your content using semantic understanding (not regex):
I see:
- Name: "ANTHONY BYRNES" → CV Name style
- Contact: "T: 213.305.3132" → Contact Info style
- Section: "EDUCATION" → Section Header (orange, 11pt)
- Timeline: "2020-2024 California State University, Long Beach" → Timeline Entry
- inline: "California State University, Long Beach" → Institution (bold)
- Position: "Interim Associate Dean, College of the Arts" → Body Text
- inline: "Interim Associate Dean" → Job Title (bold italic)
- Bullet: "Led $29M budget..." → Bullet Standard
Here's my JSON interpretation:
{
"document_metadata": {
"type": "cv",
"author_name": "ANTHONY BYRNES",
"document_title": "Curriculum Vitae",
"page_header": {
"enabled": true,
"left": "ANTHONY BYRNES - Curriculum Vitae",
"right": "page"
}
},
"content": [
{"text": "ANTHONY BYRNES", "style": "CV Name"},
{"text": "T: 213.305.3132", "style": "Contact Info"},
...
]
}
Looks correct? (yes/show json/corrections)
Step 3: You Confirm or Correct
Step 4: Apply Learned Patterns
Python helpers load learned-preferences.yaml and apply any previously learned style rules:
from cv_formatting.learning_system import LearningSystem
learning = LearningSystem()
content = learning.apply_learned_patterns(content)
This is simple pattern matching - the intelligence came from your previous corrections.
Step 5: Generate Document
I save the JSON and call Python helpers to create formatted .docx:
import json
import subprocess
from pathlib import Path
# Save JSON structure
mapping_file = "/tmp/cv_mapping.json"
with open(mapping_file, 'w') as f:
json.dump(content_mapping, f, indent=2)
# Format document (Python helper just applies styles from JSON)
result = subprocess.run([
"python3",
"format_cv.py",
mapping_file,
output_path,
"--document-type", "cv",
"--preview"
], capture_output=True, text=True, cwd=str(Path.home() / "PycharmProjects/career-lexicon-builder"))
Step 6: Visual Preview
I convert to PDF and show you page images.
You can request changes: "That committee role should be gray text"
Step 7: Learn (if corrections made)
If you make corrections, I save them to learned-preferences.yaml:
learning.learn_correction(
text="Graduate Studies Advisory Committee",
context="service section",
preferred_style="Gray Text"
)
Next time I analyze a CV, I'll automatically suggest Gray Text for committee roles.
Step 8: Finalize
Once you're happy with the preview, I save the final document (e.g., "anthony-byrnes-cv.docx").
Why LLM analysis (me, Claude) is better:
Python helpers only:
Example: Bold Italic Context Discrimination
I distinguish based on semantic context, not just formatting:
Traditional regex can't do this because both are bold italic. I understand the context.
Three-layer learning stored in learned-preferences.yaml:
Layer 1: Style Corrections
style_rules:
- pattern: "committee"
context: "service section"
preferred_style: "Gray Text"
learned_date: "2025-11-11"
example: "Graduate Studies Advisory Committee"
Layer 2: Metadata Patterns
metadata_defaults:
document_title: "Curriculum Vitae" # not "Resume"
page_header_enabled: true
date_format: "MMMM YYYY"
Layer 3: Section Patterns
section_patterns:
EDUCATION:
order: ["Timeline Entry", "Body Text", "Bullet Standard"]
inline_institution: true
Corrections are automatically saved. No "save preferences" button needed.
You: "That should be gray text, it's a committee role"
Me: "✓ Updated formatting rules: committee roles → Gray Text"
Next CV: Automatically applies gray to committee roles without asking.
If template missing:
If LibreOffice/Poppler unavailable:
If style mapping unclear:
career-documents-template.docx - Shared template with 19 semantic stylesformat_cv.py - Main formatting scriptstyle-mappings.yaml - Base semantic inference ruleslearned-preferences.yaml - Your accumulated correctionsCVs spanning multiple pages automatically get professional headers on page 2+:
Python helpers load from defaults.yaml and generate page header config:
from cv_formatting.metadata_inference import MetadataHelper
helper = MetadataHelper()
metadata = helper.infer_cv_metadata(content)
# Returns:
{
"type": "cv",
"author_name": "ANTHONY BYRNES",
"document_title": "Curriculum Vitae",
"last_updated": "November 2025",
"version": "Academic",
"page_header": {
"enabled": true,
"left": "ANTHONY BYRNES - Curriculum Vitae",
"right": "page"
}
}
Detects:
defaults.yaml - Your contact info and preferences:
contact:
name: "ANTHONY BYRNES"
phone: "213.305.3132"
email: "anthonybyrnes@mac.com"
cv_defaults:
document_title: "Curriculum Vitae"
page_header:
enabled: true
format: "{name} - {title}"
preferences:
version: "Academic"
learned-preferences.yaml - Three-layer learning system:
style_rules: [] # Layer 1: Style corrections
metadata_defaults: {} # Layer 2: Metadata patterns
section_patterns: {} # Layer 3: Section structures
After successfully formatting the resume and creating the output files, export structured metadata.
Write to: resume-formatted-v1.json (increment version if exists)
Implementation:
resume-formatted-v1.json already exists in output directoryresume-formatted-v2.json, resume-formatted-v3.json, etc.Structure:
{
"metadata": {
"created_at": "YYYY-MM-DDTHH:MM:SSZ",
"version": 1,
"skill": "format-resume",
"input_file": "resume-content.md",
"output_file": "resume-formatted.pdf"
},
"formatting_metadata": {
"template": "career-documents-template.docx",
"document_type": "cv",
"font": "Helvetica",
"font_size": 11,
"margins": {
"top": 0.5,
"bottom": 0.5,
"left":
Present to user:
Formatting complete! Saved to:
- anthony-byrnes-cv.docx (formatted document)
- anthony-byrnes-cv.pdf (preview)
- resume-formatted-v1.json (formatting metadata)
Formatting summary:
- Pages: 2
- Sections: 7
- Styles used: 12 (7 paragraph, 5 character)
- Validation: 14/15 checks passed (1 warning)
- ATS compatibility: 92%
Would you like to:
1. Review the PDF preview
2. Make style corrections
3. Export a different format
docs/plans/2025-11-09-cv-style-extraction-and-formatting-design.mddocs/plans/2025-11-11-cv-formatting-enhancements-design.mdpython generate_cv_template.pypython validate_template.py