Assesscandidate

From reggiechan74/JobOps · View interactive version

Assesscandidate is an AI agent skill from the GitHub repository reggiechan74/JobOps. Assess candidate against job posting using pre-created scoring rubric

How to use this skill

Skill file

Configuration

Read .jobops/config.json. If missing, stop with:

JOBOPS NOT CONFIGURED

Run /jobops:setup to initialize your workspace.

Use config.directories.<key> for all file paths in this skill.

Use config.preferences.cultural_profile if this skill generates resume-style content.

Use config.preferences.default_jurisdiction if this skill has jurisdiction-sensitive logic (crisis/legal skills accept --jurisdiction=<ISO-3166-2> to override).

Templates

For each template used by this skill, resolve the full path as:

{config.templates.base_dir}/{config.templates.active.<template_name>}/<filename>

Templates referenced by this skill: assessment_rubric_framework, assessment_report_structure, evidence_verification_framework

Application Path Resolution

This skill writes to a per-application folder. Before writing any output:

  1. Parse {Company}_{Role}_{YYYYMMDD} from the job-posting filename, or honor --app=<slug> if supplied. The slug MUST be canonical: a leading PascalCase {Company} token (matching the Company_Intelligence/{Company}/ folder so OSINT links), a PascalCase {Role} (underscores between words allowed), and a trailing compact 8-digit date (20260519 — no hyphens, no time). Reject leading date/time prefixes such as 2026-04-15_214414_...; if the source filename carries one, recompose it into canonical form ({Company}_{Role}_{YYYYMMDD}) before composing the folder path.
  2. Compose the app folder: {config.directories.applications_root}/{app_slug}/.
  3. Resolve this skill's sub-folder by category:
  1. If the app folder does not exist, mkdir -p it, then copy

{config.directories.job_postings}/{filename} → {app_slug}/job_posting.md

so the pinned JD cannot silently change under completed work. Ensure the pinned copy

begins with YAML front matter carrying output_type: job_posting: if the source JD

already has a front-matter block, add the key to it; otherwise wrap a new block

(--- / output_type: job_posting / source_jd: {filename} / ---) above the JD body.

  1. Exact-slug collisions (same Company+Role+Date) are not auto-suffixed. If the folder

already contains the same output type, require the user to pass --app=<distinct-slug>.

  1. Output filename (fixed; only the sub-folder above is resolved dynamically): write the candidate assessment to assessment/assessment.md (and pin the rubric at assessment/rubric.md).

CRITICAL OUTPUT CONSTRAINT

MAXIMUM OUTPUT LIMIT: 20,000 TOKENS

Your complete assessment report MUST NOT EXCEED 20,000 tokens. This is a hard limit.

Strategies to stay within limit:

Your Task

Use the existing scoring rubric from {{ARG1}} to evaluate the candidate against the {{ARG2}} job posting, providing a detailed assessment report with scores and evidence.


WORKFLOW ARCHITECTURE

Phase 1 (Parallel batch):    Load templates + rubric + job posting (4 parallel reads)
Phase 2 (Sequential):        Read source files directly + Validate rubric alignment
Phase 3 (Sequential):        Optional domain research (if rubric is stale)
Phase 4 (Sequential, visible): Score Cat 1 → 2 → 3 → 4 → 5
Phase 5 (Sequential):        Generate report → Save files

Dependency Rules:


PROGRESS TRACKING (MANDATORY)

Before starting any work, create all tasks for user visibility:

| # | Task Subject | activeForm |

|---|-------------|------------|

| 1 | Load templates, rubric, and job posting | Loading templates, rubric, and job posting |

| 2 | Read candidate source files | Reading candidate source files directly |

| 3 | Validate rubric-job alignment | Validating rubric-job posting alignment |

| 4 | Score Skills Inventory | Scoring Skills Inventory |

| 5 | Score Experience Relevance | Scoring Experience Relevance |

| 6 | Score Demonstrated Impact | Scoring Demonstrated Impact |

| 7 | Score Credentials | Scoring Credentials |

| 8 | Score Fit & Readiness | Scoring Fit & Readiness |

| 9 | Generate assessment report | Generating comprehensive assessment report |

| 10 | Save assessment files | Saving assessment and rubric files |

Task Update Rules:


YAML FRONT MATTER

The generated assessment in {applications_root}/{app_slug}/assessment/assessment.md must start with:

---
job_file: {config.directories.job_postings}/{{ARG2}}
rubric_file: {{ARG1}}
role: <role title>
company: <company name>
candidate: <full candidate name>
generated_by: /assesscandidate
generated_on: <ISO8601 timestamp>
output_type: assessment
status: draft
version: 2.0
role_variant: <Technical IC | People Manager | Executive>
overall_score: <XX/200>
normalized_score: <XX%>
---

Carry role_variant through from the rubric's front matter. Insert this block before any headings and update timestamps, scores, and versioning on reruns.


PHASE 1: LOAD INPUTS (Parallel batch)

Task: Mark task 1 in_progress.

Read all files in a single parallel batch:

If job posting doesn't exist in {config.directories.job_postings}/, check the root directory for legacy files.

Task: Mark task 1 completed.


PHASE 2: DATA ACQUISITION

Mark tasks 2 and 3 as in_progress.

Legacy Candidate Profile Artifact Check

Before reading candidate materials, set source_path to {config.directories.resume_source} and check for deprecated profile JSON artifacts.

2.1 Read Candidate Source Files (Task 2)

Determine source structure:

If a required file is missing, prompt the user to run /jobops:audit-source and stop. Do NOT attempt to generate or load candidate_profile.json — that artifact is removed in v2.2.0.

Token budget: most rubric scoring needs ~30K of source markdown loaded at once for a thorough assessment. Read what you need; do not pre-summarize.

Task: Mark task 2 completed when source reads are done.

2.2 Validate Rubric-Job Alignment (Task 3 - Main agent)

Validate the rubric:

Task: Mark task 3 completed when validation is done.


PHASE 3: SUPPLEMENTAL RESEARCH (if needed)

If rubric validation identified stale context or missing information:

Skip this phase if rubric is current and complete.


PHASE 4: SCORE CANDIDATE (Sequential - needs rubric + candidate data)

Prerequisites: Source file reads (task 2) AND rubric validation (task 3) must both be completed.

4.0 Score Against Source Files

Score each rubric category against the source files you read in Phase 2. For each score, cite the specific source {filepath}:{line_number} you anchored on. Do not invent enums (proficiency_level, company_size, impact_category) — judge from the source prose with citation.

CRITICAL: Apply the evidence verification framework from the evidence verification framework template to all scoring decisions.

Score the five rubric categories using each category's variant-adjusted maximum from the rubric (the rubric's weight table fixes the allocation; the five categories always total 200 points).

4.1 Score Skills Inventory

Task: Mark task 4 in_progress.

Score required (1A) and preferred (1B) skills from the rubric against candidate evidence, using the 0-6 proficiency scale and experience-type classification (Direct | Adjacent | Transferable | Assumed) per the rubric framework.

Task: Mark task 4 completed.

4.2 Score Experience Relevance

Task: Mark task 5 in_progress.

Evaluate industry/domain alignment (2A), career trajectory & growth (2B), and recency of relevant work (2C) against the definitions in the rubric.

Task: Mark task 5 completed.

4.3 Score Demonstrated Impact

Task: Mark task 6 in_progress.

Verify quantified achievements (3A), scale & complexity managed (3B), and innovation & initiative (3C) against the thresholds defined in the rubric.

Task: Mark task 6 completed.

4.4 Score Credentials

Task: Mark task 7 in_progress.

Check education (4A) and certifications (4B) against the specific requirements listed in the rubric.

Task: Mark task 7 completed.

4.5 Score Fit & Readiness

Task: Mark task 8 in_progress.

Assess communication evidence (5A), cultural alignment (5B), and role-specific readiness (5C) based on the criteria in the rubric.

Task: Mark task 8 completed.


PHASE 5: REPORT AND SAVE

5.1 Generate Comprehensive Assessment Report

Task: Mark task 9 in_progress.

Follow the report structure defined in the assessment report structure template exactly.

CRITICAL FORMAT REQUIREMENTS:

Task: Mark task 9 completed.

5.2 Save Assessment Report

Task: Mark task 10 in_progress.

File Save Location (app-centric layout):

Resolve {app_slug} per the Application Path Resolution protocol at the top of this skill, and ensure {applications_root}/{app_slug}/assessment/ exists (mkdir -p).

  1. Pin the rubric inside the app folder: if {{ARG1}} points to a rubric outside the app folder, copy it to {applications_root}/{app_slug}/assessment/rubric.md (if one is not already pinned there). The pinned rubric is the authoritative copy used for audit.
  1. Save Assessment Report: {applications_root}/{app_slug}/assessment/assessment.md

The app folder itself is the self-contained audit container — no timestamped audit sub-folder is needed.

Provide a summary of:

Task: Mark task 10 completed.


Validation Requirements

Before finalizing assessment:

  1. Rubric Completeness Check: Verify the rubric contains all required detailed scoring breakdowns
  2. Alignment Verification: Confirm rubric matches the job posting requirements
  3. Evidence Mapping: Ensure every score has corresponding evidence from candidate materials
  4. Consistency Review: Check that scoring follows rubric criteria without deviation
  5. Documentation Audit: Verify clear traceability from rubric criteria to assigned scores

Error Handling

If issues are encountered:

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.