DF huifu-pay-integration
汇付支付交易集成:用于聚合支付、托管支付、checkout-js、下单、查单、关单、退款、对账、支付通知、签名验签、请求头、幂等、交易终态、本地沙箱和支付上线;不用于企业/个人商户进件、图片上传、商户业务开通、商户详情或申请状态查询,这些任务使用 huifu-merchant-onboarding。
Not recommendedlow grade D
As a process F 33/100 · Will not run — References files that are not bundled: references/shared-copyright-notice.md, references/shared-overview.md, references/payment-complete-field-catalog.md
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- The text references files that are not there: add them or drop the references.
For the model run — optional
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 74
✓ No critical or high findings
Medium and low: 74
-
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-async-webhook.md:55High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"resp_data": "{\"resp_code\":\"00000000\",\"resp_desc\":\"处理成功\",\"req_seq_id\":\"2024…o7h\",\"req_date\":\"20240514\",\"hf_seq_id\":\"0029…000\",quoted -
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-php-adapter.md:25High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)- 对账单查询:`BsPayClient::postRequest()` + `V2Tr…est`
detector -
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-python-adapter.md:26High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- 对账单查询:`V2Tr…est().post({})`quoted -
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-python-adapter.md:141High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)对账走 `V2Tr…est().post({})`。不要走 `dg_sdk.Payment`,也不要手写 URL。quoted -
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-python-scenarios.md:222High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`V2Tr…est().post({})`quoted -
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-query-payment-query.md:356High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"hf_seq_id": "0029…000",
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-query-payment-query.md:373High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"hf_seq_id": "0029…000",
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-query-php-scenarios.md:192High-entropy token-like string (may be an id, hash or a credential)use BsPaySdk\request\V2Tr…est;
-
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-query-php-scenarios.md:194High-entropy token-like string (may be an id, hash or a credential)$request = new V2Tr…est();
-
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-query-reconciliation.md:116High-entropy token-like string (may be an id, hash or a credential)V2Tr…est request = new V2Tr…est();
-
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-query.md:81High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- 对账:`BsPayClient::postRequest()` + `V2Tr…est`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-refund-query.md:161High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"org_hf_seq_id": "0031…000",
detector -
low Secrets in code
secret-high-entropy-tokenreferences/aggregation-refund-query.md:180High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"org_hf_seq_id": "0031…000",
detector -
low Secrets in code
secret-high-entropy-tokenreferences/canonical-regression-prompts.md:65High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)期望:路由到 `trade-split-detail-query.md` 和完整字段目录;说明请求只有 `hf_seq_id/huifu_id/ord_type`,三语言都有专属 `V2Tr…est` 且扩展映射为空;`split_trans_responses` 按 String(JSON Array) 只解码一次,16个子字段保留数组层级;示例独有的顶
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-async-webhook.md:51High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"resp_data": "{\"resp_code\":\"00000000\",\"resp_desc\":\"交易成功\",\"req_seq_id\":\"2024…o7h\",\"req_date\":\"20240514\",\"hf_seq_id\":\"0029…000\",quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-java-sdk-quickstart.md:151High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| H5/PC 预下单 | `V2Tr…est` | `com.huifu.bspay.sdk.opps.core.request` |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-java-sdk-quickstart.md:152High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| 支付宝小程序预下单 | `V2Tr…est` | 同上 |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-java-sdk-quickstart.md:153High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| 微信小程序预下单 | `V2Tr…est` | 同上 |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-java-sdk-quickstart.md:154High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| 抖音直连下单 | `V2Tr…est`,设置 `pre_order_type=4` | 同上 |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-java-sdk-quickstart.md:155High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| 托管交易查询 | `V2Tr…est` | 同上 |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-java-tech-spec.md:165High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)"resp_data": "{\"resp_code\":\"00000000\",\"resp_desc\":\"交易成功\",\"huifu_id\":\"6666000109133323\",\"req_date\":\"20240514\",\"req_seq_id\":\"2024…nxq\",\"hf_seq_id\":\"00290TOPfixturequoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-payload-construction.md:111High-entropy token-like string (may be an id, hash or a credential)public V2Tr…est buildRequest(
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-payload-construction.md:116High-entropy token-like string (may be an id, hash or a credential)V2Tr…est request =
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-payload-construction.md:117High-entropy token-like string (may be an id, hash or a credential)new V2Tr…est();
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-php-adapter.md:210High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| 抖音直连下单 | `V2Tr…est` | 调用 `setPreOrderType("4")`、`setDyData(...)`;`notify_url` 等扩展字段按 request/params 路径传入 |table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-php-adapter.md:211High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| 拆单支付订单查询 | 存在 `V2Tr…est` | 可使用官方 request 类;不要用普通 `V2Tr…est` 替代 |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-php-adapter.md:224High-entropy token-like string (may be an id, hash or a credential)use BsPaySdk\request\V2Tr…est;
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-php-adapter.md:226High-entropy token-like string (may be an id, hash or a credential)$request = new V2Tr…est();
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-alipay-mini.md:26High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| SDK Request 类 | `V2Tr…est` |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-alipay-mini.md:48High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`V2Tr…est` 的独立 setter 字段:
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-douyin-direct.md:35High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| SDK Request 类 | Java / PHP / Python 当前基线均使用 `V2Tr…est`;功能码仍映射共用 preorder Endpoint |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-douyin-direct.md:41High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Java | `V2Tr…est` | 调用 `setPreOrderType("4")`、`setDyData(...)`;`notify_url` 等无专属 setter 的字段走 extendInfo |table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-douyin-direct.md:42High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| PHP | `V2Tr…est` | 调用 `setPreOrderType("4")`、`setDyData(...)`;扩展字段按官方 request/params 路径传入 |table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-douyin-direct.md:43High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Python | `V2Tr…est` | 设置 `pre_order_type="4"` 和 `dy_data`,扩展字段通过 `.post(extend_infos)` 传入 |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-h5-pc.md:28High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| SDK Request 类 | `V2Tr…est` |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-h5-pc.md:69High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`V2Tr…est` 可直接设置的核心字段如下:
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-php-scenarios.md:38High-entropy token-like string (may be an id, hash or a credential)use BsPaySdk\request\V2Tr…est;
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-php-scenarios.md:40High-entropy token-like string (may be an id, hash or a credential)$request = new V2Tr…est();
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-php-scenarios.md:78High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)PHP SDK `2.0.30` 使用专属 `V2Tr…est`,固定 `pre_order_type=4` 并传入 `dy_data`;其功能码仍映射共用托管预下单 Endpoint。
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-php-scenarios.md:83High-entropy token-like string (may be an id, hash or a credential)use BsPaySdk\request\V2Tr…est;
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-php-scenarios.md:85High-entropy token-like string (may be an id, hash or a credential)$request = new V2Tr…est();
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-quickstart.md:87High-entropy token-like string (may be an id, hash or a credential)V2Tr…est request = new V2Tr…est();
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-wechat-mini.md:24High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| SDK Request 类 | `V2Tr…est` |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-preorder-wechat-mini.md:46High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`V2Tr…est` 的独立 setter 字段:
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-python-adapter.md:40High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- `V2Tr…est`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-python-adapter.md:41High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- `V2Tr…est`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-python-adapter.md:42High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- `V2Tr…est`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-python-adapter.md:43High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- `V2Tr…est`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-python-adapter.md:44High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- `V2Tr…est`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-python-scenarios.md:49High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`V2Tr…est().post({})`quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-python-scenarios.md:86High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`V2Tr…est().post({})`quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-python-scenarios.md:122High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`V2Tr…est().post({})`quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-python-scenarios.md:156High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`V2Tr…est().post({})`quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-python-scenarios.md:184High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`V2Tr…est().post({})`quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-query-payment-status-query.md:24High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| SDK Request 类 | `V2Tr…est` |
table -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-query-payment-status-query.md:41High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`V2Tr…est` 的独立 setter 字段:
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-query-payment-status-query.md:375High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"org_hf_seq_id": "0056…000",
detector -
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-query-php-scenarios.md:31High-entropy token-like string (may be an id, hash or a credential)use BsPaySdk\request\V2Tr…est;
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-query-php-scenarios.md:33High-entropy token-like string (may be an id, hash or a credential)$request = new V2Tr…est();
-
low Secrets in code
secret-high-entropy-tokenreferences/hostingpay-query-php-scenarios.md:67High-entropy token-like string (may be an id, hash or a credential)use BsPaySdk\request\V2Tr…est;
…and 14 more
Files scanned: 80. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when") - warning
missing-refreference to a missing file: references/shared-copyright-notice.md - warning
missing-refreference to a missing file: references/shared-overview.md - warning
missing-refreference to a missing file: references/payment-complete-field-catalog.md - warning
missing-refreference to a missing file: references/hostingpay-quickstart.md - warning
missing-refreference to a missing file: references/hostingpay-query.md - warning
missing-refreference to a missing file: references/trade-split-detail-query.md - warning
missing-refreference to a missing file: references/hostingpay-refund.md - warning
missing-refreference to a missing file: references/hostingpay-refund-query.md - warning
missing-refreference to a missing file: references/shared-async-notify.md - warning
missing-refreference to a missing file: references/shared-webhook-signing.md - warning
missing-refreference to a missing file: references/shared-server-sdk-matrix.md - warning
missing-refreference to a missing file: references/shared-request-header-policy.md - warning
missing-refreference to a missing file: references/shared-request-field-preservation.md - warning
missing-refreference to a missing file: references/payment-operations-faq.md - warning
missing-refreference to a missing file: references/shared-local-sandbox.md - warning
missing-refreference to a missing file: references/skill-version-policy.md
Process rating: all ten parameters 33/100
Will not run. References files that are not bundled: references/shared-copyright-notice.md, references/shared-overview.md, references/payment-complete-field-catalog.md
- 0Tools and files. 16 referenced file(s) missing: references/shared-copyright-notice.md, references/shared-overview.md, references/payment-complete-field-catalog.md
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 6 mutating operations with no state check
- 100Steps. 35 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1819 tokens
- low 10 top-level sections: this looks like several domains in one skill
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +4No input/output examples
- +1No license
- +2Single-language instructions
- +3Description length 150: enough signal without eating the budget
- +4Structure: 11 headings
- +3Step-by-step instructions: 35 items
- +4Reference files are cited in the instructions (33 of 79)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 60.
External checks
ClawHub: clean
This is a Huifu payment-integration guidance skill with disclosed sandbox and credential-handling instructions, not a self-executing tool, but users should treat payment data and sandbox secrets carefully.
LLM: benign (high) · VirusTotal: · 31 Aug 2026