AI Context & Skills
The Payroll Engine AI Context gives AI assistants and coding agents the Payroll Engine knowledge they need, so it does not have to be explained in every session. It contains context files and system prompts for chat assistants and LLM integrations, and agent skills for AI coding agents. It complements the MCP Server: the server gives the agent access to the payroll data, the AI Context tells it how to use that access.
Contents
| Part | Folder | Use |
|---|---|---|
| Context files | context/ |
Reference knowledge: core concepts, architecture, MCP tool inventory |
| System prompts | prompts/ |
Role prompts for Provider and Automator |
| Agent skills | skills/ |
Step-by-step procedures for tasks, loaded by the agent when a task matches |
Context files and prompts suit chat assistants (for example a Claude Project) and applications that call an LLM through an API. Skills suit AI coding agents such as Claude Code, Cursor, Codex or GitHub Copilot.
Skills
A skill is a folder with a SKILL.md that follows the open Agent Skills format. The agent reads only the short description of every skill; the full procedure is loaded when a task needs it. The facts a skill relies on — the MCP tool inventory, the core concepts — are shipped in its references/ folder, so every skill works on its own.
| Skill | Task | Provider | Automator |
|---|---|---|---|
payroll-engine-mcp-setup |
Configure the MCP Server: isolation level, role permissions, client entry, troubleshooting | ✓ | ✓ |
payroll-engine-payroll-analysis |
Answer payroll questions with the read-only MCP tools: explain a payslip, compare periods, values at a point in time, audit trail | ✓ | |
payroll-engine-pecmd |
Write and run Payroll Console command files and CI pipelines | ✓ | |
payroll-engine-payroll-test |
Write and debug payrun and case tests, including the date fields of test data | ✓ |
Install a skill
- Download
PayrollEngine.AiContext-<version>.zipfrom the releases, or clone the repository. - Copy the folders of the skills you need from
skills/into the skill folder of your agent:
| Agent | Project | User |
|---|---|---|
| Cursor | .cursor/skills/ |
~/.cursor/skills/ |
| Claude Code | .claude/skills/ |
~/.claude/skills/ |
For other agents see their documentation on agent skills. Ask a matching question — for example "Set up the Payroll Engine MCP server for our HR team" — and the agent loads the skill on its own.
Context Files and Prompts
| Goal | Context files | Prompt |
|---|---|---|
| Payroll queries through the MCP Server | context/01-pe-overview.mdcontext/05-mcp-tools.md |
prompts/provider.md |
| REST API integration | context/01-pe-overview.md |
prompts/provider.md |
| CLI and Client SDK automation | context/01-pe-overview.md |
prompts/automator.md |
In a Claude Project, upload the context files as project knowledge and use the prompt as instructions. In your own application, combine the prompt and the context files into the 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");
Versioning
The version of the AI Context equals the version of the MCP Server it describes. Every skill carries its version in the front matter (metadata.version), every generated file in its header. Compare it with the version reported by the MCP tool get_server_info: when the server is newer, update the skills from the matching release.
See Also
- AI Context Repository — context files, prompts, skills and releases
- MCP Server — read-only AI access to payroll data
- LLM-Assisted Development — generating regulations and tests with AI
- Payroll Console — command files and test runs