360 Secure SkillHub
360 安全技能中心

Resume Tailor

根据用户提供的 job_id 调用本地材料 API 生成定制简历要点、求职信与问候语,展示 thread_id 并请用户给出 approve/reject/regenerate 决定,再按决定调用审查接口;审批通过后可导出 PDF 并返回文件名称或路径。低匹配、接口报错或返回无效 JSON 时会说明情况并询问是否重试。

wanghong5233
wanghong5233
热度 50.47
最近更新 2026-05-11 17:32:01
分类:创作依赖:代码执行 / 第三方 API应用场景:文案创作 / 工作流 / 邮件起草

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add wanghong5233-offerpilot-resume-tailor
Metadata
name
resume-tailor
description
Generate, review, and export tailored application materials.

Resume Tailor Skill

Trigger

Activate when user asks:

  • "Generate tailored resume for this job"
  • "Help me create application materials"
  • "Approve/reject this material draft"
  • "Export approved material"

Workflow

  1. If user provides job_id, call material generation API:
    • POST http://127.0.0.1:8010/api/material/generate
    • Body: {"job_id":"<job_id>","resume_version":"resume_v1"}
  2. Parse JSON response:
    • If status=skipped_low_match, explain low match and ask whether to continue with another job.
    • If status=pending_review, show:
      • thread_id
      • resume bullets
      • cover letter
      • greeting message
  3. Ask user for review decision:
    • approve / reject / regenerate (optional feedback text)
  4. Execute review call:
    • POST http://127.0.0.1:8010/api/material/review
    • Body example:
      • {"thread_id":"<thread_id>","decision":"regenerate","feedback":"强调可量化结果"}
  5. If approved, export file:
    • POST http://127.0.0.1:8010/api/material/export
    • Body: {"thread_id":"<thread_id>","format":"pdf"}
    • Return file name/path/download URL to user.

Command templates (exec tool + curl)

  • Generate:
    • curl -sS -X POST "http://127.0.0.1:8010/api/material/generate" -H "Content-Type: application/json" -d '{"job_id":"<job_id>","resume_version":"resume_v1"}'
  • Review:
    • curl -sS -X POST "http://127.0.0.1:8010/api/material/review" -H "Content-Type: application/json" -d '{"thread_id":"<thread_id>","decision":"approve"}'
  • Export:
    • curl -sS -X POST "http://127.0.0.1:8010/api/material/export" -H "Content-Type: application/json" -d '{"thread_id":"<thread_id>","format":"pdf"}'

Constraints

  • Never auto-submit external applications.
  • For every approve/reject action, require explicit user confirmation.
  • If API errors or invalid JSON appear, surface the error clearly and ask user whether to retry.