invoice-maker SKILL.md skillA

invoice-maker from tsingliuwin/autoclaw is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tsingliuwin/autoclaw/invoice-maker@v1.1.0

Pins v1.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tsingliuwin/autoclaw
Path
skills/invoice-maker/SKILL.md
Versions recorded
3
Latest version
v1.1.0, committed Oct 10, 2026
First version recorded
Sep 3, 2026
Size
4,068 bytes
Repository stars
295
License
MIT

开发票/生成发票/报价单/收据/采购单/对账单/账单/付款通知 — formal business documents as paged PDFs with proper tables, right-aligned amounts, tax lines, repeating headers and page-number footers. Offline, batch-ready, bilingual layouts.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 发票生成器

把订单/交易数据变成正式的商务票据 PDF:发票、报价单、收据、采购单、对账单、账单。本技能沉淀了**票据的版式结构、金额规范和批量开票模式**,产出的 PDF 文字可选中、字体已内嵌,可直接邮件发送或归档。

## 何时使用

- 用户要"开/生成"一张正式单据:发票、报价单、收据、采购单、对账单、账单、付款通知
- 从订单表(CSV/JSON)批量出票
- 不适用:非票据类报告(运营周报等用 code2media);证书奖状(用 code2media 模板);艺术排版海报(用 poster-maker)

## 版式结构(票据的骨架)

```
[抬头区]   公司名 + 单据类型/编号        日期/有效期/联系人(右对齐)
[客户区]   致:客户名 + 一句话背景说明(浅底色块)
[明细表]   # | 项目 | 规格说明 | 数量 | 单价 | 小计(表头浅灰底)
[合计区]   小计 → 税 → 含税总计(右对齐,总计最大最粗)
[条款区]   付款条款/有效期/免责,小号灰字,可中英双语
```

参考 `templates/`:`invoice.html`(采购订单,60 行明细跨页示例)、`quote.html`(报价单)。

## 金额与排版规范(硬性)

- **金额一律右对齐**,带千分位(`¥ 104,940.00`);数量/单价/小计列都用 `text-align:right`
- **总计行最大最粗**,小计/税行用灰色小一号;税行单独列出,不和总计混算
- 表格行加 `style="border-bottom:1px solid #e2e8f0"`,表头浅灰底 `background:#f1f5f9`
- 表格行加 `break-inside:avoid` 防跨页劈行;`<thead>` 会跨页自动重复,明细多也不怕
- 页脚固定放页码:`第 <span class="pageNumber"></span> 页 / 共 <span class="totalPages"></span> 页`
- 编号规则清晰可见(如 `QU-2026-0912`),日期用完整格式;中英双语条款便于跨境
- 渲染命令:

```bash
node "<技能目录>/scripts/render.mjs" --html invoice.html --pdf -o invoice.pdf --size a4 \
  --title "发票 INV-2026-0001" \
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tsingliuwin/autoclaw/invoice-maker@sha256:ee9eab362213c7a8

The line at the top of this page pins the label v1.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2uiha5mthutecnfw.svg)](https://markdownregistry.com/a/art_2uiha5mthutecnfw)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Sep 3, 2026 and Oct 10, 2026, about one every 19 days.

versioncommittedcommitsizeaudit
v1.1.0 latest2026-10-10 691f7e8 4,068 BA view · diff
v1.0.12026-09-03 6a990de 4,012 BA view · diff
v1.0.02026-09-03 fb46dd1 4,075 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4068 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tsingliuwin/autoclaw · 295 stars · license MIT · pushed 2026-10-10 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2uiha5mthutecnfw
GET https://markdownregistry.com/api/v1/resolve?ref=tsingliuwin/autoclaw/invoice-maker
GET https://markdownregistry.com/api/v1/blob/ee9eab362213c7a8397355ef71fe0ce3216834af8859ba3a6414192ed14da1da

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tsingliuwin/autoclaw

AGENTS.md AGENTS.md file
tsingliuwin/autoclaw · AGENTS.md
git:20261010.d1bdfc9 · audit A · 295 stars
code2media SKILL.md skill
tsingliuwin/autoclaw · skills/code2media/SKILL.md · Universal media renderer with no fixed template — any custom layout, size or style becomes pixel-perfect images…
v1.3.0 · audit A · 295 stars
poster-maker SKILL.md skill
tsingliuwin/autoclaw · skills/poster-maker/SKILL.md · 生成海报/做海报/公众号封面/小红书配图/朋友圈配图/OG图/分享卡/头图/横幅/banner — social-ready posters, covers and share cards with big-type layouts…
v1.2.0 · audit A · 295 stars

Every file in tsingliuwin/autoclaw

Browse by kind, by grade A, or by owner.