veycraft 2.8.2 → 2.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/.agent/workflows/profile-update.md +8 -8
  2. package/.agents/skills/apply-url/SKILL.md +10 -10
  3. package/.agents/skills/contract-and-nda-auditor/SKILL.md +9 -9
  4. package/.agents/skills/daily-run/SKILL.md +10 -10
  5. package/.agents/skills/demo/SKILL.md +10 -10
  6. package/.agents/skills/github-cli-remote-manager/SKILL.md +10 -10
  7. package/.agents/skills/offer-negotiator/SKILL.md +9 -9
  8. package/.agents/skills/profile-intelligence-engine/SKILL.md +10 -10
  9. package/.agents/skills/recruiter-inbox-triage/SKILL.md +9 -9
  10. package/.agents/skills/rejection-pattern-analyzer/SKILL.md +9 -9
  11. package/.agents/skills/score-calibration/SKILL.md +9 -9
  12. package/.agents/skills/setup/SKILL.md +10 -10
  13. package/.agents/skills/tailor-cv/SKILL.md +10 -10
  14. package/.agents/skills/weekly-report/SKILL.md +10 -10
  15. package/.aiassistant/rules/AGENTS.md +11 -11
  16. package/.aider.conf.yml +5 -5
  17. package/.amazonq/rules/job-hunter.md +12 -12
  18. package/.augment/rules/job-hunter.md +17 -17
  19. package/.clinerules +14 -14
  20. package/.continue/rules/job-hunter.md +15 -15
  21. package/.cursor/rules/job-hunter.mdc +9 -9
  22. package/.github/CODEOWNERS +3 -3
  23. package/.github/copilot-instructions.md +5 -5
  24. package/.github/prompts/daily-run.prompt.md +10 -10
  25. package/.goosehints +12 -12
  26. package/.junie/guidelines.md +12 -12
  27. package/.kiro/steering/job-hunter.md +15 -15
  28. package/.openhands/microagents/repo.md +18 -18
  29. package/.roo/rules/job-hunter.md +12 -12
  30. package/.rules +12 -12
  31. package/.trae/rules/project_rules.md +10 -10
  32. package/.windsurfrules +14 -14
  33. package/AGENTS.md +126 -126
  34. package/AUTHORS.md +13 -13
  35. package/CHANGELOG.md +325 -320
  36. package/CLAUDE.md +22 -22
  37. package/CRUSH.md +12 -12
  38. package/GEMINI.md +42 -42
  39. package/HIRED.md +32 -32
  40. package/LICENSE +26 -26
  41. package/NOTICE +22 -22
  42. package/PLATFORMS.md +93 -93
  43. package/PROVENANCE.json +19 -19
  44. package/README.ar.md +1 -1
  45. package/README.md +1 -1
  46. package/WARP.md +12 -12
  47. package/adapters/apps/chatgpt-and-web-chats.md +18 -18
  48. package/adapters/apps/devin-desktop.md +13 -13
  49. package/adapters/apps/gemini-and-copilot.md +25 -25
  50. package/adapters/apps/hermes-pi-factory-openclaw.md +24 -24
  51. package/adapters/apps/openai-codex-cli.md +23 -23
  52. package/adapters/apps/opencode-and-kilocode.md +16 -16
  53. package/adapters/apps/qwen-mistral-kimi-deepseek.md +37 -37
  54. package/adapters/models/claude.md +28 -28
  55. package/adapters/models/gemini.md +16 -16
  56. package/adapters/models/grok-and-kimi.md +14 -14
  57. package/adapters/models/mistral-and-llama.md +13 -13
  58. package/adapters/models/openai.md +16 -16
  59. package/bin/cli.mjs +0 -0
  60. package/commands/profile-update.md +1 -1
  61. package/config/guardrails.yaml +67 -67
  62. package/config/invariants.txt +7 -7
  63. package/context/DROP_YOUR_FILES_HERE.md +9 -9
  64. package/context/cv.md.example +12 -12
  65. package/context/form-answers.yaml.example +45 -45
  66. package/context/preferences.yaml.example +15 -15
  67. package/context/profile.md.example +20 -20
  68. package/context/readiness-state.json.example +64 -64
  69. package/context/resume-data.json.example +29 -29
  70. package/context/resume-facts.json.example +1 -1
  71. package/context/targets.yaml.example +433 -433
  72. package/docs/ARCHITECTURE.md +106 -106
  73. package/docs/OPTIONAL_MCP_PLUGINS.md +49 -49
  74. package/docs/SKILL_CATALOG.md +73 -73
  75. package/docs/chat-commands.md +33 -33
  76. package/docs/demo-dashboard.html +646 -646
  77. package/docs/execution-safety.md +34 -34
  78. package/docs/index.html +637 -637
  79. package/docs/platform-registry.md +23 -23
  80. package/evals/PROMPT.md +31 -31
  81. package/evals/README.md +36 -36
  82. package/evals/RUBRIC.md +51 -51
  83. package/evals/fixtures/boards/bayt-mock.html +255 -255
  84. package/evals/fixtures/boards/gulftalent-mock.html +250 -250
  85. package/evals/fixtures/boards/naukri-mock.html +262 -262
  86. package/evals/fixtures/boards/stepstone-mock.html +245 -245
  87. package/evals/fixtures/forms/workday-mock.html +328 -328
  88. package/evals/fixtures/ground-truth.json +53 -53
  89. package/evals/journeys/journey-matrix.json +333 -333
  90. package/evals/results/baseline-verified-run.json +125 -125
  91. package/llms.txt +70 -70
  92. package/package.json +115 -115
  93. package/prompts/partials/pacing.md +8 -8
  94. package/prompts/partials/snapshot-first.md +4 -4
  95. package/prompts/partials/stop-conditions.md +5 -5
  96. package/schemas/profile-update-plan.schema.json +133 -133
  97. package/schemas/readiness.schema.json +484 -484
  98. package/schemas/resume-data.schema.json +171 -171
  99. package/scripts/install.sh +0 -0
  100. package/skills/00-interrogate-and-onboard.md +87 -87
  101. package/skills/02-discover-and-triage.md +121 -121
  102. package/skills/03-tailor-resume-and-verify.md +114 -114
  103. package/skills/04-fill-and-apply.md +108 -108
  104. package/skills/07-persona-switcher.md +61 -61
  105. package/skills/18-condition-based-browser-waiting.md +65 -65
  106. package/skills/20-skill-authoring-standard.md +61 -61
  107. package/skills/21-ats-keyword-heatmap.md +60 -60
  108. package/skills/27-universal-cv-builder.md +99 -99
  109. package/skills/28-recruiter-brand-and-domain-intelligence.md +99 -99
  110. package/skills/54-github-cli-remote-manager.md +144 -144
  111. package/skills/REGISTRY.md +98 -98
  112. package/skills/ats/ashby.md +54 -54
  113. package/skills/ats/breezyhr.md +54 -54
  114. package/skills/ats/greenhouse.md +54 -54
  115. package/skills/ats/lever.md +54 -54
  116. package/skills/ats/smartrecruiters.md +54 -54
  117. package/skills/ats/taleo.md +43 -43
  118. package/skills/ats/workday.md +49 -49
  119. package/skills/meta-context-compaction.md +88 -88
  120. package/skills/meta-dom-recovery.md +63 -63
  121. package/skills/meta-self-verification.md +75 -75
  122. package/skills/meta-structured-debugging.md +69 -69
  123. package/skills/platforms/_template.md +69 -69
  124. package/skills/platforms/ats-engines.md +67 -67
  125. package/skills/platforms/global-boards.md +122 -122
  126. package/skills/platforms/linkedin.md +162 -162
  127. package/skills/platforms/mena-boards.md +99 -99
  128. package/skills/platforms/remote-boards.md +64 -64
  129. package/skills/platforms/wellfound.md +59 -59
  130. package/skills/profile-intelligence-engine.md +98 -98
  131. package/skills/skills-manifest.json +1730 -1730
  132. package/templates/analytics-dashboard.html +1106 -1106
  133. package/templates/ats-cover-letter-template.html +29 -29
  134. package/templates/ats-resume-template.html +38 -38
  135. package/templates/ats-resume.html +3 -3
  136. package/ui/app.js +1113 -1113
@@ -1,61 +1,61 @@
1
- ---
2
- name: skill-authoring-standard
3
- version: "1.0.0"
4
- description: Load whenever creating, refactoring, auditing, or contributing a new skill or job-board playbook to veycraft; combines Anthropic official Skill Creator progressive-disclosure rules, agentskills.io auto-discovery conventions, TDD pressure-testing discipline, and veycraft CI schema verification.
5
- triggers:
6
- - author a new skill or platform playbook
7
- - edit or audit an existing skill
8
- - prepare skill PR for veycraft
9
- requires_mcp:
10
- - none
11
- preconditions:
12
- - target workflow capability or regional job board is clearly scoped and does not duplicate an existing skill in skills/REGISTRY.md
13
- - CONTRIBUTING.md and .github/workflows/validate-repo.yml requirements are readable
14
- requires_skills:
15
- - meta-self-verification
16
- - privacy-pii-shield
17
- verification:
18
- - new or updated skill passes all 8 YAML frontmatter keys, 3 mandatory H2 section headers, and stays concise (< 500 lines)
19
- - skill is indexed identically in skills/REGISTRY.md, skills/skills-manifest.json, and (for core capabilities) .agents/skills/<name>/SKILL.md
20
- - local JSON/YAML/Markdown-link/security checks pass with zero broken links and zero tracked personal data before proposing commit
21
- ---
22
- # Skill Authoring & Contributor Standard (Adapted from `anthropics/skills` & `obra/superpowers`)
23
-
24
- ## When to Use & Preconditions
25
-
26
- Ensures every community-contributed career skill, ATS playbook, or regional board guide triggers reliably, fits within lean context budgets, and passes CI on the first run.
27
-
28
- - **Load when:** `author a new skill or platform playbook`; `edit or audit an existing skill`; `prepare skill PR for veycraft`.
29
- - **Preconditions (stop if any is false):**
30
- - desired capability does not duplicate an existing entry in `skills/REGISTRY.md`
31
- - `.github/workflows/validate-repo.yml` checks are readable
32
- - **Requires skills:** `meta-self-verification`, `privacy-pii-shield`. **MCP:** none.
33
-
34
- ## Deterministic Step-by-Step Execution
35
-
36
- 1. **Apply the Baseline Failure First (Skill TDD Rule):**
37
- - Identify the exact real-world failure mode the skill prevents (e.g., an agent hallucinating metrics, skipping an ATS confirmation snapshot, or clicking through a login wall). Do not author vague filler essays.
38
- 2. **Design for Progressive Disclosure (`< 500` Lines):**
39
- - Keep the main skill Markdown concise and actionable (`~40–150` lines ideal; strictly under `500` lines).
40
- - Write in clear **imperative steps** and explain *why* non-obvious constraints exist.
41
- 3. **Follow Exact `veycraft` + `agentskills.io` Contract:**
42
- - **Location:** core/career skills live at `skills/<NN>-<slug>.md`; job boards live at `skills/platforms/<board>.md` (start from `skills/platforms/_template.md`); employer ATS guides live at `skills/ats/<engine>.md`.
43
- - **8 Required YAML Frontmatter Keys:** `name`, `version`, `description` (explicitly state *when to trigger* and what contexts activate it — never spoil a shortcut summary of the whole workflow so models still read the body), `triggers`, `requires_mcp` (strictly required MCPs: `playwright`, `notion`, or `none`; add optional `optional_mcp` when an MCP only enhances optional steps such as PDF printing or Notion sync), `preconditions`, `requires_skills` (matching existing `name`s), and `verification`.
44
- - **3 Mandatory Exact H2 Headings:**
45
- - `## When to Use & Preconditions`
46
- - `## Deterministic Step-by-Step Execution`
47
- - `## Anti-Patterns (What NEVER To Do) & Self-Verification Check`
48
- 4. **Wire Discovery & Indexes Atomically:**
49
- - Add a matching row to `skills/REGISTRY.md` (and update total skill count).
50
- - Add the matching JSON object to `skills/skills-manifest.json`.
51
- - Add `.agents/skills/<name>/SKILL.md` with exact `name: <name>` matching the directory name and `description` >= 20 chars so `/skills` auto-discovery works in VS Code, Cursor, Codex, and OpenCode.
52
- - If adding a job board, add an `enabled: false` entry in `context/targets.yaml.example` and list it in `PLATFORMS.md`.
53
- 5. **Run Full Verification Before Commit (`verification-before-completion`):**
54
- - Verify valid JSON, valid YAML, zero broken relative Markdown links, zero broken `skills/` file references, and `privacy-pii-shield` compliance before claiming the PR is ready.
55
-
56
- ## Anti-Patterns (What NEVER To Do) & Self-Verification Check
57
-
58
- - **NEVER** summarize the entire step-by-step workflow inside the `description` frontmatter field (agents may skip reading the body).
59
- - **NEVER** introduce runtime npm dependencies, `.pdf` resume fixtures, or personal URLs/emails in example templates.
60
- - **NEVER** leave a new skill unindexed in `skills/REGISTRY.md` or `skills/skills-manifest.json`.
61
- - **Self-Verification Check:** Before completing, verify frontmatter keys, all 3 exact H2 headings, `REGISTRY.md` + `skills-manifest.json` + `.agents/skills/` parity, and observed zero-error validation output.
1
+ ---
2
+ name: skill-authoring-standard
3
+ version: "1.0.0"
4
+ description: Load whenever creating, refactoring, auditing, or contributing a new skill or job-board playbook to veycraft; combines Anthropic official Skill Creator progressive-disclosure rules, agentskills.io auto-discovery conventions, TDD pressure-testing discipline, and veycraft CI schema verification.
5
+ triggers:
6
+ - author a new skill or platform playbook
7
+ - edit or audit an existing skill
8
+ - prepare skill PR for veycraft
9
+ requires_mcp:
10
+ - none
11
+ preconditions:
12
+ - target workflow capability or regional job board is clearly scoped and does not duplicate an existing skill in skills/REGISTRY.md
13
+ - CONTRIBUTING.md and .github/workflows/validate-repo.yml requirements are readable
14
+ requires_skills:
15
+ - meta-self-verification
16
+ - privacy-pii-shield
17
+ verification:
18
+ - new or updated skill passes all 8 YAML frontmatter keys, 3 mandatory H2 section headers, and stays concise (< 500 lines)
19
+ - skill is indexed identically in skills/REGISTRY.md, skills/skills-manifest.json, and (for core capabilities) .agents/skills/<name>/SKILL.md
20
+ - local JSON/YAML/Markdown-link/security checks pass with zero broken links and zero tracked personal data before proposing commit
21
+ ---
22
+ # Skill Authoring & Contributor Standard (Adapted from `anthropics/skills` & `obra/superpowers`)
23
+
24
+ ## When to Use & Preconditions
25
+
26
+ Ensures every community-contributed career skill, ATS playbook, or regional board guide triggers reliably, fits within lean context budgets, and passes CI on the first run.
27
+
28
+ - **Load when:** `author a new skill or platform playbook`; `edit or audit an existing skill`; `prepare skill PR for veycraft`.
29
+ - **Preconditions (stop if any is false):**
30
+ - desired capability does not duplicate an existing entry in `skills/REGISTRY.md`
31
+ - `.github/workflows/validate-repo.yml` checks are readable
32
+ - **Requires skills:** `meta-self-verification`, `privacy-pii-shield`. **MCP:** none.
33
+
34
+ ## Deterministic Step-by-Step Execution
35
+
36
+ 1. **Apply the Baseline Failure First (Skill TDD Rule):**
37
+ - Identify the exact real-world failure mode the skill prevents (e.g., an agent hallucinating metrics, skipping an ATS confirmation snapshot, or clicking through a login wall). Do not author vague filler essays.
38
+ 2. **Design for Progressive Disclosure (`< 500` Lines):**
39
+ - Keep the main skill Markdown concise and actionable (`~40–150` lines ideal; strictly under `500` lines).
40
+ - Write in clear **imperative steps** and explain *why* non-obvious constraints exist.
41
+ 3. **Follow Exact `veycraft` + `agentskills.io` Contract:**
42
+ - **Location:** core/career skills live at `skills/<NN>-<slug>.md`; job boards live at `skills/platforms/<board>.md` (start from `skills/platforms/_template.md`); employer ATS guides live at `skills/ats/<engine>.md`.
43
+ - **8 Required YAML Frontmatter Keys:** `name`, `version`, `description` (explicitly state *when to trigger* and what contexts activate it — never spoil a shortcut summary of the whole workflow so models still read the body), `triggers`, `requires_mcp` (strictly required MCPs: `playwright`, `notion`, or `none`; add optional `optional_mcp` when an MCP only enhances optional steps such as PDF printing or Notion sync), `preconditions`, `requires_skills` (matching existing `name`s), and `verification`.
44
+ - **3 Mandatory Exact H2 Headings:**
45
+ - `## When to Use & Preconditions`
46
+ - `## Deterministic Step-by-Step Execution`
47
+ - `## Anti-Patterns (What NEVER To Do) & Self-Verification Check`
48
+ 4. **Wire Discovery & Indexes Atomically:**
49
+ - Add a matching row to `skills/REGISTRY.md` (and update total skill count).
50
+ - Add the matching JSON object to `skills/skills-manifest.json`.
51
+ - Add `.agents/skills/<name>/SKILL.md` with exact `name: <name>` matching the directory name and `description` >= 20 chars so `/skills` auto-discovery works in VS Code, Cursor, Codex, and OpenCode.
52
+ - If adding a job board, add an `enabled: false` entry in `context/targets.yaml.example` and list it in `PLATFORMS.md`.
53
+ 5. **Run Full Verification Before Commit (`verification-before-completion`):**
54
+ - Verify valid JSON, valid YAML, zero broken relative Markdown links, zero broken `skills/` file references, and `privacy-pii-shield` compliance before claiming the PR is ready.
55
+
56
+ ## Anti-Patterns (What NEVER To Do) & Self-Verification Check
57
+
58
+ - **NEVER** summarize the entire step-by-step workflow inside the `description` frontmatter field (agents may skip reading the body).
59
+ - **NEVER** introduce runtime npm dependencies, `.pdf` resume fixtures, or personal URLs/emails in example templates.
60
+ - **NEVER** leave a new skill unindexed in `skills/REGISTRY.md` or `skills/skills-manifest.json`.
61
+ - **Self-Verification Check:** Before completing, verify frontmatter keys, all 3 exact H2 headings, `REGISTRY.md` + `skills-manifest.json` + `.agents/skills/` parity, and observed zero-error validation output.
@@ -1,60 +1,60 @@
1
- ---
2
- name: ats-keyword-heatmap
3
- version: "1.1.0"
4
- description: Load before exporting any tailored resume PDF to compute and display a deterministic Before vs. After ATS Keyword Match % table across domain-adaptive buckets (Core Domain Skills & Methodologies; Tools, Platforms & Systems; Credentials, Licensure & Compliance; Business Outcomes & Scope Signals) using only verified facts from context/cv.md.
5
- triggers:
6
- - ATS keyword heatmap
7
- - before vs after keyword match percentage
8
- - check resume keyword coverage before PDF export
9
- - compare JD keywords against tailored CV
10
- requires_mcp:
11
- - none
12
- preconditions:
13
- - full expanded job description text is captured
14
- - base CV (context/cv.md) and draft tailored HTML/bullets are available for comparison
15
- requires_skills:
16
- - tailor-resume-and-verify
17
- - discover-and-triage
18
- - recruiter-brand-and-domain-intelligence
19
- verification:
20
- - deterministic 4-row domain-adaptive heatmap table (Core Domain Skills & Methodologies; Tools, Platforms & Systems; Credentials, Licensure & Compliance; Business Outcomes & Scope Signals) shows exact matched/total counts and Before % vs. After %
21
- - every newly surfaced keyword in the After column maps to a real verified fact in context/cv.md or context/profile.md
22
- - missing keywords that the owner does not possess are listed transparently under True Gaps rather than hallucinated into the CV
23
- ---
24
- # ATS Keyword Heatmap & Coverage Verifier
25
-
26
- ## When to Use & Preconditions
27
-
28
- Quantifies exactly how much a tailored resume improves ATS keyword coverage over the base CV before printing the final PDF across any target industry—while proving zero unverified keywords were injected.
29
-
30
- - **Load when:** `ATS keyword heatmap`; `before vs after keyword match percentage`; `check resume keyword coverage before PDF export`; `compare JD keywords against tailored CV`.
31
- - **Preconditions (stop if any is false):**
32
- - full expanded job description text is captured
33
- - base CV (`context/cv.md`) and draft tailored resume HTML/text are available
34
- - **Requires skills:** `tailor-resume-and-verify`, `discover-and-triage`, `recruiter-brand-and-domain-intelligence`. **MCP:** none.
35
-
36
- ## Deterministic Step-by-Step Execution
37
-
38
- 1. **Extract Canonical Domain-Adaptive JD Keyword Inventory (4 Buckets):**
39
- - Identify the target **Domain Archetype** via `skills/28-recruiter-brand-and-domain-intelligence.md` (Step 1), then parse the captured job description into four deterministic domain-adaptive buckets:
40
- 1. **Core Domain Skills & Methodologies:** e.g., Tech: `TypeScript`, `System Design`, `CI/CD`; Commercial: `Enterprise Sales`, `Demand Generation`, `Account-Based Marketing`; Finance/Healthcare: `Financial Modeling`, `GAAP`, `Clinical Trials`, `Patient Triage`.
41
- 2. **Tools, Platforms & Systems:** e.g., Tech: `React`, `PostgreSQL`, `AWS`, `Kubernetes`; Commercial/Ops: `Salesforce`, `HubSpot`, `SAP`, `Tableau`; Healthcare/Legal: `Epic EHR`, `Veeva`, `Relativity`.
42
- 3. **Credentials, Licensure & Compliance:** e.g., `GDPR`, `SOC 2`, `ISO 27001`, `HIPAA`, `FDA 21 CFR`, `CPA`, `CFA`, `RN`, `PMP`, `Bar Admission`, `Security Clearance`.
43
- 4. **Business Outcomes & Scope Signals:** e.g., `Architecture`, `SLAs`, `ARR / Quota Attainment`, `EBITDA`, `P&L Ownership`, `Cross-Functional Leadership`, `Mentoring`, `Process Optimization`.
44
- 2. **Score Base CV (`Before %`) vs. Tailored CV (`After %`):**
45
- - Count exact or canonical-synonym matches present in `context/cv.md` (`Before`) versus the tailored `templates/ats-resume-template.html` draft (`After`).
46
- - Compute `Matched / Total` and percentage for each bucket and overall weighted coverage.
47
- 3. **Verify Every Added Keyword Against the Evidence Map:**
48
- - For every keyword gained between `Before` and `After` (e.g., surfacing `PostgreSQL`, `Salesforce`, or `HIPAA Compliance` from an older role in `context/cv.md` that was buried below the fold), cite the exact source employer/project in `context/cv.md`.
49
- - Separate keywords that do **not** exist in `context/cv.md` or `context/form-answers.yaml` into a **True Unclaimed Gaps** list (distinguishing mandatory knock-out gaps from wishlist items per `skills/28`).
50
- 4. **Render the Heatmap Table Before Printing PDF:**
51
- - Present the concise Markdown table in chat (and optionally inside `interview-dossier.md`):
52
- `| Category | JD Keywords | Base CV (Before) | Tailored CV (After) | Newly Surfaced (Verified) | True Unclaimed Gaps |`
53
- - Proceed to PDF export (`skills/03-tailor-resume-and-verify.md`) only when `Unverified Injected Keywords == 0`.
54
-
55
- ## Anti-Patterns (What NEVER To Do) & Self-Verification Check
56
-
57
- - **NEVER** inflate `After %` by stuffing unclaimed JD keywords into invisible text, white-on-white fonts, or fabricated bullet points.
58
- - **NEVER** count vague buzzwords (`"team player"`, `"fast-paced"`) as domain ATS keywords or force non-tech JDs into software-only examples.
59
- - **NEVER** hide missing required skills or mandatory credentials; surface them under **True Unclaimed Gaps** so the owner can confirm if they actually have that experience.
60
- - **Self-Verification Check:** Confirm all 4 domain-adaptive category rows (`Core Domain Skills & Methodologies`, `Tools, Platforms & Systems`, `Credentials, Licensure & Compliance`, `Business Outcomes & Scope Signals`) show exact `n/N (%)` math, every newly surfaced term traces to `context/cv.md`, and zero unverified keywords appear in the tailored resume.
1
+ ---
2
+ name: ats-keyword-heatmap
3
+ version: "1.1.0"
4
+ description: Load before exporting any tailored resume PDF to compute and display a deterministic Before vs. After ATS Keyword Match % table across domain-adaptive buckets (Core Domain Skills & Methodologies; Tools, Platforms & Systems; Credentials, Licensure & Compliance; Business Outcomes & Scope Signals) using only verified facts from context/cv.md.
5
+ triggers:
6
+ - ATS keyword heatmap
7
+ - before vs after keyword match percentage
8
+ - check resume keyword coverage before PDF export
9
+ - compare JD keywords against tailored CV
10
+ requires_mcp:
11
+ - none
12
+ preconditions:
13
+ - full expanded job description text is captured
14
+ - base CV (context/cv.md) and draft tailored HTML/bullets are available for comparison
15
+ requires_skills:
16
+ - tailor-resume-and-verify
17
+ - discover-and-triage
18
+ - recruiter-brand-and-domain-intelligence
19
+ verification:
20
+ - deterministic 4-row domain-adaptive heatmap table (Core Domain Skills & Methodologies; Tools, Platforms & Systems; Credentials, Licensure & Compliance; Business Outcomes & Scope Signals) shows exact matched/total counts and Before % vs. After %
21
+ - every newly surfaced keyword in the After column maps to a real verified fact in context/cv.md or context/profile.md
22
+ - missing keywords that the owner does not possess are listed transparently under True Gaps rather than hallucinated into the CV
23
+ ---
24
+ # ATS Keyword Heatmap & Coverage Verifier
25
+
26
+ ## When to Use & Preconditions
27
+
28
+ Quantifies exactly how much a tailored resume improves ATS keyword coverage over the base CV before printing the final PDF across any target industry—while proving zero unverified keywords were injected.
29
+
30
+ - **Load when:** `ATS keyword heatmap`; `before vs after keyword match percentage`; `check resume keyword coverage before PDF export`; `compare JD keywords against tailored CV`.
31
+ - **Preconditions (stop if any is false):**
32
+ - full expanded job description text is captured
33
+ - base CV (`context/cv.md`) and draft tailored resume HTML/text are available
34
+ - **Requires skills:** `tailor-resume-and-verify`, `discover-and-triage`, `recruiter-brand-and-domain-intelligence`. **MCP:** none.
35
+
36
+ ## Deterministic Step-by-Step Execution
37
+
38
+ 1. **Extract Canonical Domain-Adaptive JD Keyword Inventory (4 Buckets):**
39
+ - Identify the target **Domain Archetype** via `skills/28-recruiter-brand-and-domain-intelligence.md` (Step 1), then parse the captured job description into four deterministic domain-adaptive buckets:
40
+ 1. **Core Domain Skills & Methodologies:** e.g., Tech: `TypeScript`, `System Design`, `CI/CD`; Commercial: `Enterprise Sales`, `Demand Generation`, `Account-Based Marketing`; Finance/Healthcare: `Financial Modeling`, `GAAP`, `Clinical Trials`, `Patient Triage`.
41
+ 2. **Tools, Platforms & Systems:** e.g., Tech: `React`, `PostgreSQL`, `AWS`, `Kubernetes`; Commercial/Ops: `Salesforce`, `HubSpot`, `SAP`, `Tableau`; Healthcare/Legal: `Epic EHR`, `Veeva`, `Relativity`.
42
+ 3. **Credentials, Licensure & Compliance:** e.g., `GDPR`, `SOC 2`, `ISO 27001`, `HIPAA`, `FDA 21 CFR`, `CPA`, `CFA`, `RN`, `PMP`, `Bar Admission`, `Security Clearance`.
43
+ 4. **Business Outcomes & Scope Signals:** e.g., `Architecture`, `SLAs`, `ARR / Quota Attainment`, `EBITDA`, `P&L Ownership`, `Cross-Functional Leadership`, `Mentoring`, `Process Optimization`.
44
+ 2. **Score Base CV (`Before %`) vs. Tailored CV (`After %`):**
45
+ - Count exact or canonical-synonym matches present in `context/cv.md` (`Before`) versus the tailored `templates/ats-resume-template.html` draft (`After`).
46
+ - Compute `Matched / Total` and percentage for each bucket and overall weighted coverage.
47
+ 3. **Verify Every Added Keyword Against the Evidence Map:**
48
+ - For every keyword gained between `Before` and `After` (e.g., surfacing `PostgreSQL`, `Salesforce`, or `HIPAA Compliance` from an older role in `context/cv.md` that was buried below the fold), cite the exact source employer/project in `context/cv.md`.
49
+ - Separate keywords that do **not** exist in `context/cv.md` or `context/form-answers.yaml` into a **True Unclaimed Gaps** list (distinguishing mandatory knock-out gaps from wishlist items per `skills/28`).
50
+ 4. **Render the Heatmap Table Before Printing PDF:**
51
+ - Present the concise Markdown table in chat (and optionally inside `interview-dossier.md`):
52
+ `| Category | JD Keywords | Base CV (Before) | Tailored CV (After) | Newly Surfaced (Verified) | True Unclaimed Gaps |`
53
+ - Proceed to PDF export (`skills/03-tailor-resume-and-verify.md`) only when `Unverified Injected Keywords == 0`.
54
+
55
+ ## Anti-Patterns (What NEVER To Do) & Self-Verification Check
56
+
57
+ - **NEVER** inflate `After %` by stuffing unclaimed JD keywords into invisible text, white-on-white fonts, or fabricated bullet points.
58
+ - **NEVER** count vague buzzwords (`"team player"`, `"fast-paced"`) as domain ATS keywords or force non-tech JDs into software-only examples.
59
+ - **NEVER** hide missing required skills or mandatory credentials; surface them under **True Unclaimed Gaps** so the owner can confirm if they actually have that experience.
60
+ - **Self-Verification Check:** Confirm all 4 domain-adaptive category rows (`Core Domain Skills & Methodologies`, `Tools, Platforms & Systems`, `Credentials, Licensure & Compliance`, `Business Outcomes & Scope Signals`) show exact `n/N (%)` math, every newly surfaced term traces to `context/cv.md`, and zero unverified keywords appear in the tailored resume.
@@ -1,99 +1,99 @@
1
- ---
2
- name: universal-cv-builder
3
- version: "1.2.0"
4
- description: Load whenever building, rebuilding, auditing, or iteratively updating a professional ATS-ready CV for ANY person (repo owner or third party, tech or non-tech, fresh graduate or senior, with or without an existing CV); enforces fixed step-by-step SOPs, fact-confirmation gates, field/seniority adaptation, persistent revision state, and multi-format verified output.
5
- triggers:
6
- - create a CV for someone or from scratch
7
- - build a professional CV with or without an existing resume
8
- - rebuild, upgrade, or iteratively revise a saved CV
9
- - non-tech, fresh-graduate, or third-party CV creation
10
- requires_mcp:
11
- - none
12
- optional_mcp:
13
- - playwright
14
- preconditions:
15
- - user requested creating, rebuilding, or revising a CV for themselves or another person
16
- requires_skills:
17
- - resume-ingestion
18
- - tailor-resume-and-verify
19
- - recruiter-brand-and-domain-intelligence
20
- - meta-self-verification
21
- verification:
22
- - third-party CVs are strictly isolated under logs/resumes/cv-<person-slug>/ without modifying owner context/ files
23
- - Fact Table was explicitly confirmed before final rendering with 0 fabricated metrics, dates, titles, degrees, or tools
24
- - section order, headings, bullet quality, Anti-AI Slop filter, and A4 page-budget rules passed
25
- - cv-profile.json, cv-changelog.md, resume.html, Word-compatible resume.doc (never fake .docx), and resume.txt were written and re-read with 0 remaining placeholders
26
- ---
27
- # Universal Professional CV Builder & Iterative Revision Standard
28
-
29
- ## When to Use & Preconditions
30
-
31
- Use as the canonical, fixed rulebook whenever creating a professional ATS-compliant CV from scratch (no prior CV), rebuilding an existing CV, or making ongoing iterative revisions—for **any person** (owner or third party), **any field** (tech or non-tech), **any seniority** (student/fresh grad to executive), and **any language** (English LTR, Arabic RTL, or bilingual). No `/setup` or browser login is required.
32
-
33
- - **Load when:** `create a CV for someone or from scratch`; `build a professional CV with or without an existing resume`; `rebuild, upgrade, or iteratively revise a saved CV`; `non-tech, fresh-graduate, or third-party CV creation`.
34
- - **Preconditions (stop if any is false):**
35
- - user requested creating, rebuilding, or revising a CV for themselves or another person
36
- - **Requires skills:** `resume-ingestion`, `tailor-resume-and-verify`, `recruiter-brand-and-domain-intelligence`, `meta-self-verification` (plus `multilingual-adaptation` if Arabic/bilingual/EU). **MCP:** none (`playwright` optional for PDF reading/export).
37
-
38
- ## Deterministic Step-by-Step Execution
39
-
40
- ### 1. Workspace Isolation & Mode Detection
41
- - **Determine Subject:** Ask or confirm whether the CV is for **(a) the repo owner** or **(b) another person (third party)**.
42
- - **Third-Party Isolation Rule:** If building for another person, **NEVER** read from, mix with, or overwrite `context/profile.md`, `context/cv.md`, or `context/resume-data.json`. Save all files strictly inside `logs/resumes/cv-<person-slug>/`. If tracked in `logs/cv-versions.json`, mark `owner_scope: "third_party"` so third-party CVs (and any linked records via transitive CV ancestry) stay strictly excluded from owner analytics (`veycraft career analytics`) and Notion sync (`veycraft career sync`).
43
- - **Revision Check First:** If `logs/resumes/cv-<person-slug>/cv-profile.json` already exists, load it immediately and jump to **Step 5 (Iterative Revision Mode)**—never restart from scratch or re-ask confirmed facts.
44
-
45
- ### 2. Fixed Intake Path (Path A: No CV vs. Path B: Existing CV)
46
- - **Path A — No Existing CV (Guided Interview in Batches of 3–4 Questions):**
47
- - **Batch 1 (Target & Identity):** Target job title(s), CV language (`EN` / `AR` / both), career stage (student/fresh grad, mid-level, senior, career switcher), full name, city/country, email, phone, and relevant links (LinkedIn/Portfolio/GitHub if applicable).
48
- - **Batch 2 (Experience / Internships / Volunteering):** For each role: organization, title, location, `YYYY-MM` start/end dates, core responsibilities, and any real numbers/outcomes (team size, volume, revenue, speed, customers—never guess).
49
- - **Batch 3 (Education, Projects & Skills):** Degree, university, graduation year, notable projects/courses/certifications, hard skills/tools, and spoken languages.
50
- - **GitHub Project Dossier Hook (When Available):** For repo-owner CVs where `context/github-projects.md` exists (never read owner `context/github-projects.md` for third-party CVs per Step 1 isolation; for isolated third-party GitHub audits, read only `logs/resumes/cv-<person-slug>/`), pull code-verified project dossiers to strengthen the Projects section — strictly holding back any `requires_user_confirmation` metrics and NDA/private repositories until explicitly confirmed by the user.
51
- - **Path B — Has an Existing CV (Diagnostic Audit & Gap-Fill):**
52
- - Ingest via the best local path (`skills/01-resume-ingestion.md` Tiers 1–4). If a PDF is scanned/image-only or unreadable, warn clearly and request pasted text or `.docx`/`.md`/`.txt`. Always preserve the original file untouched.
53
- - Present a concise **5-Point Diagnostic Audit** before rewriting: (1) ATS readability, (2) section order & relevance, (3) bullet strength (passive duties vs. impact), (4) missing scope/dates/metrics, (5) length/bloat/clichés.
54
- - Ask ONLY 1–4 targeted gap-filling questions for missing or ambiguous items.
55
-
56
- ### 3. Fact-Confirmation Gate & Role/Field Adaptation
57
- - **Mandatory Fact Table:** Present all structured facts (contact, titles, organizations, `YYYY-MM` dates, education, skills, metrics) and obtain explicit user confirmation before generating the final CV.
58
- - **Adaptive Section Order (by Career Stage):**
59
- - **Student / Fresh Graduate (`0–1` yr):** Header -> 2-line Summary -> Education -> Projects / Internships -> Skills -> Certifications / Volunteering -> Languages.
60
- - **Experienced (`2+` yrs):** Header -> Professional Summary (2–3 lines) -> Professional Experience -> Skills / Core Competencies -> Selected Projects (if relevant) -> Education & Certifications -> Languages.
61
- - **Career Switcher:** Header -> Target-Aligned Summary -> Relevant Projects & Transferable Skills -> Experience (framed around transferable results) -> Education & Certifications.
62
- - **Field-Aware Headings & Market Positioning:** Detect the candidate's **Domain Archetype** via `skills/28-recruiter-brand-and-domain-intelligence.md` (Steps 1 & 3) to bind domain-authentic peer tone, adaptive headings (`Technical Skills` for software/IT/data; `Core Competencies & Tools`, `Clinical Licensure & Competencies`, or `Key Skills` for business, marketing, sales, finance, HR, operations, healthcare, or legal roles), Buyer Pain Point summary positioning, 6–10 second visual scan ordering, and truthful risk framing (gaps, contract sprints, career pivots) without hiding dates.
63
- - **Language & Direction:** For Arabic or bilingual CVs, apply `skills/15-multilingual-adaptation.md` (`dir="rtl"` for Arabic, `dir="ltr"` for English; keep brand/tool acronyms crisp).
64
-
65
- ### 4. Fixed Quality Gates, Rendering & Verification
66
- Apply all 4 non-negotiable gates from `skills/03-tailor-resume-and-verify.md` before delivering:
67
- 1. **Bullet Engineering (XYZ / STAR + Proof Density):** Start every bullet with a strong plain action verb appropriate to the candidate's domain (`Built`, `Managed`, `Reduced`, `Designed`, `Closed`, `Audited`, `Coordinated`) and rank content by `skills/28` Proof Density Hierarchy (`Quantified Business Outcome > Verified Operational Scope > Shipped Artifact/Deliverable > Credential/Tool`). Ban passive openers (`Responsible for`, `Duties included`, `Helped with`, `Worked on`). Keep every bullet `<= 160` characters (`1–2` printed lines).
68
- 2. **Zero Hallucination & Anti-AI Slop:** Zero unverified `%`, `$`, multipliers, dates, titles, or tools. Zero banned AI clichés (`spearheaded`, `synergy`, `delve`, `leveraged`, `orchestrated`, `proven track record`, `fast-paced environment`, `passionate about`) and zero prose em-dashes (`—`).
69
- 3. **ATS Layout & Page Budget:** Render single-column HTML from `templates/ats-resume-template.html` (zero tables, sidebars, icons, or progress bars; `@page { size: A4; margin: 12mm 14mm; }`). Enforce **1-page A4** (`<= 38` content lines) for `< 8` years of experience, or a **balanced 2-page A4** (`>= 70%` fill on page 2) for `>= 8` years. Never allow 1–8 orphan lines on page 2.
70
- 4. **Persistent Deliverables & Self-Verification (`skills/meta-self-verification.md`):**
71
- - Save inside `logs/resumes/cv-<person-slug>/`:
72
- - `cv-profile.json` — canonical verified facts, target role, language, layout settings, and `version` (`1`, `2`, ...)
73
- - `cv-changelog.md` — concise dated log of initial build and every revision
74
- - `resume.html` — single-column ATS HTML (include browser `Ctrl+P` -> `Save as PDF`, headers/footers OFF tip)
75
- - `resume.doc` — Word-compatible HTML `.doc` (explicitly labeled as Word-compatible HTML, never fake `.docx`)
76
- - `resume.txt` — clean plain-text version
77
- - `resume.pdf` — optional when Playwright MCP PDF export is available
78
- - Re-read every generated output file to confirm existence, 0 `{{...}}` placeholders, 0 banned clichés, and 100% factual match before reporting exact paths.
79
-
80
- ### 5. Iterative Revision Mode (Frequent Changes Without Restarting)
81
- Whenever the user returns with edits (*"change the summary"*, *"add a course/project"*, *"rewrite bullet 2"*, *"shorten to 1 page"*, *"translate to Arabic"*, *"adapt for a new role"*):
82
- 1. Read `logs/resumes/cv-<person-slug>/cv-profile.json` (and `cv-changelog.md`) directly—never re-ask unchanged details.
83
- 2. Confirm any newly introduced factual claims (dates, metrics, titles) if ambiguous.
84
- 3. Apply **surgical edits** only to the requested section(s) in `cv-profile.json`, increment `version`, and append a 1-line summary to `cv-changelog.md`.
85
- 4. Regenerate `resume.html`, `resume.doc`, `resume.txt` (and `resume.pdf` if available), re-read outputs to verify 0 placeholders and page budget compliance, and report exact paths + what changed.
86
-
87
- ## Anti-Patterns (What NEVER To Do) & Self-Verification Check
88
-
89
- ### Anti-patterns
90
- - ❌ Overwriting or mixing a third-party candidate's data into the repo owner's `context/` files → ✅ isolate every external CV inside `logs/resumes/cv-<person-slug>/`.
91
- - ❌ Inventing metrics (`"increased sales by 30%"`), inflating titles, or adding unverified tools to make a CV sound stronger → ✅ ask the user for real numbers or use truthful qualitative scope.
92
- - ❌ Asking a returning user to re-enter their entire CV for a small edit → ✅ load `cv-profile.json`, apply surgical edits, bump `version`, and log to `cv-changelog.md`.
93
- - ❌ Using multi-column tables, skill bars, passive `"Responsible for..."` bullets, or fake `.docx` renames → ✅ enforce single-column ATS HTML, XYZ bullets, and honest `.doc`/`.html`/`.txt` outputs.
94
-
95
- ### Self-verification check (before reporting this step complete)
96
- - [ ] third-party CVs are strictly isolated under `logs/resumes/cv-<person-slug>/` without modifying owner `context/` files
97
- - [ ] Fact Table was explicitly confirmed before final rendering with 0 fabricated metrics, dates, titles, degrees, or tools
98
- - [ ] section order, headings, bullet quality, Anti-AI Slop filter, and A4 page-budget rules passed
99
- - [ ] `cv-profile.json`, `cv-changelog.md`, `resume.html`, Word-compatible `resume.doc` (never fake `.docx`), and `resume.txt` were written and re-read with 0 remaining placeholders
1
+ ---
2
+ name: universal-cv-builder
3
+ version: "1.2.0"
4
+ description: Load whenever building, rebuilding, auditing, or iteratively updating a professional ATS-ready CV for ANY person (repo owner or third party, tech or non-tech, fresh graduate or senior, with or without an existing CV); enforces fixed step-by-step SOPs, fact-confirmation gates, field/seniority adaptation, persistent revision state, and multi-format verified output.
5
+ triggers:
6
+ - create a CV for someone or from scratch
7
+ - build a professional CV with or without an existing resume
8
+ - rebuild, upgrade, or iteratively revise a saved CV
9
+ - non-tech, fresh-graduate, or third-party CV creation
10
+ requires_mcp:
11
+ - none
12
+ optional_mcp:
13
+ - playwright
14
+ preconditions:
15
+ - user requested creating, rebuilding, or revising a CV for themselves or another person
16
+ requires_skills:
17
+ - resume-ingestion
18
+ - tailor-resume-and-verify
19
+ - recruiter-brand-and-domain-intelligence
20
+ - meta-self-verification
21
+ verification:
22
+ - third-party CVs are strictly isolated under logs/resumes/cv-<person-slug>/ without modifying owner context/ files
23
+ - Fact Table was explicitly confirmed before final rendering with 0 fabricated metrics, dates, titles, degrees, or tools
24
+ - section order, headings, bullet quality, Anti-AI Slop filter, and A4 page-budget rules passed
25
+ - cv-profile.json, cv-changelog.md, resume.html, Word-compatible resume.doc (never fake .docx), and resume.txt were written and re-read with 0 remaining placeholders
26
+ ---
27
+ # Universal Professional CV Builder & Iterative Revision Standard
28
+
29
+ ## When to Use & Preconditions
30
+
31
+ Use as the canonical, fixed rulebook whenever creating a professional ATS-compliant CV from scratch (no prior CV), rebuilding an existing CV, or making ongoing iterative revisions—for **any person** (owner or third party), **any field** (tech or non-tech), **any seniority** (student/fresh grad to executive), and **any language** (English LTR, Arabic RTL, or bilingual). No `/setup` or browser login is required.
32
+
33
+ - **Load when:** `create a CV for someone or from scratch`; `build a professional CV with or without an existing resume`; `rebuild, upgrade, or iteratively revise a saved CV`; `non-tech, fresh-graduate, or third-party CV creation`.
34
+ - **Preconditions (stop if any is false):**
35
+ - user requested creating, rebuilding, or revising a CV for themselves or another person
36
+ - **Requires skills:** `resume-ingestion`, `tailor-resume-and-verify`, `recruiter-brand-and-domain-intelligence`, `meta-self-verification` (plus `multilingual-adaptation` if Arabic/bilingual/EU). **MCP:** none (`playwright` optional for PDF reading/export).
37
+
38
+ ## Deterministic Step-by-Step Execution
39
+
40
+ ### 1. Workspace Isolation & Mode Detection
41
+ - **Determine Subject:** Ask or confirm whether the CV is for **(a) the repo owner** or **(b) another person (third party)**.
42
+ - **Third-Party Isolation Rule:** If building for another person, **NEVER** read from, mix with, or overwrite `context/profile.md`, `context/cv.md`, or `context/resume-data.json`. Save all files strictly inside `logs/resumes/cv-<person-slug>/`. If tracked in `logs/cv-versions.json`, mark `owner_scope: "third_party"` so third-party CVs (and any linked records via transitive CV ancestry) stay strictly excluded from owner analytics (`veycraft career analytics`) and Notion sync (`veycraft career sync`).
43
+ - **Revision Check First:** If `logs/resumes/cv-<person-slug>/cv-profile.json` already exists, load it immediately and jump to **Step 5 (Iterative Revision Mode)**—never restart from scratch or re-ask confirmed facts.
44
+
45
+ ### 2. Fixed Intake Path (Path A: No CV vs. Path B: Existing CV)
46
+ - **Path A — No Existing CV (Guided Interview in Batches of 3–4 Questions):**
47
+ - **Batch 1 (Target & Identity):** Target job title(s), CV language (`EN` / `AR` / both), career stage (student/fresh grad, mid-level, senior, career switcher), full name, city/country, email, phone, and relevant links (LinkedIn/Portfolio/GitHub if applicable).
48
+ - **Batch 2 (Experience / Internships / Volunteering):** For each role: organization, title, location, `YYYY-MM` start/end dates, core responsibilities, and any real numbers/outcomes (team size, volume, revenue, speed, customers—never guess).
49
+ - **Batch 3 (Education, Projects & Skills):** Degree, university, graduation year, notable projects/courses/certifications, hard skills/tools, and spoken languages.
50
+ - **GitHub Project Dossier Hook (When Available):** For repo-owner CVs where `context/github-projects.md` exists (never read owner `context/github-projects.md` for third-party CVs per Step 1 isolation; for isolated third-party GitHub audits, read only `logs/resumes/cv-<person-slug>/`), pull code-verified project dossiers to strengthen the Projects section — strictly holding back any `requires_user_confirmation` metrics and NDA/private repositories until explicitly confirmed by the user.
51
+ - **Path B — Has an Existing CV (Diagnostic Audit & Gap-Fill):**
52
+ - Ingest via the best local path (`skills/01-resume-ingestion.md` Tiers 1–4). If a PDF is scanned/image-only or unreadable, warn clearly and request pasted text or `.docx`/`.md`/`.txt`. Always preserve the original file untouched.
53
+ - Present a concise **5-Point Diagnostic Audit** before rewriting: (1) ATS readability, (2) section order & relevance, (3) bullet strength (passive duties vs. impact), (4) missing scope/dates/metrics, (5) length/bloat/clichés.
54
+ - Ask ONLY 1–4 targeted gap-filling questions for missing or ambiguous items.
55
+
56
+ ### 3. Fact-Confirmation Gate & Role/Field Adaptation
57
+ - **Mandatory Fact Table:** Present all structured facts (contact, titles, organizations, `YYYY-MM` dates, education, skills, metrics) and obtain explicit user confirmation before generating the final CV.
58
+ - **Adaptive Section Order (by Career Stage):**
59
+ - **Student / Fresh Graduate (`0–1` yr):** Header -> 2-line Summary -> Education -> Projects / Internships -> Skills -> Certifications / Volunteering -> Languages.
60
+ - **Experienced (`2+` yrs):** Header -> Professional Summary (2–3 lines) -> Professional Experience -> Skills / Core Competencies -> Selected Projects (if relevant) -> Education & Certifications -> Languages.
61
+ - **Career Switcher:** Header -> Target-Aligned Summary -> Relevant Projects & Transferable Skills -> Experience (framed around transferable results) -> Education & Certifications.
62
+ - **Field-Aware Headings & Market Positioning:** Detect the candidate's **Domain Archetype** via `skills/28-recruiter-brand-and-domain-intelligence.md` (Steps 1 & 3) to bind domain-authentic peer tone, adaptive headings (`Technical Skills` for software/IT/data; `Core Competencies & Tools`, `Clinical Licensure & Competencies`, or `Key Skills` for business, marketing, sales, finance, HR, operations, healthcare, or legal roles), Buyer Pain Point summary positioning, 6–10 second visual scan ordering, and truthful risk framing (gaps, contract sprints, career pivots) without hiding dates.
63
+ - **Language & Direction:** For Arabic or bilingual CVs, apply `skills/15-multilingual-adaptation.md` (`dir="rtl"` for Arabic, `dir="ltr"` for English; keep brand/tool acronyms crisp).
64
+
65
+ ### 4. Fixed Quality Gates, Rendering & Verification
66
+ Apply all 4 non-negotiable gates from `skills/03-tailor-resume-and-verify.md` before delivering:
67
+ 1. **Bullet Engineering (XYZ / STAR + Proof Density):** Start every bullet with a strong plain action verb appropriate to the candidate's domain (`Built`, `Managed`, `Reduced`, `Designed`, `Closed`, `Audited`, `Coordinated`) and rank content by `skills/28` Proof Density Hierarchy (`Quantified Business Outcome > Verified Operational Scope > Shipped Artifact/Deliverable > Credential/Tool`). Ban passive openers (`Responsible for`, `Duties included`, `Helped with`, `Worked on`). Keep every bullet `<= 160` characters (`1–2` printed lines).
68
+ 2. **Zero Hallucination & Anti-AI Slop:** Zero unverified `%`, `$`, multipliers, dates, titles, or tools. Zero banned AI clichés (`spearheaded`, `synergy`, `delve`, `leveraged`, `orchestrated`, `proven track record`, `fast-paced environment`, `passionate about`) and zero prose em-dashes (`—`).
69
+ 3. **ATS Layout & Page Budget:** Render single-column HTML from `templates/ats-resume-template.html` (zero tables, sidebars, icons, or progress bars; `@page { size: A4; margin: 12mm 14mm; }`). Enforce **1-page A4** (`<= 38` content lines) for `< 8` years of experience, or a **balanced 2-page A4** (`>= 70%` fill on page 2) for `>= 8` years. Never allow 1–8 orphan lines on page 2.
70
+ 4. **Persistent Deliverables & Self-Verification (`skills/meta-self-verification.md`):**
71
+ - Save inside `logs/resumes/cv-<person-slug>/`:
72
+ - `cv-profile.json` — canonical verified facts, target role, language, layout settings, and `version` (`1`, `2`, ...)
73
+ - `cv-changelog.md` — concise dated log of initial build and every revision
74
+ - `resume.html` — single-column ATS HTML (include browser `Ctrl+P` -> `Save as PDF`, headers/footers OFF tip)
75
+ - `resume.doc` — Word-compatible HTML `.doc` (explicitly labeled as Word-compatible HTML, never fake `.docx`)
76
+ - `resume.txt` — clean plain-text version
77
+ - `resume.pdf` — optional when Playwright MCP PDF export is available
78
+ - Re-read every generated output file to confirm existence, 0 `{{...}}` placeholders, 0 banned clichés, and 100% factual match before reporting exact paths.
79
+
80
+ ### 5. Iterative Revision Mode (Frequent Changes Without Restarting)
81
+ Whenever the user returns with edits (*"change the summary"*, *"add a course/project"*, *"rewrite bullet 2"*, *"shorten to 1 page"*, *"translate to Arabic"*, *"adapt for a new role"*):
82
+ 1. Read `logs/resumes/cv-<person-slug>/cv-profile.json` (and `cv-changelog.md`) directly—never re-ask unchanged details.
83
+ 2. Confirm any newly introduced factual claims (dates, metrics, titles) if ambiguous.
84
+ 3. Apply **surgical edits** only to the requested section(s) in `cv-profile.json`, increment `version`, and append a 1-line summary to `cv-changelog.md`.
85
+ 4. Regenerate `resume.html`, `resume.doc`, `resume.txt` (and `resume.pdf` if available), re-read outputs to verify 0 placeholders and page budget compliance, and report exact paths + what changed.
86
+
87
+ ## Anti-Patterns (What NEVER To Do) & Self-Verification Check
88
+
89
+ ### Anti-patterns
90
+ - ❌ Overwriting or mixing a third-party candidate's data into the repo owner's `context/` files → ✅ isolate every external CV inside `logs/resumes/cv-<person-slug>/`.
91
+ - ❌ Inventing metrics (`"increased sales by 30%"`), inflating titles, or adding unverified tools to make a CV sound stronger → ✅ ask the user for real numbers or use truthful qualitative scope.
92
+ - ❌ Asking a returning user to re-enter their entire CV for a small edit → ✅ load `cv-profile.json`, apply surgical edits, bump `version`, and log to `cv-changelog.md`.
93
+ - ❌ Using multi-column tables, skill bars, passive `"Responsible for..."` bullets, or fake `.docx` renames → ✅ enforce single-column ATS HTML, XYZ bullets, and honest `.doc`/`.html`/`.txt` outputs.
94
+
95
+ ### Self-verification check (before reporting this step complete)
96
+ - [ ] third-party CVs are strictly isolated under `logs/resumes/cv-<person-slug>/` without modifying owner `context/` files
97
+ - [ ] Fact Table was explicitly confirmed before final rendering with 0 fabricated metrics, dates, titles, degrees, or tools
98
+ - [ ] section order, headings, bullet quality, Anti-AI Slop filter, and A4 page-budget rules passed
99
+ - [ ] `cv-profile.json`, `cv-changelog.md`, `resume.html`, Word-compatible `resume.doc` (never fake `.docx`), and `resume.txt` were written and re-read with 0 remaining placeholders