deploy-document-intelligence — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited deploy-document-intelligence (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
az account showaz bicep versionaz bicep lint -f infra/main.bicep
az bicep build -f infra/main.bicepVerify resources:
az deployment group create \
--resource-group $RESOURCE_GROUP \
--template-file infra/main.bicep \
--parameters infra/parameters.jsonSelect the appropriate prebuilt model per document type:
| Document Type | Prebuilt Model | Key Fields |
|---|---|---|
| Invoices | prebuilt-invoice | vendor, amount, date, line items |
| Receipts | prebuilt-receipt | merchant, total, items, tax |
| ID Documents | prebuilt-idDocument | name, DOB, address, ID number |
| Tax Forms | prebuilt-tax.us.w2 | employer, wages, withholding |
| Business Cards | prebuilt-businessCard | name, company, email, phone |
| General | prebuilt-layout | text, tables, selection marks |
# Upload training documents
az storage blob upload-batch --source training-docs/ --destination training --account-name $STORAGE
# Start training via REST API
python scripts/train_custom_model.py --training-data $BLOB_URL --model-id custom-contract-v1Requirements for custom models:
# Document processing flow:
# 1. Upload → Blob Storage trigger
# 2. Document Intelligence analysis (prebuilt or custom model)
# 3. Field extraction with confidence scores
# 4. Validation rules check
# 5. PII detection and redaction
# 6. Store structured results
# 7. Flag low-confidence fields for human reviewpython scripts/test_extraction.py --document samples/invoice.pdf --model prebuilt-invoice
python scripts/test_extraction.py --document samples/receipt.jpg --model prebuilt-receipt
python scripts/test_extraction.py --document samples/contract.pdf --model custom-contract-v1| Issue | Cause | Fix |
|---|---|---|
| Empty extraction results | Wrong model for document type | Use Layout model first to identify structure |
| Low confidence on all fields | Poor scan quality | Require 300 DPI, no skew, good contrast |
| Table extraction fails | Complex nested tables | Use Layout model, handle merged cells |
| Custom model poor accuracy | Too few training samples | Add more labeled samples (15-20 minimum) |
| Processing timeout | Large multi-page PDF | Split into single pages, process in parallel |
| PII not detected | Language mismatch | Set correct locale in analysis options |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.