Skip to content

About

Structured LLM context for MCP Server access and REST API integration with Payroll Engine.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Payroll Engine AI Context

Structured LLM context for MCP Server access and REST API integration with Payroll Engine.

License: MIT — free for personal and commercial use.

What is this?

Pre-built context files optimised for LLMs (Claude, GPT-4, Copilot, etc.) when working with the Payroll Engine MCP Server or REST API. Instead of explaining PE concepts from scratch in every session, load the relevant context as system prompt or project knowledge.

For regulation development (Exchange JSON/YAML, No-Code, C# scripting), see payrollengine.org.

Context × Role Matrix

Context file Description Provider Automator
01-pe-overview.md Core concepts, architecture, MCP access control ✓ ✓
05-mcp-tools.md MCP Server read-only tool inventory ✓ ✓
prompts/provider.md System prompt for REST API integration ✓
prompts/automator.md System prompt for CLI / Client SDK automation ✓

Role definitions:

  • Provider — EOR / Bureau / HCM vendor integrating via REST API or MCP Server
  • Automator — DevOps / integration engineer using pecmd CLI and Client SDK

Skills

Agent Skills for AI coding agents (Claude Code, Cursor, Codex, GitHub Copilot and others). A skill holds the procedure for one task and is loaded only when the task needs it; the facts stay in context/.

Skill Task Provider Automator
payroll-engine-mcp-setup Configure the MCP Server: isolation level, role permissions, client entry ✓ ✓
payroll-engine-payroll-analysis Answer payroll questions with the read-only MCP tools ✓
payroll-engine-pecmd Write and run pecmd command files, CI pipelines ✓
payroll-engine-payroll-test Write and debug payrun and case tests ✓

Repository structure

context/
  01-pe-overview.md     Core concepts, architecture, MCP access control
  05-mcp-tools.md       MCP Server read-only tool inventory  [generated]
prompts/
  provider.md           System prompt — REST API integration
  automator.md          System prompt — CLI / Client SDK automation
skills/
  <skill>/SKILL.md      Procedure of one task
  <skill>/references/   Copies of context files  [generated]
devops/
  Generate-AiContext.ps1   Regenerate [generated] files from source repos

Files marked [generated] are overwritten by Generate-AiContext.ps1 on each release.

Versioning

The package version equals the version of the MCP Server it describes; releases are tagged v<version>, and each release carries a zip with context/, prompts/ and skills/. Every skill carries its version in the front matter (metadata.version), every generated file in its header.

Usage

Skills

Copy the folders of the skills you need from skills/ into the skill folder of your agent, for example .cursor/skills/, .claude/skills/ or ~/.claude/skills/. The agent loads a skill when the task matches its description.

Claude.ai Project (recommended)

Upload the relevant context files as Project Knowledge, then use the matching prompt:

Goal Context files Prompt
MCP Server queries 01-pe-overview.md, 05-mcp-tools.md prompts/provider.md
CLI / SDK automation 01-pe-overview.md prompts/automator.md

API system prompt

var systemPrompt = await File.ReadAllTextAsync("prompts/provider.md")
                 + await File.ReadAllTextAsync("context/01-pe-overview.md")
                 + await File.ReadAllTextAsync("context/05-mcp-tools.md");

Regenerating generated files

.\devops\Generate-AiContext.ps1

About

Structured LLM context for MCP Server access and REST API integration with Payroll Engine.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages