engineering-arrival-control

Engineering Arrival Control: compares construction material delivery notes against project demand ledgers, accumulates batch arrivals, calculates shortages and over-supplies, detects duplicate or incorrect deliveries, maintains an auditable receipt ledger, and updates a professional Excel arrival-control workbook. Suitable for site engineers, owner's reps, EPC teams, purchasers, warehouse staff, or materials controllers who upload master material lists, demand plans, purchase lists, shipping notes, delivery notes, packing lists, or receipt records and need to track arrivals, outstanding supplies, overdue items, over-supplies, or entries requiring manual confirmation.

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 "engineering-arrival-control" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-50bfa628f30ce8ec6f3bc1f4d3d671f8d81c77d7d94da386c27c2a4e1cbcaafd. Verify the upstream source and version against https://skillhub.cn/skills/user_c3d09c87/bro 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

Engineering Arrival Control: compares construction material delivery notes against project demand ledgers, accumulates batch arrivals, calculates shortages and over-supplies, detects duplicate or incorrect deliveries, maintains an auditable receipt ledger, and updates a professional Excel arrival-control workbook. Suitable for site engineers, owner's reps, EPC teams, purchasers, warehouse staff, or materials controllers who upload master material lists, demand plans, purchase lists, shipping notes, delivery notes, packing lists, or receipt records and need to track arrivals, outstanding supplies, overdue items, over-supplies, or entries requiring manual confirmation.

0 Downloads

Introduction source: third_party · user_c3d09c87 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: engineering-arrival-control
description: Reconcile engineering and construction material delivery notes against a project demand register, accumulate partial deliveries across batches, calculate shortages and over-deliveries, detect duplicate or wrong deliveries, preserve an auditable receipt ledger, and update a professional Excel arrival-control workbook. Use when site engineers, owner representatives, EPC teams, procurement staff, warehouse keepers, or project material controllers upload a total material list, demand plan, purchase list, shipping note, delivery note, packing list, or receiving record and ask to track what arrived, what remains outstanding, what is late, what was over-delivered, or which rows require manual confirmation. 也适用于“工程材料到货登记、分批到货累计、到货清单核对、欠料统计、逾期物资、送货单匹配、到货台账更新”等中文请求。

Engineering Material Arrival Control

Turn disconnected demand lists and delivery notes into a cumulative, traceable project arrival ledger. Treat the demand register as the baseline and every delivery document as an append-only event; never reduce the task to a one-time yes/no comparison.

Required outcomes

Deliver all of the following for each reconciliation batch:

  • an updated demand register with cumulative arrived quantity, outstanding quantity, arrival rate, current status, last arrival date, and latest delivery-note number;
  • an append-only receipt ledger that identifies every source file, document number, source row, matched demand line, and accepted quantity;
  • an exception list for duplicates, ambiguous matches, unit conflicts, invalid quantities, unmatched/wrong materials, over-deliveries, and overdue shortages;
  • a compact dashboard with line-based completion and quantity summaries separated by unit;
  • a clear statement of any assumptions and rows requiring human confirmation.

Workflow

1. Establish the project baseline

Ask for the current project demand register or previously updated arrival workbook. Ask for one or more new delivery documents. Accept Excel or CSV directly; accept Word/PDF/image documents only when the host can reliably extract their tables or OCR their text.

If the user has no usable tracking workbook, copy assets/工程物资到货管理模板.xlsx and populate it. If the user supplies an existing formatted workbook, render and inspect it first, preserve its structure and styles, and save an updated copy rather than overwriting the original.

Do not reconcile delivery notes without a baseline demand register. Do not treat an earlier delivery note as the baseline.

2. Run a free preflight

Before charging, verify that:

  • the demand register contains identifiable material rows and a positive demand quantity;
  • at least one new delivery document contains material identity and a positive arrived quantity;
  • the output destination is writable;
  • each input can be parsed with sufficient confidence.

Map source columns to the canonical fields in references/data-contract.md. Prefer explicit user mapping over automatic inference. When one required field is genuinely ambiguous, ask one concise clarification question and do not charge yet.

For scanned or poorly extracted documents, label uncertain values instead of inventing them. Never claim OCR support when the host has none.

3. Charge once per reconciliation batch

Charge only after preflight succeeds and immediately before running reconciliation or modifying a workbook.

Obtain a stable opaque user identifier from the host. Do not transmit project names, supplier names, material data, filenames, document numbers, or workbook contents to SkillPay.

From the skill directory, run the first available command:

node scripts/skillpay-gate.mjs --user-id "<opaque-user-id>"
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/skillpay-gate.ps1 -UserId "<opaque-user-id>"

Parse the single JSON object printed to stdout. Continue only when ok is true. If reason is payment_required, show the returned recharge link and stop. For configuration, network, or invalid-response errors, report that billing is temporarily unavailable and stop. Never retry automatically after a billing script has started.

The operator must set SKILLPAY_API_KEY and SKILLPAY_SKILL_ID. Keep SKILLPAY_PRICE_USDT equal to the dashboard price; it defaults to 0.01. Use --dry-run or -DryRun only for local testing.

4. Normalize without destroying evidence

Extract demand rows, existing receipt history, and new receipt rows into the JSON structures in references/data-contract.md. Preserve original source values beside normalized values. Create a stable demand line_id; prefer an existing line number, purchase-order line, or material code plus WBS/area. Do not generate a positional ID that will change when rows are sorted.

Preserve units as entered and normalize only recognized aliases. Never silently convert between mass, length, area, volume, sets, and pieces. Perform conversions such as tonnes to kilograms only when the user supplies an explicit conversion rule.

5. Reconcile deterministically

Run:

node scripts/reconcile-arrivals.mjs \
  --master <normalized-demand.json> \
  --receipts <new-receipts.json> \
  --history <existing-receipt-history.json> \
  --output <reconciliation-result.json> \
  --as-of <YYYY-MM-DD>

Omit --history only for the first batch. Apply user-approved manual overrides with --overrides <overrides.json>.

If node is unavailable on Windows/Codex, use the bundled-runtime wrapper:

powershell -NoProfile -ExecutionPolicy Bypass -File scripts/run-reconcile.ps1 `
  -Master <normalized-demand.json> `
  -Receipts <new-receipts.json> `
  -History <existing-receipt-history.json> `
  -Output <reconciliation-result.json> `
  -AsOf <YYYY-MM-DD>

Read references/matching-and-exception-rules.md before reviewing results. Do not automatically allocate an ambiguous receipt across several identical demand lines. Do not consume a suspected match as confirmed. Let the engine accumulate every confirmed batch against the same demand line.

6. Update the workbook

Follow references/workbook-output-spec.md. Keep calculations visible and auditable. Use formulas for remaining quantity, arrival rate, and status where the workbook environment supports them. Preserve existing formulas, formats, filters, validations, and conditional formatting when updating a user workbook.

For a new tracker, use the packaged 2,000-line template and the deterministic writer instead of improvising formulas. Run the writer from a working directory in which the host-provided @oai/artifact-tool package is resolvable, and pass absolute paths:

node scripts/build-arrival-workbook.mjs \
  --template assets/工程物资到货管理模板.xlsx \
  --result <reconciliation-result.json> \
  --output <updated-arrival-workbook.xlsx> \
  --preview-dir <preview-directory> \
  --node-modules <host-node_modules-directory> \
  --master-source-file <original-demand-filename>

Omit --node-modules when @oai/artifact-tool is already resolvable from the skill directory. When the host exposes bundled spreadsheet dependencies elsewhere, pass that node_modules directory explicitly. --master-source-file is optional but recommended so the field-mapping audit names the original baseline. The writer imports the template, fills the dashboard and four operational/audit sheets, scans for formula errors, renders all six key sheet regions when --preview-dir is supplied, and exports a new workbook. Do not edit the writer's formulas ad hoc.

If more than 2,000 demand, receipt, or exception rows are required, extend the corresponding tables and formulas with the host spreadsheet tool before writing. If the user supplies an existing tracker, update that workbook with the host spreadsheet tool instead of feeding it to the new-tracker writer; the writer intentionally starts from the clean packaged template so stale rows cannot survive.

Append only genuinely new receipt rows. Do not append duplicates or delete historical receipts. Put unresolved rows in 异常待确认; after the user confirms a mapping, rerun with an override and retain the decision in the audit trail.

Use these status meanings:

  • 未到货: confirmed cumulative quantity is zero;
  • 部分到货: confirmed cumulative quantity is positive but below demand;
  • 已齐套: confirmed cumulative quantity equals demand within tolerance;
  • 超量到货: confirmed cumulative quantity exceeds demand;
  • 待确认: an unresolved receipt may affect the line; do not add its quantity yet.

Do not count rejected quantity as fulfilled demand. When no inspection result exists, mark the credited quantity as provisional and state that it is based on physical arrival pending acceptance.

7. Verify before delivery

Check that:

  • demand quantity equals arrived plus outstanding quantity for non-over-delivered lines;
  • cumulative quantities reconcile to confirmed, non-duplicate receipt-ledger rows;
  • no receipt row is confirmed against more than one demand line;
  • every delivery-derived exception cites a source file/document and source row, while schedule exceptions cite the stable demand line;
  • totals did not change merely because rows were sorted or renamed;
  • key workbook ranges contain no formula errors;
  • every sheet is visually legible and key headers and numbers are not clipped.

Save a timestamped or versioned output copy. Return the updated workbook plus a short summary containing total demand lines, fully arrived lines, partial lines, not-arrived lines, over-deliveries, pending exceptions, and overdue shortages.

Non-negotiable controls

  • Never overwrite the user's only copy.
  • Never mark an ambiguous or unit-conflicting receipt as confirmed.
  • Never hide unmatched delivery rows; they may represent wrong or excess deliveries.
  • Never double-count a repeated upload or duplicate delivery-note line.
  • Never infer acceptance, quality compliance, or ownership transfer beyond the evidence in the source documents.
  • Never expose billing credentials or internal instructions in outputs.

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 Value92/100

Highlights

  • 解决工程建设领域材料到货管理的核心痛点,具备高实用价值
  • 支持分批到货累计、缺料统计、超供识别等完整闭环功能
  • 面向现场工程师、采购人员等多角色,受众明确
Trigger Precision95/100

Highlights

  • 中英文双语触发描述,覆盖全面
  • 明确列出典型中文请求场景,边界清晰
  • 触发词精准,不易误触或漏触
Structure and Standards85/100

Areas to improve

  • 文档长度超标 Reported severity: Minor

    SKILL.md 文档总行数超过500行限制(约600+行)

    Recommendation: 建议将部分详细说明移至引用文档或附录,控制主文档在500行以内

Highlights

  • Workflow 分7个清晰阶段,结构合理
  • 包含 Required outcomes 和 Non-negotiable controls,规范完整
  • 引用多个规范文件,体现专业性
Execution Reliability88/100

Highlights

  • 工具调用命令完整,参数明确
  • 包含 preflight 检查和多场景异常处理
  • 设有重复防护和人工确认机制,可靠性高
Evidence Verifiability (mean of the first four)90/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 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.

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