이력서 텍스트를 구조화된 resume.json으로 변환하는 스킬
input/resume.txt를 읽어 구조화된 output/resume.json으로 변환한다.
이력서가 바뀔 때만 단독 실행한다.
resume-to-json이력서 분석해줘resume json으로 변환해줘input/resume.txt 파일이 존재해야 한다input/resume.txt를 읽고 아래 스키마에 맞는 JSON을 생성해
output/resume.json으로 저장한다.
규칙:
스키마:
{
"name": "",
"summary": "",
"desiredPosition": "",
"careerYears": 0,
"techStack": [],
"experience": [
{
"company": "",
"role": "",
"period": "",
"description": ""
}
],
"projects": [
{
"name": "",
"description": "",
"techStack": []
}
],
"achievements": [],
"strengths": []
}
| 상황 | 처리 |
|---|---|
input/resume.txt 없음 | 파일 경로 안내 후 중단 |
| JSON 파싱 실패 | 1회 재시도, 실패 시 raw 출력 후 수동 수정 요청 |
resume-to-json/
├── SKILL.md
├── input/
│ └── resume.txt ← 사용자 작성
└── output/
└── resume.json ← 생성 결과
resume-to-json
완료 후
output/resume.json을 열어 내용 확인·수정 가능. 수정한 JSON은generate-introSkill의 입력으로 그대로 사용된다.