veycraft 0.0.0-stage → 2.8.0
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.
- package/.agent/workflows/apply-url.md +8 -0
- package/.agent/workflows/build-portfolio.md +7 -0
- package/.agent/workflows/daily-run.md +7 -0
- package/.agent/workflows/demo.md +23 -0
- package/.agent/workflows/freelance-bid.md +7 -0
- package/.agent/workflows/freelance-service.md +7 -0
- package/.agent/workflows/github-audit.md +7 -0
- package/.agent/workflows/github-remote.md +7 -0
- package/.agent/workflows/linkedin-growth.md +7 -0
- package/.agent/workflows/portfolio-design.md +7 -0
- package/.agent/workflows/profile-update.md +8 -0
- package/.agent/workflows/quick-tailor.md +20 -0
- package/.agent/workflows/setup.md +8 -0
- package/.agent/workflows/tailor-cv.md +8 -0
- package/.agent/workflows/weekly-report.md +7 -0
- package/.agents/skills/apply-url/SKILL.md +10 -0
- package/.agents/skills/contract-and-nda-auditor/SKILL.md +9 -0
- package/.agents/skills/daily-run/SKILL.md +10 -0
- package/.agents/skills/demo/SKILL.md +10 -0
- package/.agents/skills/freelance-offer-radar-and-batch-bidder/SKILL.md +10 -0
- package/.agents/skills/freelance-profile-and-service-publisher/SKILL.md +10 -0
- package/.agents/skills/github-cli-remote-manager/SKILL.md +10 -0
- package/.agents/skills/linkedin-growth/SKILL.md +10 -0
- package/.agents/skills/offer-negotiator/SKILL.md +9 -0
- package/.agents/skills/profile-intelligence-engine/SKILL.md +10 -0
- package/.agents/skills/quick-tailor/SKILL.md +10 -0
- package/.agents/skills/recruiter-inbox-triage/SKILL.md +9 -0
- package/.agents/skills/rejection-pattern-analyzer/SKILL.md +9 -0
- package/.agents/skills/score-calibration/SKILL.md +9 -0
- package/.agents/skills/setup/SKILL.md +10 -0
- package/.agents/skills/tailor-cv/SKILL.md +10 -0
- package/.agents/skills/weekly-report/SKILL.md +10 -0
- package/.aiassistant/rules/AGENTS.md +11 -0
- package/.aider.conf.yml +5 -0
- package/.amazonq/rules/job-hunter.md +12 -0
- package/.augment/rules/job-hunter.md +17 -0
- package/.clinerules +14 -0
- package/.continue/rules/job-hunter.md +15 -0
- package/.cursor/rules/job-hunter.mdc +9 -0
- package/.github/CODEOWNERS +3 -0
- package/.github/copilot-instructions.md +5 -0
- package/.github/prompts/daily-run.prompt.md +10 -0
- package/.goosehints +12 -0
- package/.junie/guidelines.md +12 -0
- package/.kiro/steering/job-hunter.md +15 -0
- package/.openhands/microagents/repo.md +18 -0
- package/.roo/rules/job-hunter.md +12 -0
- package/.rules +12 -0
- package/.trae/rules/project_rules.md +10 -0
- package/.windsurfrules +14 -0
- package/AGENTS.md +126 -0
- package/AUTHORS.md +13 -0
- package/CHANGELOG.md +309 -0
- package/CLAUDE.md +22 -0
- package/CRUSH.md +12 -0
- package/GEMINI.md +42 -0
- package/HIRED.md +32 -0
- package/LICENSE +26 -0
- package/NOTICE +22 -0
- package/PLATFORMS.md +93 -0
- package/PROVENANCE.json +19 -0
- package/README.ar.md +238 -0
- package/README.md +208 -3
- package/WARP.md +12 -0
- package/adapters/apps/chatgpt-and-web-chats.md +18 -0
- package/adapters/apps/devin-desktop.md +13 -0
- package/adapters/apps/gemini-and-copilot.md +25 -0
- package/adapters/apps/hermes-pi-factory-openclaw.md +24 -0
- package/adapters/apps/openai-codex-cli.md +23 -0
- package/adapters/apps/opencode-and-kilocode.md +16 -0
- package/adapters/apps/qwen-mistral-kimi-deepseek.md +37 -0
- package/adapters/models/claude.md +28 -0
- package/adapters/models/deepseek-qwen-local.md +24 -0
- package/adapters/models/gemini.md +16 -0
- package/adapters/models/grok-and-kimi.md +14 -0
- package/adapters/models/mistral-and-llama.md +13 -0
- package/adapters/models/openai.md +16 -0
- package/bin/browser-payloads.mjs +507 -0
- package/bin/career-intelligence.mjs +8090 -0
- package/bin/cli.mjs +2032 -0
- package/bin/core-ops.mjs +1855 -0
- package/bin/fast-ops.mjs +1392 -0
- package/bin/fs-safety.mjs +1091 -0
- package/bin/mcp-server.mjs +787 -0
- package/bin/notion-sync.mjs +4625 -0
- package/bin/profile-intelligence.mjs +690 -0
- package/bin/ui-server.mjs +948 -0
- package/commands/apply-url.md +2 -0
- package/commands/build-portfolio.md +2 -0
- package/commands/daily-run.md +2 -0
- package/commands/demo.md +2 -0
- package/commands/freelance-bid.md +2 -0
- package/commands/freelance-service.md +2 -0
- package/commands/github-audit.md +2 -0
- package/commands/github-remote.md +2 -0
- package/commands/linkedin-growth.md +2 -0
- package/commands/portfolio-design.md +2 -0
- package/commands/profile-update.md +1 -0
- package/commands/quick-tailor.md +2 -0
- package/commands/setup.md +2 -0
- package/commands/tailor-cv.md +2 -0
- package/commands/weekly-report.md +2 -0
- package/config/guardrails.yaml +67 -0
- package/config/invariants.txt +7 -0
- package/context/DROP_YOUR_FILES_HERE.md +9 -0
- package/context/cv.md.example +12 -0
- package/context/feeds.yaml.example +27 -0
- package/context/form-answers.yaml.example +45 -0
- package/context/preferences.yaml.example +15 -0
- package/context/profile.md.example +20 -0
- package/context/readiness-state.json.example +64 -0
- package/context/resume-data.json.example +29 -0
- package/context/resume-facts.json.example +1 -0
- package/context/targets.yaml.example +433 -0
- package/docs/ARCHITECTURE.md +106 -0
- package/docs/COMPATIBILITY.md +92 -0
- package/docs/OPTIONAL_MCP_PLUGINS.md +49 -0
- package/docs/SKILL_CATALOG.md +73 -0
- package/docs/chat-commands.md +33 -0
- package/docs/demo-dashboard.html +646 -0
- package/docs/execution-safety.md +34 -0
- package/docs/index.html +634 -0
- package/docs/platform-registry.md +23 -0
- package/docs/repository-audit.md +12 -0
- package/evals/PROMPT.md +31 -0
- package/evals/README.md +36 -0
- package/evals/RUBRIC.md +51 -0
- package/evals/approval-gate.test.mjs +432 -0
- package/evals/career-intelligence.test.mjs +4647 -0
- package/evals/fast-ops.test.mjs +614 -0
- package/evals/fixtures/boards/bayt-mock.html +255 -0
- package/evals/fixtures/boards/gulftalent-mock.html +250 -0
- package/evals/fixtures/boards/naukri-mock.html +262 -0
- package/evals/fixtures/boards/stepstone-mock.html +245 -0
- package/evals/fixtures/candidate-profile.md +40 -0
- package/evals/fixtures/forms/ashby-mock.html +41 -0
- package/evals/fixtures/forms/greenhouse-mock.html +77 -0
- package/evals/fixtures/forms/lever-mock.html +46 -0
- package/evals/fixtures/forms/workday-mock.html +328 -0
- package/evals/fixtures/ground-truth.json +53 -0
- package/evals/fixtures/jds/01-strong-match.md +22 -0
- package/evals/fixtures/jds/02-prompt-injection-trap.md +23 -0
- package/evals/fixtures/jds/03-ghost-expired-job.md +14 -0
- package/evals/fixtures/jds/04-blacklist-duplicate.md +15 -0
- package/evals/fixtures/jds/05-stretch-mismatch.md +13 -0
- package/evals/journeys/journey-matrix.json +333 -0
- package/evals/journeys/run-journeys.test.mjs +1201 -0
- package/evals/mcp-server.test.mjs +665 -0
- package/evals/mena-boards.test.mjs +339 -0
- package/evals/naukri-board.test.mjs +304 -0
- package/evals/notion-sync.test.mjs +3479 -0
- package/evals/profile-intelligence.test.mjs +529 -0
- package/evals/results/baseline-verified-run.json +125 -0
- package/evals/results/live-agent-eval-run.json +143 -0
- package/evals/stepstone-board.test.mjs +318 -0
- package/evals/ui-server.test.mjs +502 -0
- package/evals/workday-fixture.test.mjs +268 -0
- package/examples/outputs/sample-interrogation-transcript.md +36 -0
- package/examples/outputs/sample-interview-dossier.md +33 -0
- package/examples/outputs/sample-outreach-75-words.md +13 -0
- package/examples/outputs/sample-tailoring-notes.md +70 -0
- package/examples/sandbox-demo/demo-profile.md +45 -0
- package/examples/sandbox-demo/expected-mission-control.md +16 -0
- package/examples/sandbox-demo/sample-jds.md +39 -0
- package/glama.json +6 -0
- package/llms.txt +70 -0
- package/mcp/README.md +80 -0
- package/mcp/claude_desktop_config.example.json +47 -0
- package/mcp/mcp.template.json +33 -0
- package/opencode.json +42 -0
- package/package.json +115 -6
- package/prompts/partials/pacing.md +8 -0
- package/prompts/partials/snapshot-first.md +4 -0
- package/prompts/partials/stop-conditions.md +5 -0
- package/schemas/application-ledger.schema.json +272 -0
- package/schemas/career-insights.schema.json +111 -0
- package/schemas/cv-versions.schema.json +83 -0
- package/schemas/notion-sync-plan.schema.json +338 -0
- package/schemas/profile-update-plan.schema.json +133 -0
- package/schemas/readiness.schema.json +484 -0
- package/schemas/resume-data.schema.json +171 -0
- package/scripts/install.ps1 +107 -0
- package/scripts/install.sh +130 -0
- package/skills/00-daily-run.md +89 -0
- package/skills/00-interrogate-and-onboard.md +87 -0
- package/skills/01-resume-ingestion.md +76 -0
- package/skills/02-discover-and-triage.md +121 -0
- package/skills/03-tailor-resume-and-verify.md +114 -0
- package/skills/04-fill-and-apply.md +108 -0
- package/skills/05-outreach-and-interview-prep.md +80 -0
- package/skills/06-log-and-insights.md +99 -0
- package/skills/07-persona-switcher.md +61 -0
- package/skills/08-follow-up-radar.md +59 -0
- package/skills/09-offer-negotiator.md +62 -0
- package/skills/10-autonomous-scheduler-loop.md +64 -0
- package/skills/11-portfolio-and-github-auditor.md +130 -0
- package/skills/12-recruiter-inbox-triage.md +69 -0
- package/skills/13-company-due-diligence.md +60 -0
- package/skills/14-privacy-pii-shield.md +56 -0
- package/skills/15-multilingual-adaptation.md +61 -0
- package/skills/16-rejection-pattern-analyzer.md +60 -0
- package/skills/17-score-calibration.md +61 -0
- package/skills/18-condition-based-browser-waiting.md +65 -0
- package/skills/19-on-demand-mcp-routing.md +69 -0
- package/skills/20-skill-authoring-standard.md +61 -0
- package/skills/21-ats-keyword-heatmap.md +60 -0
- package/skills/22-technical-assessment-architect.md +59 -0
- package/skills/23-contract-and-nda-auditor.md +60 -0
- package/skills/24-circuit-breaker-and-antiban.md +68 -0
- package/skills/25-prompt-injection-defense.md +59 -0
- package/skills/26-deduplication-and-blacklist-guard.md +59 -0
- package/skills/27-universal-cv-builder.md +99 -0
- package/skills/28-recruiter-brand-and-domain-intelligence.md +99 -0
- package/skills/29-portfolio-builder-and-deployer.md +160 -0
- package/skills/30-portfolio-design-system-and-qa.md +163 -0
- package/skills/54-github-cli-remote-manager.md +144 -0
- package/skills/55-freelance-profile-and-service-publisher.md +90 -0
- package/skills/56-freelance-offer-radar-and-batch-bidder.md +94 -0
- package/skills/REGISTRY.md +98 -0
- package/skills/ats/ashby.md +54 -0
- package/skills/ats/breezyhr.md +54 -0
- package/skills/ats/greenhouse.md +54 -0
- package/skills/ats/lever.md +54 -0
- package/skills/ats/smartrecruiters.md +54 -0
- package/skills/ats/taleo.md +43 -0
- package/skills/ats/workday.md +49 -0
- package/skills/fallback-no-mcp.md +57 -0
- package/skills/linkedin-growth.md +188 -0
- package/skills/meta-context-compaction.md +88 -0
- package/skills/meta-dom-recovery.md +63 -0
- package/skills/meta-self-verification.md +75 -0
- package/skills/meta-structured-debugging.md +69 -0
- package/skills/platforms/_template.md +69 -0
- package/skills/platforms/ats-engines.md +67 -0
- package/skills/platforms/b2b-contract-networks.md +59 -0
- package/skills/platforms/global-boards.md +122 -0
- package/skills/platforms/linkedin.md +162 -0
- package/skills/platforms/mena-boards.md +99 -0
- package/skills/platforms/remote-boards.md +64 -0
- package/skills/platforms/wellfound.md +59 -0
- package/skills/profile-intelligence-engine.md +98 -0
- package/skills/skills-manifest.json +1730 -0
- package/templates/analytics-dashboard.html +1106 -0
- package/templates/ats-cover-letter-template.html +29 -0
- package/templates/ats-resume-template.html +38 -0
- package/templates/ats-resume.html +3 -0
- package/ui/app.js +1113 -0
- package/ui/favicon.svg +4 -0
- package/ui/index.html +53 -0
- package/ui/styles.css +595 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deduplication-and-blacklist-guard
|
|
3
|
+
version: "1.0.0"
|
|
4
|
+
description: Load during discovery and before tailoring or filling any application to block blacklisted employers/domains in context/preferences.yaml and enforce cross-channel canonical job fingerprinting (company::role_title) against logs/applications-log.json so the same job is never applied to twice across LinkedIn, Wellfound, and direct ATS boards.
|
|
5
|
+
triggers:
|
|
6
|
+
- check job for duplicate or blacklisted employer
|
|
7
|
+
- cross-channel deduplication check
|
|
8
|
+
- verify company against blacklisted_companies and blacklisted_domains
|
|
9
|
+
requires_mcp:
|
|
10
|
+
- none
|
|
11
|
+
preconditions:
|
|
12
|
+
- context/preferences.yaml, logs/applications-log.json, and logs/skipped-jobs.json are readable
|
|
13
|
+
- candidate job posting company name, role title, and URL/domain are extracted
|
|
14
|
+
requires_skills:
|
|
15
|
+
- discover-and-triage
|
|
16
|
+
- log-and-insights
|
|
17
|
+
verification:
|
|
18
|
+
- company name and destination domain were checked against blacklisted_companies and blacklisted_domains in context/preferences.yaml (case-insensitive substring and domain match)
|
|
19
|
+
- canonical fingerprint normalize(company) + "::" + normalize(role_title) plus canonical URL/job_id were checked against logs/applications-log.json before tailoring or opening any form
|
|
20
|
+
- any matched duplicate or blacklisted posting was skipped cleanly and logged to logs/skipped-jobs.json with reason duplicate_cross_channel or blacklisted_employer
|
|
21
|
+
---
|
|
22
|
+
# Cross-Channel Deduplication & Employer Blacklist Guard
|
|
23
|
+
|
|
24
|
+
## When to Use & Preconditions
|
|
25
|
+
|
|
26
|
+
Prevents two high-cost job-hunting disasters: (1) accidentally sending an application to the owner's current employer, a toxic former workplace, or a blacklisted staffing agency, and (2) double-applying to the exact same requisition listed simultaneously on LinkedIn, Wellfound, Wuzzuf, and the company's Greenhouse/Lever board.
|
|
27
|
+
|
|
28
|
+
- **Load when:** `check job for duplicate or blacklisted employer`; `cross-channel deduplication check`; `verify company against blacklisted_companies and blacklisted_domains`.
|
|
29
|
+
- **Preconditions (stop if any is false):**
|
|
30
|
+
- `context/preferences.yaml`, `logs/applications-log.json`, and `logs/skipped-jobs.json` are readable
|
|
31
|
+
- posting company name, role title, and URL/domain are known
|
|
32
|
+
- **Requires skills:** `discover-and-triage`, `log-and-insights`. **MCP:** none.
|
|
33
|
+
|
|
34
|
+
## Deterministic Step-by-Step Execution
|
|
35
|
+
|
|
36
|
+
1. **Employer & Domain Blacklist Check (`context/preferences.yaml`):**
|
|
37
|
+
- Read `blacklisted_companies` (and legacy alias `blacklist_companies`) plus `blacklisted_domains` from `context/preferences.yaml`.
|
|
38
|
+
- Also check if the owner's *current active employer* in `context/cv.md` (`Present` / `Current`) matches the hiring company (unless the owner explicitly requested an internal transfer).
|
|
39
|
+
- Compare case-insensitively against:
|
|
40
|
+
- Posted company name and parent brand mentioned in the JD (`"A subsidiary of X"`).
|
|
41
|
+
- External application URL hostname and any recruiter email domain in the JD.
|
|
42
|
+
- If matched: immediately mark `🔴 Skipped (Blacklisted Employer/Domain)` in Mission Control and record in `logs/skipped-jobs.json` with `reason: "blacklisted_employer"`.
|
|
43
|
+
2. **Compute Canonical Cross-Channel Fingerprint:**
|
|
44
|
+
- Normalize `company`: lowercase, strip legal suffixes (`inc`, `llc`, `ltd`, `gmbh`, `corp`, `co`, `technologies`, `labs`), strip punctuation, and collapse whitespace.
|
|
45
|
+
- Normalize `role_title`: lowercase, expand common abbreviations (`sr.` -> `senior`, `jr.` -> `junior`, `eng` -> `engineer`, `fullstack` / `full stack` -> `full-stack`, `fe` -> `frontend`, `be` -> `backend`), strip trailing location/work-mode parentheticals (`(remote)`, `- EMEA`, `(m/f/d)`), and collapse whitespace.
|
|
46
|
+
- Construct canonical key: `fingerprint = "<normalized_company>::<normalized_role_title>"`.
|
|
47
|
+
3. **Cross-Check Against `logs/applications-log.json` & Active Batch:**
|
|
48
|
+
- Scan all entries in `logs/applications-log.json` (plus earlier items in the current discovery batch) for:
|
|
49
|
+
1. Exact `job_id` or canonical URL match (stripping `utm_*`, `refId`, `trackingId`, `gh_jid` query noise).
|
|
50
|
+
2. Matching `fingerprint` (`normalize(company) + "::" + normalize(role_title)`) applied within the last **60 days** on ANY platform (e.g., applied via `linkedin` Easy Apply on Monday, discovered on `greenhouse` or `wellfound` on Wednesday).
|
|
51
|
+
- If a match exists with status `applied`, `submission_uncertain`, `interview`, `assessment`, or `offer`:
|
|
52
|
+
- Skip the duplicate immediately, log to `logs/skipped-jobs.json` (`reason: "duplicate_cross_channel"`, `matched_job_id`), and label it in Mission Control (`⚪ Duplicate — Already applied via <platform> on <date>`).
|
|
53
|
+
|
|
54
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
55
|
+
|
|
56
|
+
- **NEVER** rely solely on platform-specific `job_id` (e.g., `linkedin-123` vs. `greenhouse-456`) to detect duplicates—always check `normalize(company)::normalize(role_title)` as well.
|
|
57
|
+
- **NEVER** apply to the owner's current `"Present"` employer from `context/cv.md` or any entry in `blacklisted_companies` / `blacklisted_domains`.
|
|
58
|
+
- **NEVER** re-tailor a PDF for a role that already has an active `applied` or `submission_uncertain` record.
|
|
59
|
+
- **Self-Verification Check:** Confirm `blacklisted_companies`, `blacklisted_domains`, current employer, canonical URL, and `company::role_title` fingerprint were all verified against `logs/applications-log.json` before tailoring or form filling.
|
|
@@ -0,0 +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
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: recruiter-brand-and-domain-intelligence
|
|
3
|
+
version: "1.0.0"
|
|
4
|
+
description: Load whenever decoding or scoring job descriptions, tailoring or building CVs across any industry, switching career personas, or optimizing LinkedIn and cross-platform profiles with senior recruiter, hiring manager, personal-branding, and domain-adaptive lenses.
|
|
5
|
+
triggers:
|
|
6
|
+
- decode job description with HR recruiter and hiring manager lens
|
|
7
|
+
- adapt CV, persona, or profile to target domain or industry
|
|
8
|
+
- optimize CV positioning or truthful red-flag framing for 6-10 second scan
|
|
9
|
+
- optimize LinkedIn Recruiter SEO, Boolean alignment, and personal branding
|
|
10
|
+
requires_mcp:
|
|
11
|
+
- none
|
|
12
|
+
preconditions:
|
|
13
|
+
- verified candidate facts available in context/ or confirmed in the active session
|
|
14
|
+
- target role, job description, CV, persona, or profile text supplied
|
|
15
|
+
requires_skills:
|
|
16
|
+
- meta-self-verification
|
|
17
|
+
verification:
|
|
18
|
+
- Domain Archetype detected dynamically from JD and context without assuming Software Engineering
|
|
19
|
+
- JD True Knock-Out Screeners separated from HR Wishlist Inflation, organizational signals flagged, and Buyer Pain Point extracted
|
|
20
|
+
- CV positioning enforces 6-10s scan hierarchy, Proof Density Hierarchy, and 100% truthful risk framing with zero fabricated facts
|
|
21
|
+
- LinkedIn and profile positioning aligns canonical Experience titles, Recruiter Boolean keywords, 50-skill tagging, and authority surfaces using verified facts only
|
|
22
|
+
---
|
|
23
|
+
# Recruiter, Personal Brand & Domain-Agnostic Market Intelligence
|
|
24
|
+
|
|
25
|
+
## When to Use & Preconditions
|
|
26
|
+
|
|
27
|
+
Cross-cutting intelligence layer giving JD discovery, CV tailoring/building, persona switching, and LinkedIn/profile optimization the judgment of a Senior TA Recruiter, Hiring Manager, and Personal Brand Strategist—dynamically adapted to any industry.
|
|
28
|
+
|
|
29
|
+
- **Load when:** scoring or decoding JDs; tailoring or creating CVs (`03-tailor-resume-and-verify`, `27-universal-cv-builder`); computing ATS heatmaps (`21-ats-keyword-heatmap`); switching personas (`07-persona-switcher`); or auditing LinkedIn and job-board profiles (`linkedin-growth`, `profile-intelligence-engine`).
|
|
30
|
+
- **Preconditions (stop if any is false):**
|
|
31
|
+
- verified candidate facts exist in `context/` or active session confirmations
|
|
32
|
+
- target role, JD, CV, persona, or profile text is supplied
|
|
33
|
+
- **Requires skills:** `meta-self-verification`. **MCP:** none.
|
|
34
|
+
|
|
35
|
+
## Deterministic Step-by-Step Execution
|
|
36
|
+
|
|
37
|
+
### 1. Step 1 — Dynamic Domain Archetype Detection & Market Adapter
|
|
38
|
+
1. **Infer Target Domain Archetype (Never Default to Software Engineering):** Inspect target role title, JD language, and `context/` to select the primary archetype (or hybrid):
|
|
39
|
+
- `Engineering/Data/AI` · `Product/Design` · `Sales/Marketing/Growth` · `Finance/Accounting/Legal/Risk` · `Healthcare/Clinical/Pharma` · `Operations/Supply Chain/HR` · `Executive/Generalist`.
|
|
40
|
+
2. **Bind Domain Adapter Rules Dynamically:**
|
|
41
|
+
|
|
42
|
+
| Archetype | Peer Tone & Vocabulary | Mandatory Compliance / Credential Gates | Native KPI Proof Types | Adaptive Headings & LinkedIn Authority Surfaces |
|
|
43
|
+
|---|---|---|---|---|
|
|
44
|
+
| **Engineering/Data/AI** | Direct technical peer; systems, architecture, tradeoffs | Security clearance, SOC 2/ISO/GDPR when specified | Uptime/SLAs, p95 latency, throughput, cost savings, ship velocity | `Technical Skills`, `Projects`; LinkedIn `Featured`, `Projects`, `Skills` |
|
|
45
|
+
| **Product/Design** | Outcome-first strategist; user research, discovery, prioritization | Accessibility (WCAG), regulated product domain rules | Activation, retention, conversion, NPS, adoption, revenue lift | `Product & Research Competencies`; LinkedIn `Featured` (case studies), `Projects` |
|
|
46
|
+
| **Sales/Marketing/Growth** | Commercial operator; pipeline, ICP, unit economics | Regional/industry ad or financial promotion rules | ARR/MRR, quota attainment %, win rate, CAC/LTV, ROAS, pipeline | `Commercial Competencies & Tools`; LinkedIn `Featured`, `Services`, `Honors` |
|
|
47
|
+
| **Finance/Accounting/Legal/Risk** | Precise, conservative fiduciary; controls, auditability | CPA, CFA, Bar Admission, FINRA, IFRS/GAAP, SOX | Audit findings (`0`), close cycle reduction, EBITDA, AUM, risk mitigation | `Credentials, Licensure & Systems`; LinkedIn `Licenses & Certifications`, `Publications` |
|
|
48
|
+
| **Healthcare/Clinical/Pharma** | Clinical & regulatory rigor; patient safety, protocols | Active RN/MD/PharmD license, HIPAA, GCP, FDA 21 CFR | Patient outcomes, safety compliance, trial milestones, throughput | `Clinical Licensure & Competencies`; LinkedIn `Licenses & Certifications`, `Publications` |
|
|
49
|
+
| **Operations/Supply Chain/HR** | Execution-focused; SLAs, capacity, compliance, talent | PMP, Six Sigma, OSHA, ISO 9001, labor compliance | OTIF, unit cost, cycle time, retention %, time-to-fill, safety rate | `Operational Competencies & Systems`; LinkedIn `Licenses & Certifications`, `Featured` |
|
|
50
|
+
| **Executive/Generalist** | Board/P&L operator; capital allocation, org scale | Fiduciary governance, board/regulatory filings | P&L ownership, EBITDA, multi-site headcount, M&A integration | `Executive Scope & Competencies`; LinkedIn `Publications`, `Featured`, `Honors` |
|
|
51
|
+
|
|
52
|
+
3. **Bind Downstream Controls Dynamically:** Pass the selected archetype's (a) **peer tone**, (b) **mandatory credential/compliance gates**, (c) **KPI proof order**, and (d) **section/bucket taxonomy** into `skills/02-discover-and-triage.md`, `skills/03-tailor-resume-and-verify.md`, `skills/21-ats-keyword-heatmap.md`, `skills/27-universal-cv-builder.md`, `skills/linkedin-growth.md`, and `skills/profile-intelligence-engine.md`. Never inject SWE defaults when the archetype is non-tech.
|
|
53
|
+
|
|
54
|
+
### 2. Step 2 — Senior HR Recruiter & Hiring Manager JD Decoder ("Reading Between the Lines")
|
|
55
|
+
1. **Separate True Knock-Out Screeners from HR Wishlist Inflation:**
|
|
56
|
+
- **True Knock-Outs:** Legal work authorization/visa, mandatory licensure/board credentials, core domain execution, and non-negotiable seniority floor. Missing a knock-out triggers `True Gap` / `Tier C` escalation rather than wishful tailoring.
|
|
57
|
+
- **HR Wishlist Inflation:** "Kitchen-sink" 15+ secondary tools, impossible years-per-newly-released-tool, or copy-pasted `"nice-to-have"` paragraphs. Treat as secondary differentiators, never as blockers when core competencies match.
|
|
58
|
+
2. **Detect Scope & Organizational Signals:**
|
|
59
|
+
- **Title-vs-Scope Mismatch:** Flag under-titled roles carrying director/P&L/on-call scope or inflated titles masking junior execution.
|
|
60
|
+
- **"One-Person Department" Burnout JDs:** Flag roles combining unrelated functions (e.g., strategy + full-cycle execution + compliance + support) with no team backing.
|
|
61
|
+
- **Channel & Company-Stage Signals:** Distinguish **agency/staffing/consulting** vs. **in-house** postings, and calibrate expectations for **startup generalists** (0-to-1 ambiguity, broad ownership) vs. **enterprise specialists** (cross-functional governance, compliance, scale).
|
|
62
|
+
3. **Extract the Buyer Pain Point & Emit JD Decode Brief:**
|
|
63
|
+
- Identify the top **2–3 business problems** the hiring manager was approved budget to solve in the first 90 days (e.g., stalled enterprise pipeline, audit readiness, legacy migration, clinic throughput bottleneck).
|
|
64
|
+
- Output compact internal context: `Domain Archetype` -> `Knock-Outs (Pass/Gap)` -> `Wishlist Non-Blockers` -> `Scope/Stage Flags` -> `Top 2-3 Buyer Pain Points`.
|
|
65
|
+
|
|
66
|
+
### 3. Step 3 — 6–10 Second Recruiter Scan & Truthful Risk Framing (for CVs)
|
|
67
|
+
1. **Enforce the 6–10 Second Visual Scan Hierarchy:**
|
|
68
|
+
- **(1) Canonical Title, Progression & Tenure Stability:** Target role alignment visible in header/latest role; clean `YYYY-MM` timelines and scannable organization-scope lines (size, regulated sector, revenue/scale if verified).
|
|
69
|
+
- **(2) Top-Third Value Proposition:** First 3 lines of Summary + top 4–6 core competencies explicitly answer the Buyer Pain Point using verified facts.
|
|
70
|
+
- **(3) Proof Density Hierarchy (Rank Bullets & Evidence Strictly in This Order):**
|
|
71
|
+
`Quantified Business Outcome` > `Verified Operational Scope (budget, headcount, volume, territory)` > `Shipped Artifact / Deliverable` > `Credential / Tool`.
|
|
72
|
+
- Never drop older high-proof experience below low-signal tool lists if it directly answers the Buyer Pain Point.
|
|
73
|
+
2. **Apply 100% Truthful Red-Flag Mitigation (Never Fabricate or Hide Dates):**
|
|
74
|
+
- **Employment Gaps:** Keep exact dates intact; add a brief factual line (`Career break`, `Caregiving`, or verified study/consulting) if confirmed by the candidate.
|
|
75
|
+
- **Short Tenures / Contract Sprints:** Label confirmed contract, fixed-term, acquisition, or layoff roles accurately (`Contract`, `Fixed-Term`, `Company Acquired`) so rapid transitions read as structural rather than performance issues.
|
|
76
|
+
- **Career Pivots:** Lead the top third with transferable KPI proof, relevant credentials, and verified cross-domain projects matching the new archetype rather than chronological legacy duties.
|
|
77
|
+
- **Over-/Under-Qualification:** Calibrate summary and bullet emphasis toward the JD's actual operating scope (hands-on execution vs. leadership) using only real verified responsibilities—never delete degrees or alter dates silently.
|
|
78
|
+
|
|
79
|
+
### 4. Step 4 — Personal Branding, Positioning & LinkedIn Recruiter SEO Mechanics
|
|
80
|
+
1. **Conversion Positioning Formula:** Frame clear differentiation vs. peers sharing the exact same job title:
|
|
81
|
+
- `[Buyer Pain Point Solved] -> [Verified Differentiator] -> [Top-Ranked Proof] -> [Clear Role/Collaboration CTA]`, keeping zero hype and zero AI-slop clichés.
|
|
82
|
+
2. **High-Weight LinkedIn Recruiter Indexing Signals:**
|
|
83
|
+
- **Experience Job-Title Weighting:** Canonical target role titles inside **Experience** entries carry higher Recruiter search weight than About prose. Align overly quirky internal titles only through truthful canonical equivalents when accurate and candidate-confirmed (e.g., `Growth Lead (Performance Marketing)`, `Staff RN (ICU Charge)`), never inventing unearned seniority.
|
|
84
|
+
- **Recruiter Boolean Alignment:** Mirror exact Boolean pairs `(Primary Title OR Adjacent Title) AND (Core Skill 1 OR Core Skill 2)` consistently across Headline (`<= 220` chars), Current Experience Title, Top Skills, and first-fold About hook (`<= 220` chars).
|
|
85
|
+
- **50-Skill Cap & Experience-Linked Skill Tagging:** Audit skills within LinkedIn's 50-skill cap for exact industry spelling/casing (`HIPAA`, `Salesforce`, `Financial Modeling`, `TypeScript`) and verify high-priority skills are attached to specific Experience roles so Recruiter "Years of Experience per Skill" filters register them.
|
|
86
|
+
- **Recruiter Spotlight & Authority Surfaces:** Check `Open to Work (Recruiters only)`, recent domain activity, target-company follows, and domain-appropriate proof sections (`Licenses & Certifications`, `Publications`, `Services`, `Featured`, `Projects`, `Honors`).
|
|
87
|
+
|
|
88
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
89
|
+
|
|
90
|
+
### Anti-patterns
|
|
91
|
+
- ❌ Defaulting to Software Engineering terminology, `Technical Skills` headings, or engineering KPIs for non-tech candidates/JDs → ✅ detect Domain Archetype first and bind domain-native tone, KPIs, and headings.
|
|
92
|
+
- ❌ Inventing credentials, licenses, inflated titles, hidden date adjustments, or unverified metrics to neutralize a recruiter red flag or match a Boolean query → ✅ reframe only confirmed facts (`skills/03-tailor-resume-and-verify.md`).
|
|
93
|
+
- ❌ Mistaking HR "kitchen-sink" wishlist items for true knock-outs, or ignoring burnout/title-scope contradictions in a JD → ✅ separate Knock-Outs vs. Wishlist and flag organizational risks upfront.
|
|
94
|
+
- ❌ Letting About prose carry keywords missing from Experience titles, Headlines, or Top 50 Skills → ✅ align Recruiter Boolean terms across all four indexed surfaces truthfully.
|
|
95
|
+
|
|
96
|
+
### Self-Verification Check
|
|
97
|
+
- [ ] Domain Archetype identified explicitly from JD/`context/` and mapped to matching tone, credentials, KPI proof types, and headings
|
|
98
|
+
- [ ] JD decoded into True Knock-Outs vs. HR Wishlist Inflation, organizational signals, and top 2–3 Buyer Pain Points
|
|
99
|
+
- [ ] CV/profile recommendations follow the 6–10s scan hierarchy, Proof Density Hierarchy, truthful red-flag framing, and Recruiter Boolean/title/50-skill mechanics (`skills/meta-self-verification.md`)
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: portfolio-builder-and-deployer
|
|
3
|
+
version: "1.1.0"
|
|
4
|
+
description: Load when the user asks to design, build, customize, preview, update, or deploy a personal or third-party portfolio website (/build-portfolio) using static HTML/CSS/JS or modern frontend frameworks and hosting CLIs or manual hosting providers.
|
|
5
|
+
triggers:
|
|
6
|
+
- /build-portfolio
|
|
7
|
+
- build my portfolio
|
|
8
|
+
- create a portfolio website
|
|
9
|
+
- deploy my portfolio
|
|
10
|
+
- update my portfolio site
|
|
11
|
+
- build a portfolio for someone
|
|
12
|
+
requires_mcp:
|
|
13
|
+
- none
|
|
14
|
+
optional_mcp:
|
|
15
|
+
- playwright
|
|
16
|
+
preconditions:
|
|
17
|
+
- verified candidate facts available in context/ or supplied in the active session
|
|
18
|
+
- isolated target directory under logs/portfolio/<site-slug>/ (or user-selected external directory) is writable
|
|
19
|
+
requires_skills:
|
|
20
|
+
- resume-ingestion
|
|
21
|
+
- tailor-resume-and-verify
|
|
22
|
+
- portfolio-and-github-auditor
|
|
23
|
+
- portfolio-design-system-and-qa
|
|
24
|
+
- privacy-pii-shield
|
|
25
|
+
- recruiter-brand-and-domain-intelligence
|
|
26
|
+
- meta-self-verification
|
|
27
|
+
verification:
|
|
28
|
+
- portfolio files and dependencies stay strictly isolated inside logs/portfolio/<site-slug>/ (or logs/portfolio/third-party-<slug>/ or external folder) with root package.json at 0/0 dependencies and Veycraft git remote untouched
|
|
29
|
+
- every project, metric, title, and credential on the site maps to verified candidate data with 0 banned AI cliches, 0 prose em-dashes, and 0 unconfirmed metrics
|
|
30
|
+
- pre-publish privacy and secret audit confirmed 0 private phone/address/salary/NDA leaks and 0 exposed API tokens or client-bundle secrets
|
|
31
|
+
- DESIGN_PLAN.md, tokens.css, and 3-layer QA (qa-report.md within <= 3 self-healing cycles) passed before localhost preview, Deploy Confirmation Table received explicit APPROVE, and live HTTPS URL returned 200 with intact assets before reporting deployed
|
|
32
|
+
---
|
|
33
|
+
# Personalized Portfolio Builder, Privacy Gate & Multi-Host Deployer
|
|
34
|
+
|
|
35
|
+
## When to Use & Preconditions
|
|
36
|
+
|
|
37
|
+
Builds a domain-adaptive, recruiter-ready or client-converting portfolio website grounded strictly in verified candidate evidence, previews it locally inside an isolated workspace, and optionally deploys it through modern hosting CLIs or step-by-step hosting guides without risking PII leaks or repository contamination.
|
|
38
|
+
|
|
39
|
+
- **Load when:** `/build-portfolio`; `build my portfolio`; `create a portfolio website`; `deploy my portfolio`; `update my portfolio site`; `build a portfolio for someone`.
|
|
40
|
+
- **Preconditions (stop if any is false):**
|
|
41
|
+
- verified candidate facts exist in `context/` or are confirmed in the active chat session (never force full 5-gate `/setup`)
|
|
42
|
+
- isolated output directory under `logs/portfolio/<site-slug>/` (or user-chosen external directory) is writable
|
|
43
|
+
- **Requires skills:** `resume-ingestion`, `tailor-resume-and-verify`, `portfolio-and-github-auditor`, `portfolio-design-system-and-qa`, `privacy-pii-shield`, `recruiter-brand-and-domain-intelligence`, `meta-self-verification`. **MCP:** none (`playwright` optional for local/live visual preview and link checks).
|
|
44
|
+
|
|
45
|
+
## Deterministic Step-by-Step Execution
|
|
46
|
+
|
|
47
|
+
### 1. Phase 1 - Context Ingestion & Isolation Setup (Zero Redundant Questions)
|
|
48
|
+
- **Read Verified Sources First (`skills/01-resume-ingestion.md`, `skills/11-portfolio-and-github-auditor.md`):** Inspect `context/profile.md`, `context/cv.md`, `context/resume-data.json`, `context/github-projects.md` (if present), and `context/preferences.yaml` before asking any questions. Reuse every confirmed role, project, skill, and link without re-asking.
|
|
49
|
+
- **Dynamic Domain Archetype (`skills/28-recruiter-brand-and-domain-intelligence.md`):** Infer the candidate's target archetype (`Engineering/Data/AI`, `Product/Design`, `Sales/Marketing/Growth`, `Finance/Accounting/Legal/Risk`, `Healthcare/Clinical/Pharma`, `Operations/Supply Chain/HR`, or `Executive/Generalist`). Never default to software-only layouts or terminology for non-tech candidates.
|
|
50
|
+
- **Workspace Isolation & Root Protection Lock:**
|
|
51
|
+
- **Owner Default Path:** `logs/portfolio/<site-slug>/` (gitignored, blocked from commits by `.git/hooks/pre-commit` and CI security checks, excluded from npm tarballs, and skipped by `veycraft backup`).
|
|
52
|
+
- **Third-Party Subject Isolation (`SEC-02`):** When building a site for another person, write strictly under `logs/portfolio/third-party-<slug>/` and **NEVER** read from or write to owner `context/` files.
|
|
53
|
+
- **Optional Standalone External Path:** Offer `~/projects/<slug>-portfolio` (or another user-chosen folder outside the Veycraft clone) when scaffolding a Git-backed framework repository (`Astro`, `Vite`, `Next.js`) so nested `.git` metadata and `node_modules/` stay completely outside Veycraft.
|
|
54
|
+
- **Symlink & Root Guard (`SEC-04`):** Refuse symlinked parent paths. **NEVER** run `npm install`, `npm create`, `npx create-*`, `git init`, or deploy CLIs in the Veycraft root, and **NEVER** modify Veycraft's root `package.json` (`dependencies: {}`, `devDependencies: {}`).
|
|
55
|
+
- **Iterative Update Persistence:** Save `<portfolio-dir>/portfolio-manifest.json` (`site_slug`, `owner_scope`, `archetype`, `stack_tier`, `style_preset`, `locale`, `public_contacts`, `deploy_target`, `live_url`) so follow-up `"update my portfolio"` requests edit in place without re-interviewing.
|
|
56
|
+
|
|
57
|
+
### 2. Phase 2 - Smart Batched Portfolio Interview (3-4 Questions/Batch, Max 2 Batches)
|
|
58
|
+
Ask only what is missing after Phase 1 inspection:
|
|
59
|
+
- **Batch 1 - Positioning, Visual Direction & Domain Modules:**
|
|
60
|
+
1. **Primary Goal & Audience (`skills/28`):** Recruiter-first (6-10s hiring scan), Freelance/Client Conversion, or Executive/Thought-Leadership Brand.
|
|
61
|
+
2. **Visual Preset, Palette & Locale:** Style (`Minimalist Editorial`, `Dark Bento Tech`, `Clean Executive`, `Creative Showcase`), color palette (7 curated WCAG-AA agency palettes or `Custom` brand hex + Light/Dark toggle via `skills/30-portfolio-design-system-and-qa.md`), and locale (`LTR English`, `RTL Arabic` via `skills/15-multilingual-adaptation.md`, or bilingual switcher).
|
|
62
|
+
3. **Modular Sections:** Core (`Hero + Buyer Pain Point Hook`, `About`, `Featured Work / Case Studies`, `Experience Timeline`, `CV Download`, `Contact/CTA`) plus optional domain modules (`Services & Process`, `Testimonials`, `Licenses & Certifications`, `Publications/Writing`, `Open-Source Highlights`).
|
|
63
|
+
- **Batch 2 - Tech Stack, Hosting Target & Public Privacy Filter:**
|
|
64
|
+
1. **Tech Stack Selection:** Present the 4-tier stack matrix in Phase 3 (plus custom stack support).
|
|
65
|
+
2. **Hosting Platform & Custom Domain:** Present the CLI-Native matrix + Smart Fallback in Phase 5.
|
|
66
|
+
3. **Public Privacy Filter (`skills/14-privacy-pii-shield.md`):** Because a live website is indexed publicly by search engines, ask explicitly which contact channels to publish (`public email`, `LinkedIn`, `GitHub`, `Calendly`/booking link, or static contact form) and exclude private phone numbers, home street addresses, DOB, salary floors, and unapproved private/NDA client repositories by default.
|
|
67
|
+
- **Pre-Code Hand-Off - Blueprint, Separated Data & Token Lock (`skills/30-portfolio-design-system-and-qa.md` Phases 1-2):**
|
|
68
|
+
- Before scaffolding any UI components or stylesheets in Phase 3, execute `skills/30-portfolio-design-system-and-qa.md` Phases 1-2 inside `<portfolio-dir>` to author `DESIGN_PLAN.md`, extract verified copy into separated `portfolio-data.json` (or `src/data/portfolio-data.ts`), validate WCAG 2.1 AA contrast + RTL/LTR font pairings, and lock `design-tokens.json` + `tokens.css` with owner confirmation.
|
|
69
|
+
|
|
70
|
+
### 3. Phase 3 - Curated Tech Stack Matrix & Isolated Local Build (`LOCAL_PREVIEW_ONLY`)
|
|
71
|
+
- **Select Stack Tier (or User-Requested Custom Stack such as Vue/Nuxt, SvelteKit, or Hugo under identical isolation):**
|
|
72
|
+
|
|
73
|
+
| Tier | Stack | Best For | Build Output |
|
|
74
|
+
|---|---|---|---|
|
|
75
|
+
| **Tier 1 (Default)** | Vanilla HTML5 + Modern CSS (or Tailwind) + Vanilla JS | Instant build, zero `node_modules`, fastest universal hosting | `.` (`index.html`, `styles.css`, `main.js`) |
|
|
76
|
+
| **Tier 2** | Astro + Tailwind CSS | Content-rich case studies, blog/writing, Lighthouse 100 SEO | `dist/` |
|
|
77
|
+
| **Tier 3** | Vite + React (TypeScript) + Tailwind CSS | Interactive dashboards, filterable showcases, motion UI | `dist/` |
|
|
78
|
+
| **Tier 4** | Next.js (App Router, `output: 'export'` or Vercel) + Tailwind CSS | React ecosystem portfolios and full-stack expansion | `out/` or `.next/` |
|
|
79
|
+
|
|
80
|
+
- **Domain-Adaptive Case Study & Section Mapping (`skills/28`):**
|
|
81
|
+
|
|
82
|
+
| Domain Archetype | Featured Work Card Structure | Priority Optional Modules |
|
|
83
|
+
|---|---|---|
|
|
84
|
+
| **Engineering / Data / AI** | System Constraint -> Architecture -> Verified Latency/Scale/Tests + Repo/Demo Link | `Open-Source Highlights`, `Writing` |
|
|
85
|
+
| **Product / Design** | User/Business Problem -> Discovery & Tradeoffs -> Verified Adoption/Conversion Lift | `Case Study Deep-Dives`, `Testimonials` |
|
|
86
|
+
| **Sales / Marketing / Growth** | ICP & Funnel Bottleneck -> Campaign/Motion -> Verified Pipeline/ARR/ROAS Outcome | `Services & Process`, `Testimonials` |
|
|
87
|
+
| **Finance / Legal / Healthcare** | Regulatory/Fiduciary Scope -> Controls/Protocols -> Verified Compliance/Audit/Clinical Proof | `Licenses & Certifications`, `Publications` |
|
|
88
|
+
| **Operations / HR / Executive** | Org/SLA Challenge -> Operating Model -> Verified Cost/OTIF/Retention/P&L Impact | `Advisory / Services`, `Publications` |
|
|
89
|
+
|
|
90
|
+
- **Scaffold & Author Strictly Inside `<portfolio-dir>`:**
|
|
91
|
+
- Execute every `npm`/`npx` command with working directory locked to `<portfolio-dir>`.
|
|
92
|
+
- Consume locked `<portfolio-dir>/tokens.css` (`0` hardcoded hex colors) and separated `portfolio-data` (`0` hardcoded resume prose) while enforcing semantic HTML5 landmarks, mobile-first responsive grids (`320px` to `1440px+`), `WCAG AA` contrast, keyboard focus rings, `prefers-reduced-motion`, clean `dir="rtl"`/`dir="ltr"` logical CSS, OpenGraph/Twitter social cards, JSON-LD `Person` structured data, `robots.txt`, `sitemap.xml`, and SVG favicon.
|
|
93
|
+
- **Fact & Anti-Slop Enforcement (`skills/03-tailor-resume-and-verify.md`, `skills/28-recruiter-brand-and-domain-intelligence.md`):** Order projects and achievements by the **Proof Density Hierarchy** (`Quantified Business Outcome > Verified Operational Scope > Shipped Artifact/Deliverable > Credential/Tool`). Exclude `requires_user_confirmation` metrics from `context/github-projects.md` until owner-confirmed. Enforce **0 banned AI cliches** (19-item list) and **0 prose em-dashes**.
|
|
94
|
+
- If the owner opts into a downloadable CV button, copy only an owner-approved public CV version into `<portfolio-dir>/public/` after confirming public PII preferences.
|
|
95
|
+
|
|
96
|
+
### 4. Phase 4 - Pre-Publish Privacy, Automated QA & Local Preview Gate
|
|
97
|
+
1. **Pre-Publish Privacy & Secret Audit (`skills/14-privacy-pii-shield.md`):**
|
|
98
|
+
- Scan source files and built artifacts (`index.html`, `dist/`, `out/`, `.next/`) to verify:
|
|
99
|
+
- `0` unconsented phone numbers, street addresses, national IDs, salary figures, or NDA client names/code.
|
|
100
|
+
- `0` `{{...}}` or `example.invalid` placeholder strings.
|
|
101
|
+
- `0` secrets or tokens in source files, `.env*`, or client-exposed env prefixes (`VITE_*`, `NEXT_PUBLIC_*`, `PUBLIC_*`), and never print `VERCEL_TOKEN`, `NETLIFY_AUTH_TOKEN`, `CLOUDFLARE_API_TOKEN`, `FIREBASE_TOKEN`, `SURGE_TOKEN`, `ghp_`, or `github_pat_`.
|
|
102
|
+
- Verify Veycraft's root `package.json` still has `"dependencies": {}` and `"devDependencies": {}`.
|
|
103
|
+
2. **Multi-Layer Automated QA & Bounded Self-Healing Hand-Off (`skills/30-portfolio-design-system-and-qa.md` Phases 3-4):**
|
|
104
|
+
- Before presenting `localhost` sign-off or entering Phase 5, run all 3 automated QA layers inside `<portfolio-dir>`: Layer 1 Static/Type/Build gate (`exit 0`), Layer 2 stack-aware Unit/Component tests (`node --test` for Tier 1 or isolated `<portfolio-dir>` `vitest` for Tiers 2-4), and Layer 3 multi-viewport Visual/Overflow/Console QA at `375px`, `768px`, and `1440px`, writing `<portfolio-dir>/qa-report.md`.
|
|
105
|
+
- Trigger the **Bounded Self-Healing Loop (max 3 cycles)** on any failure; if any layer remains red after Cycle 3, stop and block `localhost` sign-off and Phase 5 deployment.
|
|
106
|
+
3. **Production Build & Local Preview (`LOCAL_PREVIEW_ONLY` Default):**
|
|
107
|
+
- Once `<portfolio-dir>/qa-report.md` is green, launch a local preview server (`npx serve`, `npm run preview`, or `python3 -m http.server` on `localhost`), share the local preview URL + `qa-report.md` summary, and support iterative token or copy edits before deploying.
|
|
108
|
+
|
|
109
|
+
### 5. Phase 5 - Hosting CLI Matrix, Smart Fallback Engine & Approval-Gated Deployment
|
|
110
|
+
- **First-Class CLI-Native Hosting Matrix (Run Strictly Inside `<portfolio-dir>`):**
|
|
111
|
+
1. **Vercel (`vercel`):** Pre-flight `vercel whoami` -> deploy draft preview (`vercel`) -> production (`vercel --prod`) only after `APPROVE`.
|
|
112
|
+
2. **Cloudflare Pages (`wrangler`):** Pre-flight `wrangler whoami` -> deploy via `wrangler pages deploy <dist-dir> --project-name <slug>`.
|
|
113
|
+
3. **Netlify (`netlify-cli`):** Pre-flight `netlify status` -> draft preview (`netlify deploy --dir=<dist-dir>`) -> production (`netlify deploy --prod --dir=<dist-dir>`); wire `data-netlify="true"` + honeypot attribute when static contact forms are requested.
|
|
114
|
+
4. **GitHub Pages (`gh` CLI on a SEPARATE Dedicated Repo ONLY):**
|
|
115
|
+
- **Mandatory Repo-Contamination Guard:** Verify `pwd` is inside `<portfolio-dir>` AND inspect `git rev-parse --show-toplevel` + `git remote -v`. **HARD-BLOCK immediately** if the git root is the Veycraft workspace or if any remote matches `redasalem/veycraft` or `redasalem/job-hunter-os`.
|
|
116
|
+
- Initialize an independent `.git` repo inside `<portfolio-dir>` and push strictly to a dedicated user repository (`<user>/<user>.github.io` or `<user>/<slug>-portfolio`):
|
|
117
|
+
```bash
|
|
118
|
+
# Run ONLY inside <portfolio-dir> after verifying pwd != Veycraft root:
|
|
119
|
+
git rev-parse --show-toplevel # Abort if this resolves to the Veycraft repository!
|
|
120
|
+
git remote -v # Abort if redasalem/veycraft or job-hunter-os appears!
|
|
121
|
+
gh repo create <user>/<slug>-portfolio --public --source=. --remote=portfolio-origin --push
|
|
122
|
+
```
|
|
123
|
+
5. **Firebase Hosting (`firebase-tools`) & Surge (`surge`):** Pre-flight `firebase projects:list` or `surge whoami`; keep `firebase.json`/`.firebaserc` strictly inside `<portfolio-dir>` -> `firebase deploy --only hosting` or `surge <dist-dir> <slug>.surge.sh`.
|
|
124
|
+
- **Canonical CLI Reference (Execute Only After `APPROVE` Inside `<portfolio-dir>`):**
|
|
125
|
+
```bash
|
|
126
|
+
vercel whoami && vercel # Draft preview first -> `vercel --prod` after APPROVE
|
|
127
|
+
wrangler whoami && wrangler pages deploy <dist> --project-name <slug>
|
|
128
|
+
netlify status && netlify deploy --dir=<dist> # Draft preview first -> `netlify deploy --prod --dir=<dist>`
|
|
129
|
+
firebase projects:list && firebase deploy --only hosting
|
|
130
|
+
surge whoami && surge <dist> <slug>.surge.sh
|
|
131
|
+
```
|
|
132
|
+
- **Smart Fallback Engine (Any Other Host: Hostinger, cPanel, Namecheap, AWS S3/CloudFront, Railway, Render, Fly.io, DigitalOcean, VPS):**
|
|
133
|
+
- **CLI Available (`aws s3 sync`, `railway up`, `flyctl deploy`, `doctl`):** Check CLI presence + auth status; if missing, give exact install + interactive login commands (never ask the user to paste secret keys in chat) and gate live deploy behind `APPROVE`.
|
|
134
|
+
- **No CLI (Shared Hosting / cPanel / Hostinger / SFTP):** Export a clean static `dist/` folder (and optional `<slug>-site.zip`) inside `<portfolio-dir>` and provide a concise checklist: upload to `public_html`, enable free Let's Encrypt HTTPS, and set `A` / `CNAME` DNS records for custom domains.
|
|
135
|
+
- **Unconditional Deploy Approval Gate:**
|
|
136
|
+
- Respect `dry_run: true` in `config/guardrails.yaml` (stop at local preview unless the owner explicitly authorizes live deployment in chat).
|
|
137
|
+
- Present a **Deploy Confirmation Table** (`Host | Account/Org | Project/Repo Name | Public URL & Visibility | Exact CLI Command`) and wait for explicit `APPROVE` before executing any live deploy command.
|
|
138
|
+
- **Post-Deploy Read-Back Verification (`skills/meta-self-verification.md`, `skills/11-portfolio-and-github-auditor.md` Phase 5):**
|
|
139
|
+
- Capture the live `https://` URL returned by the CLI and verify HTTP `200`, rendered `<title>`/OpenGraph tags, and working primary links/assets via Playwright snapshot or SSRF-safe public HTTPS check (`SEC-01`) before reporting `"deployed"`.
|
|
140
|
+
|
|
141
|
+
### 6. Phase 6 - Closed-Loop Profile Sync (Optional, Approval-Gated)
|
|
142
|
+
- Once live verification succeeds, offer (never auto-apply) to sync the verified `https://` portfolio URL into:
|
|
143
|
+
- `context/profile.md` and `context/resume-data.json` (`portfolio_url`)
|
|
144
|
+
- Tailored CV headers (`skills/03-tailor-resume-and-verify.md`)
|
|
145
|
+
- LinkedIn Contact Info / Featured section (`skills/linkedin-growth.md`)
|
|
146
|
+
- GitHub profile `blog` field and flagship repo `homepageUrl` (`skills/11-portfolio-and-github-auditor.md` Phase 3), governed by each skill's `APPROVE` gate.
|
|
147
|
+
|
|
148
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
149
|
+
|
|
150
|
+
### Anti-patterns
|
|
151
|
+
- ❌ Running `npm install`, framework scaffolders, `git init`, or `gh repo create --push` in the Veycraft root or pushing to `redasalem/veycraft` -> ✅ lock `cwd` to `logs/portfolio/<site-slug>/` (or external folder), verify root `package.json` stays `0/0`, and hard-block Veycraft remotes.
|
|
152
|
+
- ❌ Publishing private phone numbers, street addresses, salary floors, NDA client repos, or embedding secrets in `VITE_*` / `NEXT_PUBLIC_*` / `PUBLIC_*` variables -> ✅ confirm public contact fields explicitly and run the Phase 4 PII/secret scan first.
|
|
153
|
+
- ❌ Inventing project metrics, fake client testimonials, fake company logos, or AI-slop buzzwords -> ✅ use only verified `context/` facts ranked by Proof Density Hierarchy with 0 banned cliches and 0 prose em-dashes.
|
|
154
|
+
- ❌ Deploying to production without local build preview, explicit `APPROVE` on the Deploy Confirmation Table, and fresh HTTPS `200` read-back -> ✅ preview locally first, gate on `APPROVE`, and verify live (`skills/meta-self-verification.md`).
|
|
155
|
+
|
|
156
|
+
### Self-verification check (before reporting this step complete)
|
|
157
|
+
- [ ] all generated files and dependencies live strictly inside `logs/portfolio/<site-slug>/` (or `logs/portfolio/third-party-<slug>/` / external folder); Veycraft root `package.json` (`0/0` deps) and `.git` remote are untouched
|
|
158
|
+
- [ ] all copy, projects, credentials, and metrics trace to verified candidate data with `0` banned AI cliches, `0` prose em-dashes, and `0` `{{...}}` placeholders
|
|
159
|
+
- [ ] Phase 4 privacy/secret scan confirmed `0` unconsented PII/NDA leaks and `0` exposed tokens or client-bundle secrets, and local build/preview succeeded
|
|
160
|
+
- [ ] if deployed: Deploy Confirmation Table received explicit `APPROVE` and live `https://` URL returned HTTP `200` with verified title and assets
|