Skip to content

Packs / hr-and-people-public

employee-directory

Keep an employee directory: add people, block duplicate emails, mark leavers, count by department, export

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-hr-and-people-public

Install

logicpacks pack use hr-and-people-public/employee-directory
get_pack hr-and-people-public/employee-directory

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: stdlib-referencefrappe-hr
  • Checks: 2 in outcome/checks.yaml
  • Code: refflow.pyschema.json
  • Tools: python3, docker

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Keep an employee directory: add people, block duplicate emails, mark leavers, count by department, export. Our reference flow (code/refflow.py, stdlib sqlite) proves the records, allowed moves, numbers and export; the same rules carry over to the self-hosted app.

Steps

  1. Fields: name, work email (unique), department, role, manager, start date, status active/leaver.
  2. Run the scenario; then load the same CSV into Frappe HR (Data Import) or Horilla if the team needs the full app.

Edge cases

  • Rehires: move leaver -> active, keep the same record.
  • Departments are a fixed list; change the schema, not free text.

Don'ts

  • Don't store CNIC/passport numbers, salaries or home addresses in the directory.
  • Don't export the directory outside the company.

Check

lp pack check hr-and-people/employee-directory runs outcome/checks.yaml.