ai-enabled-hr-talent-automation

HR Automation Platform — Claude Code Instructions

Project Purpose

This repository implements a multi-tenant, AI-enabled HR Recruitment and Onboarding Automation platform: Master CV Bank, TAN/JD creation, AI-assisted explainable matching, human-approved shortlisting, interview scheduling and feedback, offer approval and e-signature, Green Form onboarding, verification and discrepancy handling, and candidate-to-employee conversion with downstream HRMS/payroll/IT integrations. AI assists throughout; humans approve every action that materially affects a candidate’s or employee’s status.

Before assuming a capability exists, check PROJECT_STATUS.md. Much of docs/ describes target-state design written before implementation; only CV ingestion and TAN creation/approval are implemented and verified end-to-end today. See DECISIONS_REQUIRED.md for open decisions and ADR-006 for how workflow transitions are actually implemented (per-entity stored procedures, not a generic engine).

Repository Map

Path Responsibility
docs/ Product, architecture, workflow, data, security, AI/RAG, MCP, operations, quality, delivery documentation and ADRs
config/ Versioned, non-secret configuration: schemas, defaults, environment/tenant overrides, feature flags
openapi/, asyncapi/ Contract-first REST and event API definitions
mcp/ MCP server manifests, tool schemas, integration documentation
prompts/ Versioned, approved agent system prompts and evaluation/red-team prompts
evals/ Evaluation datasets, cases, rubrics, reports (sanitized data only)
src/ Application code: HrAutomation.Domain/.Application/.Infrastructure/.Agents/.Rag/.Mcp/.Api (.NET backend), HrAutomation.Web (React presentation layer)
tests/ Unit, integration, contract, e2e, security, performance, RAG, and agent tests
infra/ Docker, Kubernetes, Terraform, and operational scripts
scripts/ Bootstrap and validation scripts
.claude/ Shared Claude Code rules, commands, and skills for this repository

Required Reading Before Changes

Task type Read first
Workflow changes docs/02-business-workflows/, config/schemas/workflow-config.schema.json
API changes docs/04-api/, openapi/, .claude/rules/api.md
Database changes docs/03-data/, .claude/rules/data.md
Agent/RAG changes docs/06-ai-agents-rag/, prompts/, .claude/rules/ai-agents.md
MCP/integration changes docs/07-mcp-integrations/, mcp/
Security changes docs/05-security-governance/, .claude/rules/security.md
Infrastructure changes infra/, docs/01-architecture/deployment-architecture.md
Configuration changes config/schemas/, config/defaults/, relevant tenant/environment override
Frontend changes src/HrAutomation.Web/README.md, docs/01-architecture/frontend-architecture.md, docs/05-security-governance/frontend-security.md

Non-Negotiable Rules

Architecture Rules

AI and RAG Rules

MCP and Tool Rules

API, Data, and Coding Rules

Frontend Rules

Git Workflow

Validation Commands

Definition of Done

References

docs/ · config/ · openapi/ · asyncapi/ · prompts/ · evals/ · mcp/ · .claude/rules/ · src/HrAutomation.Web/README.md