agentleFS
MS-JahanMS-Jahan/job-apply-kit/skills/make-cover-letter/SKILL.md

make-cover-letter

Skill9 starsChanged 57 days agoMITView on GitHub

Generate a tailored cover letter from an existing session file and finished resume/CV (LaTeX or Markdown formats). Deep-tailoring track (Workflow B), paired with make-resume/critique/edit-resume.

The file

Show its rules and text

We split this skill into the rules it gives an agent

28 rules. About 0 are common, 16 are distinctive, and 12 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈16

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 12

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read config.md ## Truth gates (banned_claims, unproven_claims) before generating any content.

    line 25
  2. Very specific:

    Use the email from config.md ## Identity in all outputs.

    line 27
  3. Distinctive:

    If the user provides feedback, corrections or suggestions at any point:

    line 36
  4. Distinctive:

    If it affects already-written content: fix it, re-verify word count and anti-patterns.

    line 38
  5. Distinctive:

    If it changes the framing: note the change in the session file Framing Strategy.

    line 39
  6. Distinctive:

    Never restart — resume from the current position.

    line 40
  7. Very specific:

    Read {{RESUME_KIT_DIR}}/reference/shared_ops.md for session startup and file derivation.

    line 46
  8. Very specific:

    Read <workspace>/SESSIONS.md — check Active Sessions and KB corrections notes.

    line 47
  9. Very specific:

    Read config.md — load Provenance Flags, email, role types, tailoring preferences.

    line 48
  10. Very specific:

    If CL Status is DONE → "CL already generated.

    line 51
  11. Very specific:

    If CL Status is IN_PROGRESS → check whether the CL file already exists.

    line 52
  12. Very specific:

    If Resume Status is not DONE → "Resume not yet generated.

    line 53
  13. Distinctive:

    If CL Status is PENDING → proceed to Phase 1.

    line 54
  14. Distinctive:

    Read in this order:

    line 60
  15. Very specific:

    All significance files from resume_builder/support/significance_*.md.

    line 66
  16. Very specific:

    Update session file Status: Cover Letter: IN_PROGRESS

    line 68
  17. Distinctive:

    Use significance files for field-context depth (NOT resume bullet text).

    line 84
  18. Distinctive:

    Use session file CL hooks and "why them" angle.

    line 85
  19. Distinctive:

    Ensure every major claim is traceable to a resume/CV bullet.

    line 86
  20. Very specific:

    If output format is LaTeX or Both: Generate TeX source and save to output/<FolderName>/e2e_<name>_cover_letter.tex (based on …

    line 91
  21. Very specific:

    If output format is Markdown or Both: Generate MD source and save to output/<FolderName>/e2e_<name>_cover_letter.md.

    line 92
  22. Distinctive:

    Do NOT present the CL draft to the user until hooks are verified or flagged.

    line 102
  23. Distinctive:

    Verify compiled PDF pages and margins.

    line 112
  24. Distinctive:

    Check that CL claims are traceable to resume, without contradictions.

    line 115
  25. Distinctive:

    Add CL to Output Files.

    line 119
  26. Distinctive:

    Add Next Critique command.

    line 121
  27. Distinctive:

    If user requests changes: apply them, re-verify.

    line 129
  28. Distinctive:

    If user approves: update Status, present next command.

    line 130

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/make-cover-letter

User input: $ARGUMENTS

Parse $ARGUMENTS:

  • Session file path (e.g., output/Acme/session_acme_engineer.md) → read that session file
  • Session name (e.g., acme_engineer) → find session file via shared_ops.md derivation
  • Empty → check <workspace>/SESSIONS.md Active Sessions for latest

Universal rules: {{CORE_DIR}}/OPERATIONS.md (#truth #documents). Config keys read: email_header, ## Truth gates, ## Resume preferences.

Safety Rules (ALWAYS ENFORCED)

Accuracy > Relevance > Impact > ATS > Brevity

Read config.md ## Truth gates (banned_claims, unproven_claims) before generating any content. Verify every claim against that table.

  • Use the email from config.md ## Identity in all outputs.
  • Cover letter deepens what the resume presents — never introduce new claims not traceable to resume bullets.
  • Source field context from resume_builder/support/significance_*.md files if present (generated by /setup-build-kb); skip this input if none exist for the position.

User Input During Execution

If the user provides feedback, corrections or suggestions at any point:

  1. Acknowledge it immediately.
  2. If it affects already-written content: fix it, re-verify word count and anti-patterns.
  3. If it changes the framing: note the change in the session file Framing Strategy.
  4. Never restart — resume from the current position.

Startup

Read {{RESUME_KIT_DIR}}/reference/shared_ops.md for session startup and file derivation.

  1. Read <workspace>/SESSIONS.md — check Active Sessions and KB corrections notes.
  2. Read config.md — load Provenance Flags, email, role types, tailoring preferences.
  3. Find and read the session file.
  4. Recovery check:
    • If CL Status is DONE → "CL already generated. Run /critique next." Show the next command. Stop.
    • If CL Status is IN_PROGRESS → check whether the CL file already exists; offer to resume or regenerate.
    • If Resume Status is not DONE → "Resume not yet generated. Run /make-resume first." Stop.
    • If CL Status is PENDING → proceed to Phase 1.

Phase 1: Load Context

Read in this order:

  1. Session file — specifically: Company Context, Cover Letter Plan, Framing Strategy, ATS Keywords.
  2. Finished resume/CV (either .tex or .md) — read to understand what CL must complement.
  3. {{RESUME_KIT_DIR}}/reference/cl_reference.md — CL format rules, paragraph templates, anti-patterns.
  4. {{RESUME_KIT_DIR}}/support/ai_fingerprint_rules.md — Banned words, structural rules.
  5. The matching bundle from session file role type → resume_builder/bundles/bundle_[role_type].md — Section 5 (Cover Letter).
  6. All significance files from resume_builder/support/significance_*.md.

Update session file Status: Cover Letter: IN_PROGRESS

Progress: "Loading CL context — [company], [role type] bundle, [institution type]..."


Phase 2: Generate Cover Letter

Identify targets based on config.md preferences (LaTeX, Markdown, or both).

Detect institution type from session file Cover Letter Plan:

  • Industry → 3 paragraphs, 250-300 words
  • National Lab → 4 paragraphs, 350-450 words
  • Academic → 4 paragraphs, 350-450 words (postdoc) or 450-650 words (faculty)

Generate CL following cl_reference.md paragraph structure:

  • Use significance files for field-context depth (NOT resume bullet text).
  • Use session file CL hooks and "why them" angle.
  • Ensure every major claim is traceable to a resume/CV bullet.
  • Open with a specific reference to their work — no generic openers.
  • Weave credentials into body paragraphs, not closing.

File Generation:

  • If output format is LaTeX or Both: Generate TeX source and save to output/<FolderName>/e2e_<name>_cover_letter.tex (based on coverletter_template.tex).
  • If output format is Markdown or Both: Generate MD source and save to output/<FolderName>/e2e_<name>_cover_letter.md.

Progress: "Writing [institution type] cover letter — [N] paragraphs, targeting [N] words..."

CL Hook Verification Gate (MANDATORY before presenting to user)

Web-search every hook used in the CL (e.g., PI publications, named projects, company tech announcements):

Claim: [what the CL says] → Evidence: [what the search found] → Source: [URL]

Flag any unverified item: "UNVERIFIED — please confirm" Do NOT present the CL draft to the user until hooks are verified or flagged.


Phase 3: Compile & Verify

  • If LaTeX/Both:
    tectonic -X compile --outdir output/<FolderName> output/<FolderName>/e2e_<name>_cover_letter.tex
    Verify compiled PDF pages and margins.
  • Verify Word count, Page counts, and cohesion:
    • Industry: 250-300 words, Lab/Academic: 350-450 words.
    • Check that CL claims are traceable to resume, without contradictions.
    • Review using ai_fingerprint_rules.md.

Update session file:

  • Add CL to Output Files.
  • Status: Cover Letter: DONE
  • Add Next Critique command.

Progress: "Compiled and formatted. Package cohesion verified."

>>>>>> MANDATORY STOP — DO NOT PROCEED <<<<<<

Present: CL summary (word count, page count, key hooks used). You MUST wait for the user's explicit text response before continuing.

If user requests changes: apply them, re-verify. Update session file. If user approves: update Status, present next command.

"Cover letter done. Next steps:

  1. /clear
  2. [exact /critique command with session file path]"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.