Agent skill

Food Label Review

by zh-xx in zh-xx/legal-assistant-skills

预包装食品标签合规审核技能,用于审核食品标签是否符合 GB 7718(预包装食品标签通则)和 GB 28050(预包装食品营养标签通则)。适用场景:(1) 用户提交食品标签图片、文字或文档要求合规审核时;(2) 用户提到"食品标签审核""标签合规""营养标签审查""GB 7718""GB 28050"等关键词时;(3) 用户要求检查食品标签是否存在缺项、错误或违规风险时。支持 2011 版和…

Apache-2.0Auto-check passed

Install Food Label Review

skills CLI
$ npx skills add zh-xx/legal-assistant-skills --skill food-label-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zh-xx/legal-assistant-skills food-label-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zh-xx/legal-assistant-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/food-label-review .claude/skills/food-label-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
food-label-review
GitHub stars
174
Token cost
~1.7k tokens
SKILL.md length
365 words
Files
33 (incl. scripts, references)
Skills in repo
8
Repo updated
First seen
Licence
Apache-2.0

At a glance

预包装食品标签合规审核技能,用于审核食品标签是否符合 GB 7718(预包装食品标签通则)和 GB 28050(预包装食品营养标签通则)。适用场景:(1) 用户提交食品标签图片、文字或文档要求合规审核时;(2) 用户提到"食品标签审核""标签合规""营养标签审查""GB 7718""GB 28050"等关键词时;(3) 用户要求检查食品标签是否存在缺项、错误或违规风险时。支持 2011 版和…

  • Works in 3 steps: 版本确定(二选一,不做对比审核) → 标签类别识别(三选一) → 豁免检查
  • SKILL.md covers 审核流程, 阶段一:版本确定与预筛, 阶段二:一般标签审核 (GB 7718) and 阶段三:营养标签审核 (GB 28050), plus 5 more sections
  • Calls node

What it does

Food Label Review is an agent skill from zh-xx/legal-assistant-skills. 预包装食品标签合规审核技能,用于审核食品标签是否符合 GB 7718(预包装食品标签通则)和 GB 28050(预包装食品营养标签通则)。适用场景:(1) 用户提交食品标签图片、文字或文档要求合规审核时;(2) 用户提到"食品标签审核""标签合规""营养标签审查""GB 7718""GB 28050"等关键词时;(3) 用户要求检查食品标签是否存在缺项、错误或违规风险时。支持 2011 版和 2025 版标准。

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 33 other files, including scripts and reference files (for example `references/00-版本选择与适用范围.md`, `references/01-食品名称-2011.md` and `references/01-食品名称-2025.md`).

The repository describes itself as: AI assistant skills for legal work. Compatible with Claude Code, Codex, and other platforms. The licence is Apache-2.0.

Example prompts

  • “食品标签审核”
  • “营养标签审查”
  • “GB 7718”
  • “/food-label-review”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 版本确定(二选一,不做对比审核)
  2. 标签类别识别(三选一)
  3. 豁免检查

What it can do on your machine

Read from SKILL.md and the folder at commit 3094afd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Food Label Review loads about 1.7k tokens when it runs, and up to ~19k if it reads all its reference files. Until then it costs about 56 tokens; SKILL.md has 365 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~19k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from zh-xx/legal-assistant-skills at commit 3094afd, republished under its Apache-2.0 licence (© zh-xx). 365 words, ~1,708 tokens.

Download SKILL.mdSave it as .claude/skills/food-label-review/SKILL.md (or your agent's skills folder). This skill also uses 32 other files; get the full folder from GitHub.
name
food-label-review
description
预包装食品标签合规审核技能,用于审核食品标签是否符合 GB 7718(预包装食品标签通则)和 GB 28050(预包装食品营养标签通则)。适用场景:(1) 用户提交食品标签图片、文字或文档要求合规审核时;(2) 用户提到"食品标签审核""标签合规""营养标签审查""GB 7718""GB 28050"等关键词时;(3) 用户要求检查食品标签是否存在缺项、错误或违规风险时。支持 2011 版和 2025 版标准。

预包装食品标签合规审核

对食品标签素材进行四阶段流水线审核:版本确定与预筛 → 一般标签审核 → 营养标签审核 → 生成报告。

审核流程

输入食品标签素材(照片描述/文字/文档)
    │
    ▼
[阶段一] 版本确定与预筛
    │  确定适用版本(2011/2025) → 识别标签类别 → 检查豁免
    │
    ▼
[阶段二] 一般标签审核 (GB 7718)
    │  2a. 必标项完整性核查(有没有)
    │  2b. 逐项内容合规审核(对不对)
    │
    ▼
[阶段三] 营养标签审核 (GB 28050)
    │  3a. 必标项完整性核查(有没有)
    │  3b. 逐项内容合规审核(对不对)
    │
    ▼
[阶段四] 生成审核报告

阶段一:版本确定与预筛

读取 references/00-版本选择与适用范围.md。

执行步骤:

  1. 版本确定(二选一,不做对比审核):

    • 2011 版:GB 7718-2011 + GB 28050-2011
    • 2025 版:GB 7718-2025 + GB 28050-2025
    • 必须通过 AskUserQuestion 让用户确认适用版本,不得自行推断。 当前处于 2011→2025 过渡期,同一企业可能部分产品适用旧版、部分适用新版,版本选择直接影响审核结论,须由用户(委托方)明确指定。
  2. 标签类别识别(三选一):

    • 直接提供给消费者 — 标准完整要求
    • 非直接提供给消费者(B2B) — 简化标示(仅需食品名称、净含量/规格、生产日期、保质期、贮存条件)
    • 进口预包装食品 — 额外要求(原产国、进口商信息、中文标签等)
  3. 豁免检查:

    • 一般标签小包装豁免:≤20cm²(2025) / <10cm²(2011)
    • 营养标签豁免:按 references/00 中的豁免条件判定 → 豁免则跳过阶段三
    • 保质期豁免:部分酒类等

输出: 版本标签 + 类别标签 + 豁免状态 + 需执行的审核模块列表

阶段二:一般标签审核 (GB 7718)

2a. 必标项完整性核查

在进入逐项审核前,先对照必标项清单,确认标签上是否存在以下法定必标项。缺失任一必标项即标记高风险。

直接提供给消费者的预包装食品:

#必标项20112025备注
1食品名称必标必标
2配料表必标必标单一配料可豁免
3净含量和规格必标必标
4生产者/经营者名称、地址、联系方式必标必标
5生产日期必标必标部分酒类可豁免(2025)
6保质期必标必标部分酒类/食醋/食盐等可豁免
7贮存条件必标必标
8食品生产许可证编号必标必标进口食品可豁免
9产品标准代号必标必标进口食品可豁免
10致敏物质推荐必标2025 升级为强制

B2B(非直接提供):仅需 #1、#3、#5、#6、#7。

小包装豁免:按 references/00 中规定的可简化标示项目。

将缺失项全部记录后,进入 2b。

2b. 逐项内容合规审核

按固定顺序加载对应版本的 references,对每个已存在的标签项目审核内容是否合规:

仅 2025 版加载:

#审核项目文件
9食品声称08-食品声称-2025
10数字标签10-数字标签-2025

进口食品额外加载:

#审核项目文件
11进口食品09-进口食品-2025

豁免相关(如需确认):12-豁免标示

阶段三:营养标签审核 (GB 28050)

如阶段一已判定豁免营养标签 → 跳过本阶段,报告中注明豁免原因。

注意:豁免营养标签的食品若出现任何营养信息,仍应按标准执行。

3a. 营养标签必标项完整性核查

确认营养标签上是否存在以下法定必标项。缺失即标记风险。

2011 版强制标示项("4+1"):

#必标项
1营养成分表(方框表格式)
2能量 (kJ)
3蛋白质 (g)
4脂肪 (g)
5碳水化合物 (g)
6钠 (mg)
7各项 NRV%

2025 版强制标示项("6+能量+警示语"):

#必标项备注
1营养成分表(方框表格式)
2能量 (kJ)
3蛋白质 (g)
4脂肪 (g)
5饱和脂肪 (g)2025 新增
6碳水化合物 (g)
7糖 (g)2025 新增
8钠 (mg)
9各项 NRV%
10"儿童青少年应避免过量摄入盐油糖"2025 新增

额外强制标示条件(两版通用):

  • 对 4.1 以外的营养成分进行声称时 → 须在营养成分表中标示该成分
  • 使用了营养强化剂 → 须标示强化成分
  • 使用了氢化/部分氢化油脂 → 须标示反式脂肪酸
Show full SKILL.md (112 more words)Show less
3b. 逐项内容合规审核

仅 2025 版加载:

#审核项目文件
6儿童青少年警示语25-儿童青少年警示语-2025

豁免相关(如需确认):26-营养标签豁免

阶段四:生成审核报告

汇总阶段一至三的审核结果,使用以下模板输出报告:

markdown
# 食品标签合规审核报告

## 一、基本信息

| 项目 | 内容 |
|-----|------|
| 食品名称 | [食品名称] |
| 审核日期 | [日期] |
| 适用标准 | GB 7718-[版本] + GB 28050-[版本] |
| 标签类别 | 直接消费者 / B2B / 进口 |
| 营养标签 | 需审核 / 豁免(原因:[原因]) |

## 二、审核结论

**总体结论:** [通过] / [需修改后通过] / [不予通过]

**风险等级:** [高/中/低]

## 三、问题清单

> 按风险等级从高到低排列

### [编号]. [问题简述]

- **违规类型:** [缺失必标项/内容违规/格式不规范/声称不合规/...]
- **风险等级:** [高/中/低]
- **问题描述:** [具体描述]
- **标签原文:** "[摘录标签原文]"
- **违反条款:** [GB 7718/GB 28050 具体条款]
- **修改建议:** [具体修改方向]

## 四、合规建议

[针对整体标签的改进方向]

## 五、免责声明

本审核报告基于所提供的食品标签素材内容进行合规分析,不构成正式法律意见。
审核依据为 GB 7718 和 GB 28050 的规定,未涵盖其他食品安全标准或行业标准的要求。
建议结合产品实际情况及最新法规要求进行综合判断。

DOCX 报告生成(可选)

如用户要求生成 Word 文档格式的审核报告,在阶段四完成 Markdown 报告输出后,额外执行以下步骤:

  1. 将审核结果写入 JSON 文件,结构如下:
json
{
  "basicInfo": {
    "食品名称": "XX牌牛奶",
    "审核日期": "2026-02-11",
    "适用标准": "GB 7718-2025 + GB 28050-2025",
    "标签类别": "直接提供给消费者",
    "营养标签": "需审核"
  },
  "conclusion": "通过 | 需修改后通过 | 不予通过",
  "riskLevel": "高 | 中 | 低",
  "issues": [
    {
      "title": "问题简述",
      "type": "违规类型",
      "risk": "高 | 中 | 低",
      "description": "问题描述",
      "quote": "标签原文摘录",
      "violation": "违反条款",
      "suggestion": "修改建议"
    }
  ],
  "suggestions": "合规建议",
  "disclaimer": "免责声明(可选,有默认值)"
}
  1. 运行生成脚本:
bash
node scripts/generate_report.js <input.json> [output.docx]

生成的 DOCX 格式:仿宋字体、小四正文、1.5 倍行距、页眉页脚、风险等级彩色标注。

风险等级判定标准

  • 高风险(缺失必标项 / 实质性违规):

    • 缺失法定必标项(食品名称、配料表、生产日期、保质期、生产者信息、净含量)
    • 缺少营养成分表(非豁免产品)
    • 缺少强制标示营养素(2011: 能量+4项;2025: 能量+6项)
    • 缺少致敏物质标示(2025 强制)
    • 虚假/误导性标示内容
    • 营养声称与实际营养值不符
  • 中风险(格式/规范性问题):

    • 日期格式不符标准要求
    • 营养成分表不符合方框表规范
    • 配料表排序错误(未按递减顺序)
    • 食品添加剂命名不规范
    • 缺少儿童青少年警示语(2025)
    • 必标项存在但内容不完整
  • 低风险(细节/建议性问题):

    • 可选标示项未标示
    • 格式微调建议(字体大小、排版)
    • 推荐性标示缺失(2011 致敏物质)

审核原则

  1. 先查"有没有",再查"对不对": 食品标签审核的核心区别——先核查法定必标项是否齐全,再逐项审核内容合规性
  2. 版本不混用: 确定版本后始终使用对应版本的规则,不做跨版本对比
  3. 有疑从严: 对模糊表述倾向于标记风险
  4. 分层输出: 高风险问题必须突出标注,低风险问题可合并说明
  5. 给出替代方案: 每个问题尽量提供可操作的修改建议
  6. 区分事实判断与法律判断: 无法仅凭标签文本判断的事项标注为"建议核实"

许可证

SPDX-License-Identifier: Apache-2.0

Copyright (c) 2026 JiCheng

采用 Apache License 2.0 许可,许可证原文见仓库根目录 LICENSE。

© zh-xx, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 32 other files (scripts, references) in food-label-review of zh-xx/legal-assistant-skills.

  • SKILL.md
  • references/00-版本选择与适用范围.md
  • references/01-食品名称-2011.md
  • references/01-食品名称-2025.md
  • references/02-配料表-2011.md
  • references/02-配料表-2025.md
  • references/03-日期与保质期-2011.md
  • references/03-日期与保质期-2025.md
  • references/04-净含量与规格.md
  • references/05-生产者经营者信息-2011.md
  • references/05-生产者经营者信息-2025.md
  • references/06-贮存条件与许可证.md
  • references/07-致敏物质-2011.md
  • references/07-致敏物质-2025.md
  • references/08-食品声称-2025.md
  • references/09-进口食品-2025.md
  • references/10-数字标签-2025.md
  • references/11-辐照与转基因.md
  • references/12-豁免标示.md
  • references/20-营养成分表格式-2011.md
  • … and 13 more

Open the folder on GitHubat commit 3094afd

Compare with similar skills

Food Label Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Food Label Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Food Label Review this skillzh-xx/legal-assistant-skills174—~1.7kAutomated safety check: PassApache-2.0
Form Labelsthedaviddias/Front-End-Checklist74k—~565Automated safety check: PassMIT
Food Orderingasgeirtj/system_prompts_leaks69k—~1.4kAutomated safety check: PassCC0-1.0
Agentic Labelerdotnet/maui23k—~3.5kAutomated safety check: PassMIT
Skills CLI PR Labelingvercel-labs/skills34k—~310Automated safety check: PassMIT
Verdaccio PR Labelsverdaccio/verdaccio18k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Form Labels

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Associate labels with form controls.

    74k GitHub stars~565 tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Food Ordering

    asgeirtj/system_prompts_leaks

    Prepare restaurant food orders for delivery or pickup; use for cart, checkout and tracking.

    69k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Agentic Labeler

    dotnet/maui

    Official

    Labels issues and pull requests in the dotnet/maui repository with area- and platform/ labels ONLY, based on technical content and platform-file conventions.

    23k GitHub stars~3.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Skills CLI PR Labeling

    vercel-labs/skills

    Official

    Labels a pull request in the skills CLI repo as bug, documentation or enhancement based on its description and patch, leaving existing labels untouched.

    34k GitHub stars~310 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Verdaccio PR Labels

    verdaccio/verdaccio

    Chooses the release-line label and one to three content labels for a verdaccio/verdaccio pull request and applies them with the gh CLI.

    18k GitHub stars~1.6k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Aria Labels

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Provide accessible names for all interactive elements.

    74k GitHub stars~436 tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed

More from zh-xx/legal-assistant-skills

All 8 skills in this repo
  • Legal Risk Visualization

    zh-xx/legal-assistant-skills

    法律风险结构化分析与可视化。基于法律分析文本,执行五步风险抽取模型, 生成四层可视化输出(雷达图数据、风险矩阵、影响路径图、决策树)。

    174 GitHub stars~2.4k tokensUpdated 5 mo ago
    Auto-check passed
  • Ad Compliance Review

    zh-xx/legal-assistant-skills

    广告合规审核技能,用于审核广告素材是否符合中国广告法及相关法规。适用场景:(1) 用户提交广告文案、广告素材要求合规审核时;(2) 用户提到"广告审核""广告合规""广告法审查"等关键词时;(3) 用户要求检查广告内容是否存在违法违规风险时;(4) 用户提交房地产、食品、医疗、药品、互联网等行业广告要求专项审核时。审核依据涵盖《广告法》《反不正当竞争法》及行业专项法规。

    174 GitHub stars~1.2k tokensUpdated 5 mo ago
    Auto-check passed
  • Contract Gen

    zh-xx/legal-assistant-skills

    合同生成技能,以资深法律专家身份生成完整合同。适用场景:(1) 用户要求'起草合同''生成合同''拟定协议''写合同''草拟合同'时;(2) 用户提供合同类型和交易信息,要求生成完整合同文本时;(3) 用户要求根据特定立场(甲方/乙方/买方/卖方/出租方/承租方)起草倾斜性合同时;(4) 用户要求将已有合同要点或业务条件生成为正式合同文本时。输出 Markdown 格式,可选导出 .docx。

    174 GitHub stars~897 tokensUpdated 5 mo ago
    Auto-check passed
  • Contract Review

    zh-xx/legal-assistant-skills

    Contract review skill that adds comment-based issue annotations without changing original text.

    174 GitHub stars~1.6k tokensUpdated 5 mo ago
    Auto-check passed
  • Legal Job Search

    zh-xx/legal-assistant-skills

    法律AI求职助手 - 帮助法律人(法务/律师)使用AI辅助求职。支持公司/律所调研、法律风险分析、网页简历生成、针对性材料准备、面试备忘录生成。具备MCP工具级降级能力,无MCP时自动使用Web Search。

    174 GitHub stars~1.7k tokensUpdated 5 mo ago
    Auto-check passed
  • Law To Markdown

    zh-xx/legal-assistant-skills

    将法条/规范文件(.txt/.docx/.pdf)转为 Markdown。适用于用户要求“法条转 markdown”“pdf/docx 转 markdown”。处理 .pdf/.docx 时先检查是否已安装 mineru-ocr skill;未安装先引导安装,安装后优先用 mineru-ocr;仅在用户明确同意时再用本地回退方案。

    174 GitHub starsUsed in 1 repo~669 tokens
    Auto-check passed

Questions about Food Label Review

What does Food Label Review do?

预包装食品标签合规审核技能,用于审核食品标签是否符合 GB 7718(预包装食品标签通则)和 GB 28050(预包装食品营养标签通则)。适用场景:(1) 用户提交食品标签图片、文字或文档要求合规审核时;(2) 用户提到"食品标签审核""标签合规""营养标签审查""GB 7718""GB 28050"等关键词时;(3) 用户要求检查食品标签是否存在缺项、错误或违规风险时。支持 2011 版和…. Food Label Review is an agent skill from zh-xx/legal-assistant-skills.

How do I install Food Label Review in Claude Code?

Run `npx skills add zh-xx/legal-assistant-skills --skill food-label-review -a claude-code`. Or copy the skill folder (food-label-review in zh-xx/legal-assistant-skills) into .claude/skills/food-label-review in your project. Claude Code loads it when a task matches its description.

How do I install Food Label Review in Codex?

Run `npx skills add zh-xx/legal-assistant-skills --skill food-label-review -a codex`. Or copy the skill folder (food-label-review in zh-xx/legal-assistant-skills) into .agents/skills/food-label-review in your project. Codex loads it when a task matches its description.

Can I use Food Label Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zh-xx/legal-assistant-skills --skill food-label-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/food-label-review, .gemini/skills/food-label-review, .github/skills/food-label-review and .opencode/skills/food-label-review in your project.

What does Food Label Review need to run?

Going by SKILL.md and its folder, Food Label Review needs the command-line tools its instructions call (node).

Does Food Label Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Food Label Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Food Label Review use?

Food Label Review is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Food Label Review use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17k tokens, read only when the agent opens those files.

What are the alternatives to Food Label Review?

Skills that share tags, products or a category with Food Label Review: Form Labels (thedaviddias/Front-End-Checklist, 74k stars), Food Ordering (asgeirtj/system_prompts_leaks, 69k stars), Agentic Labeler (dotnet/maui, 23k stars) and Skills CLI PR Labeling (vercel-labs/skills, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Food Label Review?

zh-xx (a GitHub user) maintains it in zh-xx/legal-assistant-skills, which has 174 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on April 18, 2026.

Source: zh-xx/legal-assistant-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.