agentleFS
jananthan30jananthan30/Resume-Builder/CLAUDE.md

Resume-Builder

CLAUDE.md86 starsChanged 4 months agoMITView on GitHub

Editorial priority (never invert): Authenticity → Human voice → HR impact → evidence coverage. A 75% evidence match with human prose beats a 90% keyword-stuffed draft — stuffing raises keyword counts while lowering evidence quality. Absence is never failure. A requirement with no supporting resume span is NO_EVIDENCE_FOUND, and a hard gate with nothing behind it is UNVERIFIED. Neither means the candidate lacks the qualification, and neither may be reported as if it did. Only explicit contradictory evidence (an expired…

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

24 rules. About 0 are common, 18 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈18

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Authenticity: Never invent facts; resumes must be interview-true

    line 5
  2. Very specific:

    Only explicit contradictory evidence (an expired licence, say) produces FAIL.

    line 23
  3. Distinctive:

    Auditability: Every result stores both input hashes, all seven version strings, the requirements, the evidence spans, the raw judgments, …

    line 172
  4. Distinctive:

    No role, output, resume development, DOCX, or tracker work starts until the deterministic candidate-fit gate passes

    line 339
  5. Very specific:

    When the model cannot be reached it fails closed with ASSESSMENT_UNAVAILABLE, deliberately distinct from a fit rejection — "we could not …

    line 372
  6. Very specific:

    Before finalization, resolve the result's authorization_receipt_path against the output directory when relative, require its resolved …

    line 406
  7. Distinctive:

    Use plain strong verbs at bullet start (Led, Built, Wrote, Cut, Reviewed, Directed)

    line 438
  8. Distinctive:

    Avoid job-hopping appearance (emphasize longer tenures)

    line 442
  9. Distinctive:

    Job Titles: - Must remain EXACTLY as in master resume (ethical requirement)

    line 483
  10. Distinctive:

    Company Names: - Never change

    line 484
  11. Distinctive:

    Publications: - NEVER add keywords to publication titles or descriptions

    line 487
  12. Distinctive:

    Certifications: - Keep exactly as-is

    line 488
  13. Distinctive:

    Professional Memberships: - Keep exactly as-is

    line 489
  14. Distinctive:

    Do NOT repeat the same keyword in every bullet point

    line 494
  15. Distinctive:

    Do NOT force awkward phrases just to match JD terminology

    line 495
  16. Distinctive:

    If a JD term doesn't fit your experience, DON'T force it

    line 500
  17. Distinctive:

    If none of the above, REMOVE the item from Core Competencies.

    line 513
  18. Distinctive:

    Validated tools whitelist: When listing software / platforms (Veeva Vault, Argus, Medidata Rave, EDC, MedDRA, etc.), only include them if …

    line 515
  19. Very specific:

    Delete transient .md files only after authorized DOCX creation, a literal-True tracker update, and artifact verification.

    line 543
  20. Very specific:

    Use docx_generator.py for ATS-compliant formatting

    line 544
  21. Distinctive:

    Do NOT use in .md files — DOCX generator handles bold formatting automatically

    line 545
  22. Distinctive:

    Use "TITLE | COMPANY | Location" format for Workday parsing

    line 546
  23. Distinctive:

    Never invent experience - only reframe existing content

    line 549
  24. Very specific:

    Auto-update tracker: only after both verified DOCX files using tracker_utils.add_application_authorized() with the captured sidecar …

    line 550

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
CLAUDE.md

Resume Builder - Project Context

Overview

AI-powered resume and cover letter generator that tailors applications to specific job descriptions with native role separation and evidence-based matching:

  • Authenticity: Never invent facts; resumes must be interview-true
  • Human Voice: Brevity, burstiness, plain language — hard gate via human_voice_audit.py
  • Evidence Match: Requirement-to-evidence matching via evidence_match.py (75%+ target, zero must-haves lacking evidence). This replaced ATS/HR scoring as the authoritative measure. No universal ATS score exists across recruiting systems, so the product answers "which of this job's requirements does the resume evidence, and with what excerpt"
  • Legacy ATS/HR: ats_scorer.py / hr_scorer.py remain for continuity and the comparison table. Diagnostic only — never present them as the result
  • Candidate Fit: The configured master must score at least 50 (the default bar; candidate_fit_preflight.CANDIDATE_FIT_THRESHOLD) with zero hard knockouts against the exact JD before any resume development
  • Safety: Researcher, Writer, Auditor, and Editor have distinct least-authority contracts; finalization is ordered

Editorial priority (never invert): Authenticity → Human voice → HR impact → evidence coverage. A 75% evidence match with human prose beats a 90% keyword-stuffed draft — stuffing raises keyword counts while lowering evidence quality.

Absence is never failure. A requirement with no supporting resume span is NO_EVIDENCE_FOUND, and a hard gate with nothing behind it is UNVERIFIED. Neither means the candidate lacks the qualification, and neither may be reported as if it did. Only explicit contradictory evidence (an expired licence, say) produces FAIL.

Quick Start

Option 1: Claude Code Custom Commands (Recommended)

# Full application package (resume + cover letter) - Dual optimized
/resume [paste job description]

# Resume only - Dual optimized
/tailor-resume [paste job description]

# Cover letter only
/cover-letter [paste job description]

# Explicit native four-role workflow (authorized resume.md draft only)
/resume-team [paste job description]

# Deterministic candidate-fit gate only
/job-fit [paste job description]

Option 2: Evidence Match (standalone, authoritative)

# Which requirements does this resume actually evidence?
python evidence_match.py --resume resume.docx --jd job_description.txt --verify

# Machine-readable, with an append-only audit record
python evidence_match.py --resume resume.docx --jd jd.txt \
    --json match.json --audit-log audit_log/evidence_match.jsonl

# Recompute a stored result from its recorded judgments — no LLM call
python evidence_match.py --replay match.json

--verify re-checks that every displayed excerpt maps back to exact resume characters and exits non-zero if any does not.

Option 3: Legacy scorers (diagnostic only)

python ats_scorer.py --score resume.pdf job_description.txt --json
python hr_scorer.py --score resume.pdf job_description.txt --json

Retained for the comparison table and existing integrations. These numbers do not correspond to any real recruiting system's behaviour.

Project Structure

Resume Builder/
├── {master_resume from config.json}        # Master resume (DOCX, PDF, or Markdown)
├── SUPPLEMENTAL_EXPERIENCE.md              # Selective-use experience entries (NOT in master resume)
├── evidence_match.py                       # Evidence match CLI (authoritative scoring)
├── evidence_engine/                        # Requirement-to-evidence engine
│   ├── engine.py                           # Pipeline: parse → extract → retrieve → judge → score
│   ├── api.py                              # The one public response shape
│   ├── audit.py                            # Audit records, caching, deterministic replay
│   ├── bias.py                             # Protected-attribute screening
│   ├── models.py                           # Pydantic schemas
│   ├── policy.py                           # Versioned scoring policy loader
│   ├── evidence/                           # Judge, prompts, relation map, provenance
│   ├── requirements/                       # Atomic requirement extraction
│   ├── retrieval/                          # BM25 + dense + rank fusion
│   ├── scoring/                            # Deterministic scorers (no LLM numbers)
│   └── config/                             # scoring_v0_1.json, relationships_v0_1.json
├── benchmarks/evidence/                    # Ablation harness A–F + launch gates
├── ats_scorer.py                           # LEGACY ATS scoring engine (diagnostic only)
├── hr_scorer.py                            # LEGACY HR scoring engine (diagnostic only)
├── evidence_audit.py                       # Core Competencies must-trace checker
├── human_voice_audit.py                    # Human-voice / anti-AI-prose hard gate
├── data/ai_tells.json                      # Shared banned AI lexicon
├── references/human_voice_examples.md      # Good vs bad human-voice examples
├── docx_generator.py                       # ATS-compliant DOCX generator
├── tracker_utils.py                        # Job application tracker utilities
├── Job_Application_Tracker.xlsx            # Auto-updated application tracker
├── orchestration_state.py                  # Shared state.json manager for multi-agent workflow
├── llm_scorer.py                           # LLM-augmented scoring (Claude-based rubric scorer)
├── scorer_server.py                        # FastAPI server for ATS/HR/LLM scoring
├── resume_builder.py                       # Retired direct-rewrite CLI; native-team migration guard
├── multi_agent_team.py                    # Vendor-neutral fail-closed team controller
├── candidate_fit_preflight.py             # Deterministic fit scan (advisory on rejection)
├── candidate_fit_judge.py                 # LLM reasoning judge — final refusal authority
├── native_resume_team.py                  # Hardened host adapter and Markdown draft publisher
├── schemas/resume-team-handoff.schema.json # Public strict handoff schema
├── schemas/resume-team-authorization.schema.json # Three-vote report schema
├── schemas/resume-team-final-receipt.schema.json # Durable draft receipt schema
├── schemas/resume-team-result.schema.json  # Draft-stage runtime result schema
├── config.json                             # User configuration
├── requirements.txt                        # Python dependencies
├── embed_cache/                            # SBERT embedding cache (disk-based .npy files)
├── applications/                           # Output directory
│   └── {Company} - {JobTitle}/            # Company + role folders
│       ├── *_Resume_*.docx                # Final resume (DOCX only)
│       ├── *_Cover_Letter_*.docx          # Final cover letter (DOCX only)
│       ├── job_description.txt            # Original JD for reference
│       └── state.json                     # Orchestration state (transient, deleted after run)
├── .codex/agents/                         # Manual Codex roles (unpinned; host inheritance applies)
└── .claude/
    ├── agents/                            # Manual Claude roles (unpinned; host inheritance applies)
    └── commands/
        ├── resume-team.md                 # Shared four-role coordinator protocol
        ├── resume.md                       # Full application command (native team)
        ├── tailor-resume.md               # Resume only command (native team)
        ├── cover-letter.md                # Cover letter command
        └── writing-coach.md               # Human Voice + Impact skill (Rules 0-16)

Evidence Matching (authoritative)

The engine answers one question: how strongly does this resume provide verifiable evidence that this candidate satisfies this specific job?

JOB DESCRIPTION ──► Atomic requirements ──┬──► Eligibility gates
                                          └──► Weighted criteria
                                                     │
RESUME ──► Evidence spans ──► Retrieval ──► LLM judge ──► Deterministic scorer
                                                     │
                          ┌──────────────────────────┴──────────────────────────┐
                          ▼                          ▼                          ▼
                    Eligibility        Qualification Evidence Fit      Evidence Quality
                  PASS/FAIL/UNVERIFIED           0-100%                    0-100%

Three outputs, never multiplied together. A candidate can be UNVERIFIED on eligibility while scoring 91% on evidence — that means the resume omitted a work-authorization statement, not that they are ineligible.

The LLM classifies; code calculates. The judge returns discrete relationships and quality dimensions. Python computes every number, so scores are reproducible, weight changes need no LLM call, prompt drift cannot silently redefine weights, and keyword stuffing cannot manipulate a model-generated scalar.

RelationshipExampleMax credit
EXACT_EXPLICITPython ↔ Python1.00
EQUIVALENT_SYNONYMprotocol authoring ↔ protocol development0.95
ABBREVIATION_EQUIVALENTEDC ↔ electronic data capture0.95
CHILD_SUPPORTS_PARENTPyTorch → deep-learning framework0.90
ADJACENT_TRANSFERABLETensorFlow → PyTorch ecosystem0.60
CONTEXTUAL_IMPLICATIONIND section → regulatory submissions0.50
UNSUPPORTED_INFERENCEPython → TensorFlow0.00
CONTRADICTORY"licence expired" vs "active licence required"0.00

Direction is enforced in code, not just prompted: a specific child supports a broad parent, never the reverse. evidence_engine/config/relationships_v0_1.json is authoritative for the three high-credit relationships; claims it does not support are downgraded rather than silently accepted.

Auditability. Every result stores both input hashes, all seven version strings, the requirements, the evidence spans, the raw judgments, and the evaluation month. python evidence_match.py --replay <result.json> recomputes the score from the stored judgments with no LLM call and reports any drift. Changing any version yields a new cache identity, so a stored score is never silently reused under different rules.

Protected attributes never enter the feature space. evidence_engine/bias.py screens extracted requirements for age, sex, race, religion, disability, genetic information, veteran status and photographs, plus bias-prone proxies (graduation year, ZIP code, school and employer prestige, employment gaps). Screened lines are recorded in excluded_requirements with their source text, carry zero weight, and are surfaced as warnings. Work authorization, location, travel, licences, certifications and degrees are legitimate criteria and are never screened.

Benchmark. python -m benchmarks.evidence.runner [--with-llm] runs ablations A–F (keyword overlap, BM25, embedding, hybrid, hybrid+judge, full engine) and checks the launch gates. Read pair-acc and inversions before NDCG — NDCG saturates on short candidate lists and hides the exact failure the engine exists to prevent.


Legacy Scoring System (diagnostic only)

Retained for the comparison table and existing API integrations. Do not present these as the result.

ATS Scorer (Semantic + Keyword Matching)

Advanced resume-to-job-description analysis with seven weighted components:

MetricWeightDescription
Keyword Match22%Lemmatized keywords with synonym expansion
Semantic Similarity22%Sentence Transformers vector matching
Weighted Industry Terms18%Domain-specific terminology with decay
Phrase Match13%Multi-word industry phrase detection
BM25 Score13%Probabilistic relevance ranking
Graph Centrality7%NetworkX skill inference bonus
Skill Recency5%Exponential decay for older skills

New v2.0 Features:

  • Domain Auto-Detection: clinical_research, pharma_biotech, technology, finance, consulting, healthcare
  • Skill Graph Inference: Infers missing skills from related skills (e.g., Pandas+NumPy→Python)
  • Experience Decay: Skills used recently weighted higher via λ decay constants
  • Hidden Text Detection: Flags white text, tiny fonts, zero-width characters
  • Readability Analysis: Flesch-Kincaid optimal Grade 10-12
  • Format Risk Assessment: Detects tables, text boxes, header/footer content

Score Ratings:

  • 80-100%: Excellent - Top Candidate
  • 65-79%: Good - Strong Match
  • 50-64%: Fair - Competitive
  • 35-49%: Low - Below Average
  • 0-34%: Poor - Unlikely Match

HR Scorer (Recruiter Simulation + Visual Analysis)

Simulates human HR recruiter evaluation with six factors plus visual scoring:

FactorWeight (Mid-Level)Description
Experience Fit30%Years match, Goldilocks zone, relevance
Skills Match20%Contextual skill demonstration (action vs listed)
Career Trajectory20%Title hierarchy regression slope
Impact Signals20%Metrics density + Bloom's Taxonomy verb power
Competitive Edge10%Prestige signals (companies/universities)
Job FitWeightedDomain/role alignment score
F-Pattern Visual±5ptGolden triangle, bullet economy, whitespace

New v2.0 Features:

  • F-Pattern Scoring: Eye-tracking research compliance (golden triangle, left-rail)
  • Bloom's Taxonomy Verbs: 4-level verb power classification
  • Job Fit Analysis: Domain-specific role alignment scoring
  • Bias Audit Mode: PII stripping for blind hiring support

Risk Penalties:

  • Job Hopping: -8 to -15 points (avg tenure < 18 months)
  • Unexplained Gaps: -5 to -15 points
  • Recent Instability: -5 points (3+ jobs in 3 years)

HR Recommendations:

  • 85%+: STRONG INTERVIEW (Top Candidate)
  • 70-84%: INTERVIEW (Competitive)
  • 55-69%: MAYBE (Marginal)
  • <55%: PASS (Weak Match)

Domain-Specific Scoring Profiles

The scorer auto-detects domain and applies appropriate adjustments:

DomainKey Adjustments
Clinical/PharmaPublications bonus, transferable skills mapping
FinanceDeal artifacts required, 1.5x prestige weight, strict formatting
TechnologyPortfolio links bonus, 1.3x skill recency weight, title validation
ConsultingImpact metrics required, 1.4x prestige weight, education weight 1.3x
HealthcareCertifications required, quality improvement focus

ATS/Workday Format Rules

DO NOT Use

  • Columns or tables
  • Text boxes
  • Graphics or icons
  • Headers/footers (put contact in main body)
  • Fancy fonts or colors

DO Use

  • Bold text for job titles and metrics
  • ALL-CAPS for section headers
  • Bullet points (•)
  • Horizontal lines (___) to separate sections
  • Safe fonts: Calibri, Arial, Roboto (10-12pt body, 14-16pt headers)

Resume Structure (Workday Pattern)

FULL NAME, CREDENTIALS
City, State ZIP | Phone | Email
LinkedIn URL

_______________________________________________________________________________
PROFESSIONAL SUMMARY

[3-4 lines with JD keywords]

_______________________________________________________________________________
CORE COMPETENCIES

• Keyword 1    • Keyword 2    • Keyword 3
• Keyword 4    • Keyword 5    • Keyword 6

_______________________________________________________________________________
PROFESSIONAL EXPERIENCE

JOB TITLE | COMPANY NAME | Location
Month Year – Present

• [Action verb] [task] resulting in [quantified metrics]
• Managed 8 centers, ensuring 100% compliance

_______________________________________________________________________________
EDUCATION

Degree Name
University, Location | Years

_______________________________________________________________________________
CERTIFICATIONS & LICENSURE

• Certification – Issuer

Workflow (Native Four-Role Resume Team)

PHASE 0: CANDIDATE FIT ────────── Evidence match; FAIL refuses with the excerpt
PHASE 1: RESEARCHER ────────────── JD-only rubric and evidence spans
PHASE 2: WRITER ───────────────── Master-resume source-anchored replacements
PHASE 3: AUDITOR ──────────────── Independent PASS/FAIL; no editing authority
PHASE 4: EDITOR LOOP ──────────── Named findings only; max 2; fresh audit each time
PHASE 5: THREE VOTES ──────────── Evidence + human voice + canonical integrity
PHASE 6: DRAFT PUBLICATION ────── Atomic resume.md receipt + digest readback
PHASE 7: EVIDENCE MATCH ───────── evidence_match.py --verify against the exact JD
PHASE 8: ORDERED FINALIZATION ─── Resume DOCX → cover DOCX → tracker → cleanup

Safe concurrency:

  • No role, output, resume development, DOCX, or tracker work starts until the deterministic candidate-fit gate passes
  • ATS/HR base scoring may overlap only after candidate fit passes; it is advisory
  • Cover letter generates in parallel with tailored resume scoring
  • Independent read/scoring work may overlap; authorization and publication remain ordered

Detailed Steps: The hardened runtime requires macOS or Linux; Windows preflight fails closed with POSIX_RUNTIME_REQUIRED. It ignores user configuration and transient parent-session settings, so its default model/reasoning selection is unknown. Do not claim a specific inherited profile, model, or Ultra setting. Codex may receive --model <exact-model> and/or --reasoning-effort ultra only when the user explicitly requests those pins; Claude must not receive Codex-only flags.

  1. Candidate fit runs candidate_fit_preflight.py against only the configured master resume and exact JD before any output or role invocation. It runs the evidence engine — the same requirement-to-evidence matcher used for scoring — and requires a canonical, digest-bound candidate-fit-policy-v3 report with score at least the default bar (50; CANDIDATE_FIT_THRESHOLD), trustworthy extraction, passed: true, and no codes.

    Three eligibility outcomes drive the decision, and the last two are the point:

    • FAIL — explicit contradictory evidence on a mandatory requirement (an expired licence, or a stated minimum the candidate's whole career cannot reach). Refuses, citing the exact resume line that caused it.
    • UNVERIFIED — the resume simply does not mention it. Proceeds with a warning. Absence of evidence is not proof of absence, and a candidate holding an unlisted licence must not be refused.
    • PASS — explicitly evidenced.

    The gate calls a hosted model on every run. It was previously offline. When the model cannot be reached it fails closed with ASSESSMENT_UNAVAILABLE, deliberately distinct from a fit rejection — "we could not assess you" must never be reported as "you do not qualify".

    How the report proves it was not forged. It used to re-run itself and demand byte-identical output; a model-backed gate cannot do that. Instead the report carries an evidence_bundle — the requirements, the cited resume spans and the judgments — and validate_recomputed_candidate_fit_report accepts it only when replaying that bundle, with no model call, reproduces every reported number. Offsets are re-resolved against the exact master and JD text, the curated relation map is re-applied, and the deterministic contradiction floor re-fires, so an invented requirement, a fabricated excerpt, an upgraded relationship and a flipped contradiction all fail closed. See evidence_engine/bundle.py.

    A failing gate is REJECTED:CANDIDATE_FIT; unavailable, malformed, stale, or mismatched analysis is FAILED:CANDIDATE_FIT_PREFLIGHT. Neither is recoverable by retrying the roles. After a rejection the user may still record a manual override (candidate_fit_override.py), authorizing only the manual package path — never the runtime, receipts, authorized wrappers, or tracker.

  2. Researcher receives only the JD and returns a requirement rubric whose hard-then-soft strings exactly equal the uniquely anchored evidence strings one-for-one and in order.
  3. Writer receives only the master resume and validated rubric, and proposes source-anchored replacements rather than a complete draft; the coordinator resolves the immutable master, applies replacements in source order, and derives evidence bookkeeping. It cannot authorize or publish.
  4. Auditor independently checks the exact draft; it cannot edit.
  5. Editor corrects only explicit findings, with a maximum of two fresh re-audits.
  6. Authorization requires Auditor PASS plus all three deterministic votes on the same digest.
  7. Draft publication atomically writes and reads back only the authorized resume.md.
  8. Finalization is strictly ordered and stops on the first failure.

Runtime resume-team-result/v2 PUBLISHED is a draft-stage result, not a completed package. /resume and /tailor-resume must still finish their DOCX, tracker, artifact-verification, cleanup, and final-report gates before reporting package completion.

Before finalization, resolve the result's authorization_receipt_path against the output directory when relative, require its resolved parent to equal that directory, and read only regular, non-symlink resume-team-final-receipt/v2 JSON. Match authorization_receipt_digest, the inline receipt, run/case IDs, and the exact candidate_fit_report/candidate_fit_report_digest to the result and independently validated preflight; the deterministic report must either have passed on its own (judge fields null/empty) or be accompanied by a digest-bound, citation-verified PROCEED candidate_fit_judge_report whose digest matches candidate_fit_judge_report_digest. Match draft/verified-target digests to the actual resume.md. Recompute source_digest from the current configured master and job_description_digest from the fixed sibling job_description.txt; require a SHA-256 Researcher artifact and distinct same-host native Researcher/Auditor identities. Native hosts are api (the hosted product runtime — roles run server-side via the Anthropic API) and the legacy local hosts codex/claude (local CLI/plugin flows); the host prefix is a provenance record of which runtime produced a role's output, so Researcher and Auditor must remain distinct identities on the same host regardless of which of the three hosts that is. Require a same-draft PASS auditor_attestation and a complete passing authorization_report with no codes and exactly three ordered named same-draft PASS votes with distinct IDs. Require canonical_digest(report) == authorization_digest and the receipt vote-ID list to equal those IDs in order. Validate its shape against schemas/resume-team-final-receipt.schema.json. The acceptance gate must execute final_receipt_verifier.py with the exact sidecar path, authorization_receipt_digest, and config.json captured/used by the runtime. Repeat that executable check immediately before every side-effect boundary and preserve this durable receipt during cleanup.

HR Optimization Tips

To boost HR Score:

  • Use plain strong verbs at bullet start (Led, Built, Wrote, Cut, Reviewed, Directed)
  • Include quantified metrics in 40%+ of bullets (%, $, numbers)
  • Show career progression with clear title escalation
  • Highlight prestigious companies/universities
  • Avoid job-hopping appearance (emphasize longer tenures)

DOCX Generator Usage

Native Resume Team outputs may use only the receipt-validating wrappers. The lower-level formatting functions are internal/legacy building blocks and are not an authorized publication path.

from docx_generator import (
    create_cover_letter_from_md_authorized,
    create_resume_from_md_authorized,
)

create_resume_from_md_authorized(
    "applications/Company - Role/resume.md",
    "applications/Company - Role/Name_Resume_Company.docx",
    receipt_path="applications/Company - Role/resume-team-receipt.<digest>.json",
    expected_receipt_digest="<authorization_receipt_digest from runtime result>",
    config_path="config.json",
)

create_cover_letter_from_md_authorized(
    "applications/Company - Role/cover_letter.md",
    "applications/Company - Role/Name_Cover_Letter_Company.docx",
    authorized_resume_path="applications/Company - Role/resume.md",
    receipt_path="applications/Company - Role/resume-team-receipt.<digest>.json",
    expected_receipt_digest="<authorization_receipt_digest from runtime result>",
    job_title="Role",
    company="Company",
)

AUTHENTICITY RULES (CRITICAL)

What You CAN Modify:

  1. Professional Summary - Naturally incorporate 3-5 key JD terms
  2. Core Competencies - Match to JD keywords (PRIMARY place for keywords)
  3. Bullet points in Professional Experience - Reframe achievements using JD language where it fits naturally

What You CANNOT Modify:

  1. Job Titles - Must remain EXACTLY as in master resume (ethical requirement)
  2. Company Names - Never change
  3. Dates - Never change
  4. Education - Degree names and school names stay exactly as-is
  5. Publications - NEVER add keywords to publication titles or descriptions
  6. Certifications - Keep exactly as-is
  7. Professional Memberships - Keep exactly as-is

Keyword Frequency Rules:

  • Each keyword should appear 1-2 times MAX across the entire resume
  • Core Competencies is the main place for keyword matching
  • Do NOT repeat the same keyword in every bullet point
  • Do NOT force awkward phrases just to match JD terminology

Authenticity Guidelines:

  • Resume must read naturally to a human HR reviewer
  • Bullets should describe REAL achievements, not be keyword checklists
  • If a JD term doesn't fit your experience, DON'T force it
  • Prioritize strong action verbs and metrics over keyword stuffing
  • A 75% ATS score with authentic content beats 90% with obvious stuffing

Core Competencies Must-Trace Rule (enforced by evidence_audit.py):

Every Core Competency item must be backed by evidence elsewhere in the resume.

For each item, ONE of the following must be true:

  1. The item (or one of its key phrases) appears in a Professional Experience bullet
  2. The item appears in the Summary
  3. The item is backed by Publications / Education / Certifications / Memberships / Projects (e.g., "Peer-Reviewed Publications" backed by the Publications section)
  4. The item carries an honest exposure qualifier: (exposure), (coursework), (trainable), (familiar), (rapid trainability), (in progress), (learning)

If none of the above, REMOVE the item from Core Competencies. Listing a skill without evidence creates an interview liability — recruiters ask "tell me about a time you did X" and the candidate has no answer.

Validated tools whitelist: When listing software / platforms (Veeva Vault, Argus, Medidata Rave, EDC, MedDRA, etc.), only include them if the candidate has hands-on experience documented in a bullet. If they only have indirect or "trainable" exposure, mark with (trainable) — e.g., Veeva Vault (trainable).

Audit commands (run before DOCX creation):

python evidence_audit.py applications/{Company - JobTitle}/resume.md
python human_voice_audit.py applications/{Company - JobTitle}/resume.md
python human_voice_audit.py applications/{Company - JobTitle}/cover_letter.md --mode cover_letter
python evidence_match.py --resume applications/{Company - JobTitle}/resume.md \
    --jd applications/{Company - JobTitle}/job_description.txt --verify

Exit code 0 = passed. Exit code 1 = fix failures before generating DOCX.

Human Voice Rules (enforced by human_voice_audit.py + writing-coach)

  • Priority: Authenticity → Human voice → HR → ATS
  • Plain strong verbs (Led, Built, Wrote, Cut); ban AI openers (spearheaded, leveraged, orchestrated, …)
  • Bullet mean ≤ 22 words; hard max 28; burstiness CV ≥ 0.30
  • Summary ≤ 3 sentences / 70 words; never "Results-driven…"
  • Keywords in Core Competencies first — never cosplay JD jargon into every bullet
  • Lexicon: data/ai_tells.json | Examples: references/human_voice_examples.md

Notes for Claude

  • Master resume: Read from config.json → master_resume_path (or glob for *MASTER*RESUME*.md, *MASTER*RESUME*.docx, *MASTER*RESUME*.pdf). For .docx files, use the extract_text MCP tool (Claude cannot read binary DOCX directly).
  • Output folder format: applications/{Company} - {JobTitle}/
  • Evidence target before DOCX: qualification_evidence_score >= 0.75, an empty missing_must_have_ids, and eligibility that is not FAIL
  • Report gaps as "no evidence found in the resume", never as "you lack this"
  • Legacy ATS/HR numbers are for the comparison table only — never retry a run to raise them
  • Human voice audit must pass (exit 0) before DOCX — same severity as evidence audit
  • Delete transient .md files only after authorized DOCX creation, a literal-True tracker update, and artifact verification; never delete the durable receipt
  • Use docx_generator.py for ATS-compliant formatting
  • Do NOT use ** in .md files — DOCX generator handles bold formatting automatically
  • Use "TITLE | COMPANY | Location" format for Workday parsing
  • NEVER CHANGE JOB TITLES - Job titles and company names must remain EXACTLY as they appear in the master resume. This is an ethical requirement. Only reframe bullet points with relevant keywords.
  • NEVER CHANGE PUBLICATIONS - Publication titles and citations stay exactly as-is
  • Never invent experience - only reframe existing content
  • Auto-update tracker only after both verified DOCX files using tracker_utils.add_application_authorized() with the captured sidecar path/digest and the evidence= summary; require a literal True return

Job Application Tracker

The Job_Application_Tracker.xlsx is automatically updated whenever a resume is created using /resume or /tailor-resume commands.

Tracker Columns

ColumnDescription
CompanyCompany name
Job TitlePosition title
Application DateDate applied (auto-filled)
StatusApplied, Interview Scheduled, Rejected, Offer, etc.
Resume FileGenerated resume filename
Cover Letter FileGenerated cover letter filename
Job DescriptionJD filename
ATS ScoreFinal ATS score achieved
HR ScoreFinal HR score achieved
NotesAdditional notes
Interview DateScheduled interview date
Follow Up DateWhen to follow up
ResponseDate company responded (filled by mark_response)
Target TierIC / Sr / Manager / AD / Director — used to spot pipeline-mix issues (too many AD/Director applications)
Fit LabelMEETS / STRETCH / MISS — taken from job_fit_scorer recommendation
Hard Reqs MissedCount of knockout flags at apply time
Referral Sourcecold / alumni / recruiter / network / referral
Rejection Reasonno_response / auto_reject / screen_reject / interview_reject / offer_declined / withdrawn
Days To ResponseAuto-computed (Response date − Application Date)
Interview Stages Reached0=applied, 1=phone screen, 2=hiring mgr, 3=panel, 4=onsite, 5=offer
Evidence MatchQualification Evidence Fit at apply time — the meaningful score
EligibilityPASS / FAIL / UNVERIFIED from the hard gates
Requirements Evidenced"5/8" — strongly evidenced over total requirements
Must-Haves MissingCount of must-haves with no evidence found
Evidence Policy VersionWhich scoring policy produced the numbers

Strategic columns let the system learn which categories of role actually convert. Without these, the tracker is bookkeeping; with these, you can answer "what's my response rate on AD-tier vs Sr Specialist?"

Tracker Utilities

from tracker_utils import (
    TrackerUpdateError, add_application_authorized, mark_response, pipeline_summary,
    update_application_status, rebuild_tracker_from_folders,
)

# Add a new application — strategic columns are optional but recommended
updated = add_application_authorized(
    company="Company Name",
    job_title="Job Title",
    authorized_resume_path="applications/Company - Role/resume.md",
    receipt_path="applications/Company - Role/resume-team-receipt.<digest>.json",
    expected_receipt_digest="<authorization_receipt_digest from runtime result>",
    resume_file="resume.docx",
    cover_letter_file="cover_letter.docx",
    evidence=evidence_summary,        # evidence_engine.api.summarize() output
    ats_score=83.0,                   # legacy, diagnostic only
    hr_score=71.6,                    # legacy, diagnostic only
    target_tier="Sr Specialist",     # IC / Sr / Manager / AD / Director
    fit_label="MEETS",                # from job_fit_scorer
    hard_reqs_missed=0,
    referral_source="alumni",         # cold / alumni / recruiter / network / referral
)
if updated is not True:
    raise TrackerUpdateError("TRACKER_UPDATE_NOT_CONFIRMED")

# Record an outcome — auto-computes Days To Response
mark_response(
    company="Company Name",
    job_title="Job Title",
    response_date="2026-06-01",
    rejection_reason="screen_reject",
    interview_stages_reached=1,
    status="Rejected after phone screen",
)

# See pipeline conversion by tier / fit / referral source
pipeline_summary()

# Manual status update (legacy)
update_application_status("Company Name", "Job Title", "Interview Scheduled")

# Rebuild tracker from applications folder
rebuild_tracker_from_folders()

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.