qfeius/make-platform-skills

make-integration

Use when the user asks to recognize invoices, bills, receipts, tickets, or other voucher files with Make Integration services.

Vedi sorgente

Come usare

  1. Copia il comando e controlla il pacchetto prima di installarlo nel tuo ambiente agente.
  2. Controlla strumenti, credenziali e ambienti richiesti nel documento originale.
  3. Descrivi input e risultato desiderato; confronta l’output con le fonti.
npx skills add https://github.com/qfeius/make-platform-skills --skill make-integration

Prima di iniziare

  • L’installazione non include abbonamenti, quote API o accesso ai file.
  • Stelle e installazioni indicano attività, non un test indipendente di qualità o sicurezza.
Documento Skill originale

Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.

make-integration

When to use

Use this skill when the user needs Make Platform integration capabilities, especially OCR recognition for invoices and bills.

Current capability:

  • Bill and invoice OCR through makecli integration ocr
  • Optional invoice authenticity verification
  • Structured extraction for PDF/OFD/PNG/JPG/JPEG files
  • Returned invoice fields, stamps, QR codes, coordinates, and optional crop images

Dependency

make-integration depends on the makecli skill and the installed makecli binary.

Instructions

Pre-flight check

Before running OCR:

  1. Check makecli is installed.
  • Missing: run brew tap qfeius/makecli && brew install makecli
  1. Check the OCR command exists.
  • Run makecli integration ocr --help
  • If the command is missing, run makecli update or upgrade makecli.
  1. Check the selected profile.
  • Run makecli configure verify --profile <profile> --output=json
  • If not configured, tell the user to run the interactive setup:

! makecli configure token --profile <profile>

  • If the token is invalid or missing, stop and ask the user to configure makecli credentials. Do not recognize, extract, infer, correct, or complete invoice content outside makecli.
  1. Check the request base URL from makecli.
  • Run makecli configure get server-url --profile <profile>
  • Prefer using the profile-configured server URL instead of hard-coding an environment URL.
  • If the profile has no server URL, makecli uses its own default base URL.
  1. Check the input file.
  • Supported extensions: .pdf, .ofd, .png, .jpg, .jpeg
  • Only upload files provided or approved by the user.

Recognition workflow

Use table output when the user only needs a readable answer:

bash
makecli integration ocr -f <file> --profile <profile>

Use JSON output when you need to parse fields or feed the result into another Make operation:

bash
makecli integration ocr -f <file> --output=json --profile <profile>

Common options:

bash
# Recognize selected pages
makecli integration ocr -f invoice.pdf --pages "1,3,2"
makecli integration ocr -f invoice.pdf --pages "2-4"

# Bind a business document id
makecli integration ocr -f invoice.pdf --business-id <business-id>

# Explicitly disable invoice authenticity verification
makecli integration ocr -f invoice.pdf --verify-vat=false

# Optional response controls
makecli integration ocr -f invoice.pdf --coord-restore-original
makecli integration ocr -f invoice.pdf --crop-complete
makecli integration ocr -f invoice.pdf --crop-value
makecli integration ocr -f invoice.pdf --merge-elec
makecli integration ocr -f invoice.pdf --return-ppi

Output handling

For --output=json, summarize from:

text
data.file_name
data.bill_count
data.processing_duration_ms
data.result.pages[].bills[].items[]
data.result.pages[].bills[].stamps[]
data.result.pages[].bills[].qr_codes[]

When reporting results to the user:

  • Include file name, bill count, page count, and processing duration when available.
  • Extract non-empty items[].value fields.
  • Include stamps and QR codes when they are present and useful.
  • Keep base64 crop payloads out of normal summaries.
  • Report recognized OCR values only from successful makecli integration ocr output.
  • Treat only makecli integration ocr output as the recognition result. Do not use visual inspection, model knowledge, file parsing, alternate OCR tools, direct HTTP calls, or user-visible image content to recognize or fill invoice data.
  • Mask or replace special and personal information only in skill documentation examples, committed samples, logs, or debug snippets.
  • If the OCR result will be written to Make records, invoke the makecli skill for record operations after recognition.

Failure handling

  • API 错误 [990300403]: token验证失败
  • The token is invalid for the selected environment. Ask the user to configure a token valid for that environment, then retry OCR through makecli.
  • API 错误 [990300404]: 服务不存在
  • The selected makecli server URL likely has not deployed the OCR route. Check the profile server URL or confirm deployment.
  • unsupported file extension
  • Ask for a supported PDF/OFD/PNG/JPG/JPEG file.
  • 打开文件失败
  • Check the local path and permissions.
  • Any makecli OCR failure
  • Report the makecli failure and the next makecli configuration or environment step. Do not continue by recognizing the invoice content yourself.

Hard rules

  • Do not write user-provided tokens into repository files.
  • Prefer temporary config directories when the user provides a one-off token.
  • Clean up temporary credentials and OCR result files after the run unless the user asks to keep them.
  • Never print, commit, or duplicate tokens.
  • Do not upload local files unless the user provided or approved them.
  • Do not commit real invoice numbers, taxpayer IDs, order numbers, phone numbers, addresses, tokens, QR payloads, or other sensitive values in skill examples.
  • Do not use any non-makecli path as a fallback for this skill. If makecli cannot run or OCR fails, fix makecli configuration/environment first and retry through makecli.

Correlati per attività

dallo stesso repository

Altri Skills

Tutti gli Skills
qfeius
Community

canvas-table-integration

Use when integrating @qfei-design/canvas-table into an app or page. Covers consumer-side local, virtual, large-data fast-scroll, and grouped tables; public props/methods/events; row-head and header menus; selection, Shift 200 条上限, row colors, drag, fixed columns, summaries, empty states, async row sync, canvas interactions, cell editing, and Make schema field display. Make record lists use make-app-actions for the default selectable record-action workflow. Use make-app-sort for record sorting an

installazioni
1
GitHub Stars
0
Aggiornato
9 ott
qfeius
Community

make-ai-assistant

Use when integrating, upgrading, debugging, or reviewing @qfei-design/make-ai-assistant in a Make App: Agent discovery, multi-session chat, streaming, file/image input, Service gateway routes, and package-owned UI. Does not own generic dialogs, model behavior, authentication or permission policy, DSL, or publishing.

installazioni
1
GitHub Stars
0
Aggiornato
9 ott
qfeius
Community

make-app-actions

Use when generating, integrating, refactoring, reviewing, or debugging Make record-list actions: CanvasTable actions are the default desktop/tablet selection and batch workflow, while 手机/phone 卡片/card and mobile detail pages reuse single edit/delete actions. Triggered by 复选框, 行操作, 选择操作栏, 编辑, 删除, 批量编辑, 暂无可用的操作, selectAll, Shift selection, selectionIntent, 手机卡片操作, 手机详情操作栏, 行级写权限预检, noPermissionRecordIds, record-write-permission, records/bulk, @qfei-design/make-app-actions, or action tests. Covers

installazioni
1
GitHub Stars
0
Aggiornato
9 ott
qfeius
Community

make-app-auth

Use when generating, modifying, reviewing, or debugging Make App unified login and authenticated /api/make requests with @qfeius/make-app-auth. Covers unified login, OAuth/ngrok mode, 401/403 handling, logout, current-user/account-drawer auth wiring, current-context identity, Feishu-container logout visibility, cookies, sessions, redirect callbacks, and Make App auth troubleshooting. Preserve authenticated context for the default /api/make/app/principal/permission flow. Does not cover UI layout,

installazioni
1
GitHub Stars
0
Aggiornato
9 ott