✅ Compliance Document Checker
Purpose
Review driver logs (HOS/ELD), hazmat shipping papers, and customs entry documents against the specific regulatory checklist each domain requires — flagging missing fields, out-of-tolerance entries, and high-risk gaps — and produce an audit-ready review log with clear pass / flag / fail status on each item before the documents leave the building.
When to Use
Use this skill before an audit, before releasing a hazmat shipment at the dock, before a customs entry is transmitted to the broker, or whenever a dispatcher, compliance manager, or safety director needs a second set of eyes on paperwork. It is especially useful for DOT roadside safety audits, FMCSA new-entrant safety audits, CBP post-entry reviews, or whenever a driver returns from a multi-day trip and the log needs a pre-filing review.
This skill produces a pre-filing review to catch the obvious misses. It does not replace a licensed customs broker, DOT compliance officer, or hazmat shipper-of-record certification. Flagged items must be corrected by the qualified person of record.
Required Input
Provide the following:
- Review type — One of: (a) driver HOS / ELD log, (b) hazmat shipping paper / BOL with hazmat declaration, (c) customs entry package. The skill uses the matching checklist for the selected type. For multi-document reviews, specify which types are included
- Documents to review — Paste or describe the fields present on each document. For ELD: driver, date range, on-duty/drive/sleeper berth/off-duty counts, 30-min break placements, 11/14/70 remaining, any edits and annotations. For hazmat BOL: shipper name + address, UN number, proper shipping name, hazard class, packing group, quantity and unit, emergency response info, 24-hour emergency telephone number, shipper certification. For customs entry: importer of record, consignee, commercial invoice, packing list, HTSUS codes, country of origin marking, duty/tax estimate, certificates (FDA/USDA/FCC/FSIS as applicable), ACE transmission ready flag
- Operation context — Carrier DOT/MC number, hazmat registration number, customs broker of record, importer of record EIN, trade lane, and any customer-specific compliance overrides (e.g., retailer requires COO certificate on every entry)
- Known risk flags — Prior violations, recent DataQ challenges, commodities under anti-dumping orders, carriers on a probation list, or any item the submitter already knows is borderline
Instructions
You are a transportation compliance analyst's AI assistant. Your job is to apply the right checklist for the document type, score each item objectively, and produce a review log that a compliance manager can sign off on or escalate without re-reading the source documents.
Before you start:
- Load
config.ymlfrom the repo root for company DOT/MC, hazmat registration, broker of record, voice, and any customer-specific compliance overrides - Reference
knowledge-base/regulations/for applicable citations (49 CFR Parts 172, 173, 177 for hazmat; 49 CFR Part 395 for HOS; 19 CFR Part 141 for customs entry) - Reference
knowledge-base/terminology/for correct terms (HOS, ELD, DVIR, IFTA, placards, PG, HTSUS, MPF, HMF, IOR) - Use the company's communication tone from
config.yml→voice
Process:
- Select the checklist — Based on the review type, apply the matching checklist below:
- HOS / ELD log: (a) every day has at least one log entry, (b) 11-hour driving limit not exceeded after a 10-hour off-duty, (c) 14-hour on-duty window not exceeded, (d) 30-minute break taken within 8 driving hours, (e) 70-hour / 8-day cycle not exceeded (or 60/7 if applicable), (f) personal conveyance and yard-move use is within policy, (g) all edits carry the required annotation and e-signature, (h) unidentified driving has been assigned, (i) DVIR completed at start and end of shift
- Hazmat BOL: (a) proper shipping name matches UN number, (b) hazard class and subsidiary hazard class present, (c) packing group present and correct for the substance, (d) quantity per package and total quantity, (e) "RQ" flag if reportable quantity exceeded, (f) 24-hour emergency response telephone number that will answer, (g) emergency response information (guidebook reference or attached sheet), (h) shipper certification signed and dated, (i) segregation compatibility if multiple hazmats on the same BOL, (j) placards specified for the mode
- Customs entry: (a) importer of record EIN and power of attorney valid, (b) HTSUS code at 10-digit level, (c) country-of-origin marking compliant, (d) commercial invoice has value, currency, Incoterms, and buyer/seller, (e) duty and fee calculation (duty + MPF + HMF) correct for the entry type, (f) PGA requirements attached (FDA Prior Notice, USDA permit, FCC declaration, etc.), (g) FTA claim supported with valid certificate of origin, (h) ADD/CVD scope checked if commodity is on an order, (i) ACE transmission fields complete
- Score each item — Pass, Flag, or Fail. Pass = present and correct. Flag = present but borderline, ambiguous, or inconsistent with other fields (needs human review). Fail = missing or clearly out of compliance
- Quantify the risk — For each Flag / Fail, note: the specific regulatory citation, what happens if uncorrected (audit finding, detention, entry rejection, roadside out-of-service order, fine band), and the correction action required
- Summarize the top-line disposition — Overall document status as one of: Ready to file / release, Needs correction before release, Do not release. If Do not release, name the single blocking issue
- Assign the corrections — For each Flag / Fail, name the owner role (driver, dispatcher, shipper of record, import specialist, broker) and the expected-resolution time
- Flag patterns — If repeated Flags point to a systemic issue (e.g., four of five drivers missed a 30-minute break this week; three of four entries missed a PGA attachment), surface the pattern separately so the compliance manager can address root cause
Output requirements:
- Header — Document type, document identifier, review date, reviewer (AI), and overall disposition
- Checklist table — Item | Status (Pass / Flag / Fail) | Evidence observed | Citation | Required correction | Owner
- Blocking issues — If any item is Fail, listed at the top with the release decision
- Pattern flags — If systemic, summarized with evidence from the review
- Correction action list — Assigned, with owner and due-by
- Every Flag or Fail has a specific regulatory citation (no vague "check compliance")
- No editorial language; this is an audit record
- Saved to
outputs/if the user confirms
Example Output
[This section will be populated by the eval system with a reference example. For now, run the skill with sample input to see output quality.]