/engineering:hr-module-designfrom engineering
Guides design and review of HR/ERP modules covering positions vs people, effective dating, contract classes, leave, payroll inputs, recruitment-to-exit workflows, appraisal, disciplinary records, and personal-data access audit.
Ships in engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.
An HR module holds the most sensitive records a tenant owns and feeds its largest
recurring cost. Most failures come from a few early modelling choices: treating a
job and a person as one row, hard-coding statutory rates, letting several screens
write pay, and giving every HR user the same access. This skill fixes those choices
before code. It is client-neutral; the organisation set-up handed to a SaaS team is
the worked example in references/worked-example-org-handoff.md.
payroll-and-statutory-postings-east-africa and accounting-engine.human-resources-documentation.20-hr-module-srs.tenant-document-numbering (this skill
names which HR documents need a series).| Input | Source | If missing |
|---|---|---|
| Organisation chart, units, reporting lines, headcount plan | Client owner | Model units and positions as drafts; mark headcount NOT_ASSESSED. |
| Contract classes the client uses (employee, part-time or fixed-term, consultant) | HR owner | Default to the three classes; each carries its own tax and contribution treatment. |
| Statutory rate source register (Act, section, rate, effective date, status) | Finance or legal owner | Ship rates as empty parameters; payroll refuses to run on an unset or unverified rate. |
| Client HR policies (leave types, probation, notice, disciplinary steps) | HR manual | Build the engine configurable; do not invent policy values. |
| Tenant model and role catalogue | Tenancy design | Block design; never infer tenant from a request body. |
| Named human owner and backup for each HR record type and decision | Client owner | Record as an open item. AI never owns anything. |
references/data-model-and-effective-dating.md.valid_from and valid_to. A correction fixes a wrong
entry; a change adds a new dated row. Never overwrite history.references/workflows-controls-and-parameters.md.VERIFIED or NOT_VERIFIED. Payroll blocks on any unverified or expired row.tenant-document-numbering). Void, never delete.staff table that is also the position table, so a vacancy cannot exist.COUNT(*)+1 for contract or payroll-run numbers.| Category | Artifact | Format | Example |
|---|---|---|---|
| Correctness | Position, assignment and effective-dating model with overlap tests | Schema plus test report | docs/hr/data-model.md |
| Correctness | Statutory parameter register with VERIFIED or NOT_VERIFIED status | Table with Act, section, date | docs/hr/rate-register.csv |
| Security | Role and field access matrix with per-role test results | Matrix plus test log | evidence/hr/access-matrix.md |
| Data safety | Audit-log sample showing change and sensitive-read records | Log extract | evidence/hr/audit-sample.txt |
| Data safety | Retention and erasure table per record type | Markdown table | docs/hr/retention.md |
| Operability | Parallel-run reconciliation of old and new payroll | Variance report | evidence/hr/parallel-run.csv |
| Release evidence | Go-live phase plan with exit criteria and named owners | Markdown checklist | docs/hr/go-live.md |
multi-tenant-saas-architecture, tenant-document-numbering,
saas-tenant-data-portability-and-erasure, database-design-engineering,
accounting-engine, ai-evaluation (algorithmic decision impact review).chwezi-accounting-doctrine): payroll-and-statutory-postings-east-africa.Default to read-only design and review. Never load real employee, pay or case data into a prompt, fixture or log; use synthetic people. Never run a migration or payroll against production from this skill; hand reviewed work to the authorised operator.
Without the client's policy manual, deliver a configurable design and mark every
policy value NOT_ASSESSED. Without verified statutory sources, ship empty parameters
and block payroll; do not fill rates from memory. Without a database, return the
schema as a labelled design and the tests as a plan.
| Condition | Action | Failure avoided |
|---|---|---|
| A role exists in the chart but nobody holds it | Create the position as vacant | Headcount and succession that cannot see gaps |
| A person's title or grade changes | Add a dated assignment row | Lost history, wrong back-pay |
| A rate has no VERIFIED source row | Payroll blocks that run | Wrong deductions filed with a regulator |
| A part-timer reaches the client's consecutive-contract limit | Flag for the HR owner; require a decision | A silent rollover that breaches client policy |
| Someone asks to view disciplinary or medical files | Require a named permission and log the read | Broad exposure of the most sensitive data |
| A model ranks or scores people | Show inputs, allow override, record the human decider | Unreviewable decisions about people |
| A numbered HR document is wrong | Void and reissue | Gaps or silent edits |
Uganda statute figures enter this skill only as VERIFIED rows with Act and section;
all others are NOT_VERIFIED and must be checked against the instrument and the
regulator's current notice before use. VERIFIED (owner's law notes, 10 Nov 2026,
not re-checked against the instruments this session): NSSF contribution 10% employer
and 5% employee (NSSF Act, ss.11-12); Employment Act maternity leave 60 days (s.55),
paternity 4 days (s.56), annual leave 7 days per four months after six months (s.53),
notice (s.57(3)), hearing before dismissal (s.65); Data Protection and Privacy Act
breach notice (s.23) and data protection officer (s.6); Tax Procedures Code record
retention 5 years (s.15). NOT_VERIFIED: Employment (Amendment) Act 2025 content, Data
Protection and Privacy Regulations numbers, Occupational Safety and Health Act, the
Income Tax Act section and basis for 6% withholding tax on part-time pay, severance,
and any disguised-employment test. Review the register before the next release.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-dev-engine --plugin engineering169 skills in this plugin
/accounting-engineUse when designing or implementing double-entry accounting policy and an embedded ledger engine for invoices, payments, stock, balanced postings, mapped accounts, idempotency, reversals, period locks, audit trails, and financial statements./accounting-finance-controllerUse when coordinating accounting and finance implementation reviews, doctrine routing, control evidence, remediation priorities, and release decisions across a software system./advanced-testing-strategyUse when designing or reviewing test strategy for production systems, APIs, mobile apps, SaaS platforms, ERP workflows, and AI-enabled systems. Covers unit, integration, contract, end-to-end, regression, release-gate, and risk-based testing decisions.Other plugins' skills for the same job