Preface¶
HR, Legal, or Business managers often need to handle labor contracts and supporting documents during stages such as onboarding, renewal, transfer, and termination. With numerous clauses and varying local interpretations, relying solely on general large language models can easily lead to missing mandatory provisions or mistaking “suggestions” for conclusions. This article introduces the community Skill “HR Compliance Officer” on SkillHub, which consolidates capabilities such as contract review, risk diagnosis, compliance checklists, and legal document generation into a unified SKILL instruction, facilitating on-demand invocation in clients supporting Skills like Cursor and Claude Code.
What is this¶
“HR Compliance Officer” (Coordinate @user_8965db71/hr-legal-compliance) is a community Skill under the professional category on SkillHub. The current version is 2.0.2, maintained by the publisher user_8965db71, with the source labeled as community.
The official introduction positions it as an HR Legal Compliance Officer: a compliance assistant focused on Chinese labor law, covering contract review, risk diagnosis, compliance checklist, and legal document generation. The page tag requires_api_key=false indicates that, according to SkillHub instructions, it can be installed and used without additional API Key configuration.
SkillHub Display Page: https://www.skillhub.cn/skills/user_8965db71/hr-legal-compliance
Skill Resource Address: https://api.skillhub.cn/user_8965db71/hr-legal-compliance
Core Functions¶
The following capabilities are derived from the official introduction above; specific sub-modules are not detailed separately on the page:
- Contract Review: Sorts out compliance concerns at the clause level for texts such as labor contracts and supplementary agreements (specific output format is subject to the installed
SKILL.md). - Risk Diagnosis: Alerts to potential labor law risk points based on employment scenarios to facilitate manual review.
- Compliance Checklist: Generates checkable compliance items based on common HR processes to reduce omissions.
- Legal Document Generation: Assists in drafting employment-related document drafts given clear requirements and factual premises.
Installation and Activation¶
The installation method provided on the SkillHub page is to let the current Agent read the SkillHub Installation Instructions and install the coordinate @user_8965db71/hr-legal-compliance.
If the skillhub CLI is already installed on your machine, you can first check the version, then install it to the current Agent’s skills directory (if --dir is not specified, it defaults to ./skills/, which most clients will not load automatically):
command -v skillhub && skillhub --version
If the CLI is not installed, you can use the official installation script according to the SkillHub documentation (full installation or CLI only):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When installing this Skill, point --dir to the skills directory of the client you are using. Common paths listed in the SkillHub documentation are as follows:
| Client | skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
Taking Cursor as an example, the installation command looks like this:
skillhub install user_8965db71/hr-legal-compliance --dir ~/.cursor/skills/
After installation, enable or refresh Skills according to your client’s instructions (some environments require a client restart). The official page does not list specific environment variables or additional configuration file names bound to this Skill.
Typical Usage¶
The official SkillHub detail page does not include copy-paste dialogue examples. Based on the four capabilities in the introduction, you can directly explain the scenario and materials in natural language after enabling the Skill, for example:
- Paste the full text of a labor contract pending review and request a contract review based on Chinese labor law, listing high-risk clauses.
- Describe the facts of an employee’s onboarding/resignation and request a risk diagnosis, explaining parts that require confirmation by a human lawyer.
- Explain upcoming batch renewals or layoff communications and request the generation of a compliance checklist.
- Provide elements such as position, term, and compensation, and request the generation of a draft labor contract or termination notice.
The above prompts are usage examples corresponding to the official capability descriptions; specific constraints, output templates, and disclaimer statements are subject to the SKILL.md within the installation package.
Applicable Scenarios & Notes¶
Who it is for: HR and legal assistants in SMEs, business managers who need to quickly screen employment documents and process compliance points, and teams already using Skills in environments like Cursor, Claude Code, and Codex.
Usage Notes:
- The application of labor law is related to local detailed rules and the latest judicial interpretations. Model and Skill outputs are for assistance only and cannot replace the opinions of practicing lawyers or determinations by regulatory authorities.
- This Skill is of community origin; major employment decisions should retain manual review and audit trails.
- SkillHub Statistics (based on retrieved data): Rating 100000, Downloads 2252; the page also shows an installation count of 0, which is for platform display reference only.
- No API Key required does not mean enterprise data confidentiality requirements can be ignored. Please desensitize confidential contracts and personal information according to company policies before inputting.
Conclusion¶
“HR Compliance Officer” consolidates four types of tasks related to Chinese labor law—contract review, risk diagnosis, compliance checklists, and legal document generation—into a single Skill coordinate. It is suitable for preliminary employment compliance screening within Agents that support SkillHub installation. For installation or updates, please refer to the SkillHub page and Installation Documentation:
- https://www.skillhub.cn/skills/user_8965db71/hr-legal-compliance
- https://api.skillhub.cn/user_8965db71/hr-legal-compliance