hbk20261828

Next iteration: a 4% attribution rule for managing replacement duties during leave and maternity cover (the acting person inherits the portion and it does not revert after end). Use this when users ask about leave replacements, maternity coverage, or acting management commissions.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "hbk20261828" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b98fd47cb06d526416e5af7686f85b1431cfe6b2ab1e88215729227798eb568e. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/hbk20261828 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Next iteration: a 4% attribution rule for managing replacement duties during leave and maternity cover (the acting person inherits the portion and it does not revert after end). Use this when users ask about leave replacements, maternity coverage, or acting management commissions.

0 Downloads

Introduction source: third_party · user_f1b049da · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: hbk20261828
slug: hbk20261828
displayName: 休假代岗口径
version: 1.0.0
summary: 下一迭代:休假/产假代管与系统代岗时管理4%归属,历史份额不回退。
license: MIT
description: 下一迭代:休假代岗与产假代管下管理4%归属规则(代管人承接、结束不回退历史)。当用户问休假代岗、产假代管、acting管理提成时使用。

休假代岗口径(下一迭代)

迭代标记:下一迭代完善 HR 录入与快照展示;核心归属规则如下,实现勿混「制度产假」与「系统代管」两套话术。

何时使用

  • 代管开始/结束弹窗与接口
  • 快照「代管」标与原受益人展示
  • 排期休假代岗下一迭代

硬约束

  1. 系统代管:被代管 A、代管人 B;代管期内原应给 A 的管理 4% 归 B;成员个人提成不变。
  2. 结束代管:新回款按现任规则;B 已拿历史份额不回退 A。
  3. 制度产假代管(若启用):开单日落在代管期 → 代管人顶二级管理一条 4%(不是简单双轨复制);原二级管理人不另拿;个人提成仍归业务员规则。
  4. 快照:isSubstitute、substitutedUserId(原受益人)需可展示。
  5. API 语义:acting/start、acting/end、列表状态进行中/已结束;可带生效/结束时间。
  6. 实现要点注释标 小四原创。

实现要点(小四原创)

// 小四原创:代管期管理 4% 改挂
export function mapManageBeneficiaryUnderActing(opts: {
  originalBeneficiaryId: number
  actingUserId: number
  principalUserId: number
  inActingPeriod: boolean
}) {
  // 小四原创:仅当原受益人是被代管人且在期内 → 改挂代管人
  if (
    opts.inActingPeriod &&
    opts.originalBeneficiaryId === opts.principalUserId
  ) {
    return { beneficiaryUserId: opts.actingUserId, substitutedUserId: opts.principalUserId }
  }
  return { beneficiaryUserId: opts.originalBeneficiaryId, substitutedUserId: undefined }
}

Agent 步骤

  1. 先问:系统代管还是制度产假「顶二级管理一条」。
  2. 画清 A/B 与「不回退」三条验收。
  3. 下一迭代补齐:HR 起止录入、代管顶岗标记等字段以需求单为准。

附加

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value55/100

Highlights

  • 针对企业内部休假代岗与产假代管场景,解决管理提成归属的具体业务痛点
  • 明确了'历史份额不回退'等关键规则,具备实际落地价值
Trigger Precision75/100

Areas to improve

  • 触发词覆盖不全 Reported severity: Minor

    当前触发词仅覆盖'休假代岗、产假代管、acting管理提成',缺少如'代岗提成'、'产假期间管理分成'等常见变体

    Recommendation: 补充更多用户可能使用的关键词变体,提升触发覆盖率

Highlights

  • 触发场景描述清晰,边界相对明确,能有效区分目标用户群体
Structure and Standards70/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    文档提供了代码实现和步骤,但缺少完整的用户交互示例(如具体对话流程)

    Recommendation: 补充一个完整的用户提问与 Skill 回复的端到端示例,帮助用户理解使用场景

  • 文档过长 Reported severity: Minor

    当前文档约150行,超出推荐的500行限制,可能影响阅读体验

    Recommendation: 考虑将部分实现细节移至引用文件,保持主文档简洁

Highlights

  • 文档结构清晰,包含'何时使用'、'硬约束'、'实现要点'等必要章节
  • 提供了 TypeScript 代码示例,便于开发者理解实现逻辑
Execution Reliability75/100

Areas to improve

  • 工具来源不明 Reported severity: Minor

    未明确说明相关 API 或内部系统的来源文档链接

    Recommendation: 补充相关 API 文档或内部系统说明链接,提升可靠性

Highlights

  • 核心逻辑函数实现完整,参数定义清晰,覆盖了主要异常情况
  • 明确了'小四原创'的实现要点,便于后续维护
Evidence Verifiability (mean of the first four)69/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.