ai-work-acceptance

When an AI claims a task is complete, perform systematic acceptance across four dimensions—functional correctness, field/interface consistency, code security, and whether existing functionality is broken—and produce a checkable acceptance checklist and verdict. Applicable to any code project and not dependent on a specific tech stack. Example triggers: accept AI work, review AI code, how to accept when AI says done, is code secure, are fields consistent with plans, any hard-coded keys.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ai-work-acceptance" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e70b522131dd923c8dc83b1b5d512fbcc099f16e9219145b2668fe337737c227. Verify the upstream source and version against https://skillhub.cn/skills/user_3ff3c268/ai-work-acceptance before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

When an AI claims a task is complete, perform systematic acceptance across four dimensions—functional correctness, field/interface consistency, code security, and whether existing functionality is broken—and produce a checkable acceptance checklist and verdict. Applicable to any code project and not dependent on a specific tech stack. Example triggers: accept AI work, review AI code, how to accept when AI says done, is code secure, are fields consistent with plans, any hard-coded keys.

0 Downloads

Introduction source: third_party · user_3ff3c268 · 1.2.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter


name: AI 工作验收助手
description: 当 AI 说"做完了"时,按四个维度(功能正确性 / 字段接口一致性 / 代码安全性 / 是否破坏已有功能)系统化验收 AI 的产出,并产出可勾选的验收清单与判定。触发词:验收 AI 的工作、检查 AI 代码、AI 说做完了怎么验收、代码安不安全、字段和规划一致吗、是否有硬编码密钥。适用于任意代码项目,不依赖具体技术栈。
display_name: AI 产出验收清单生成器(四维度查错)
market_desc: 当 AI 说做完了时,按功能正确性/字段接口一致性/代码安全性/是否破坏已有功能 四个维度系统化验收,产出可勾选的验收清单与判定。适合 code review、AI 外包验收,一眼看出 AI 的活干得对不对。 【闭环归属】本技能是「微信小程序 AI 全栈交付闭环」的第 6 步(共 6 步:规范→预览→支付→通知→隐私→验收)。要可上线的合规小程序 + 验收报告,配齐这 6 个技能即可;总控入口:miniprogram-ai-fullstack。
version: 1.2.0
changelog: 升级 v1.2.0:中性化署名、场景拓宽、补充闭环归属交叉引用。

AI 工作验收助手

来源:亲子成长记施工包 你怎么跟AI配合.md §4 如何验收 AI 的工作,已抽离项目名,成为通用方法论。

这是什么

每次 AI 汇报"做完了",用户往往不知道怎么验证。本技能把验收变成一套四维度可执行清单,并提供一个脚本自动扫描最常见的安全/一致性隐患,输出 PASS / WARN / FAIL 报告,附带安全评分。

脚本自带 --self-test,可自建一份含漏洞的样例工程证明它确实抓得到问题——你不必盲信它。

何时使用

  • 用户说:"验收一下 AI 的工作" / "AI 说做完了,帮我看看" / "检查 AI 代码安不安全"
  • 用户问:"字段名和接口路径和规划一致吗" / "有没有硬编码的 Key"
  • 任何 coding 任务交付后的质量门禁

四维度验收法(核心工作流)

每次验收,依次走这四步,任一步 FAIL 都应打回 AI 重做:

① 功能对不对

  • 对照需求文档的"完成标准"逐条核对是否通过
  • 用用户自己的真实数据测试,不要只用 AI 给的示例数据
  • 边界情况必测:空数据、超大数据、特殊字符
  • 主要页面打开不出错,关键操作(保存/提交)有结果反馈

② 字段和接口名是否一致

  • 直接问 AI:"你用的字段名和接口路径,和需求/规划文档里定义的一样吗?"
  • 不一致就让它改回规划里的命名,不接受 AI 自行创造的命名
  • 若提供了规划文件(如接口清单),用脚本比对代码中实际出现的路径

③ 代码安不安全

  • 让 AI 展示关键代码,检查有无硬编码的密码 / API Key / Token
  • 检查 .env 是否被提交到代码库(.gitignore 必须含 .env)
  • 看不懂就让 AI 用大白话解释敏感部分
  • 用脚本 acceptance.py 自动扫 secret 模式 + gitignore 检查

④ 有没有破坏已有功能

  • 每次 AI 改完代码,把之前测过的功能再测一遍
  • 之前好用的功能突然不好用,立刻反馈给 AI

脚本用法

# 0) 先证明扫描器自己好使(推荐第一次用前跑一次)
python acceptance.py --self-test

# 1) 全量扫描代码目录:硬编码密钥、.env 是否入库、接口路径比对
python acceptance.py \
  --code <项目目录> \
  --spec <可选:规划/接口清单文件,用于比对路径> \
  --report <输出 md 路径>

# 2) 只扫 git 本次改动(更贴近"AI 刚改完"的场景)
python acceptance.py --code <项目目录> --diff

# 3) 机器可读结果(接 CI / 其他脚本)
python acceptance.py --code <项目目录> --json

扫描覆盖:硬编码密钥(API Key / Secret / Token / 密码 / AWS / GitHub / Slack / JWT / 微信 appsecret / 私钥块 / 高熵串)、.env 是否入库、接口路径与规划偏差。

脚本会输出一份 markdown 验收报告,含四维度结论、每条 PASS/WARN/FAIL,以及安全评分(机械项 0-100)。

输出物

  • 四维度验收清单(可勾选)
  • 一份 验收报告.md:自动扫描结果 + 人工核对待办 + 总体判定(可发布 / 需返工)+ 安全评分

注意事项

  • 脚本只能查"能机械扫描的"(明文密钥、.env 入库、路径偏差);功能正确性、是否破坏已有功能仍需人工或真实数据测试,脚本不替代。
  • 不要把 .env 真实值交给 AI;脚本只检查"是否存在于代码中",不读取 .env 内容。
  • 本技能是"门禁",不是"测试替身"——它帮用户问对问题、查对隐患,最终判定权在用户。

Current listing version

1.2.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决 AI 产出验收的实际痛点,提供四维度系统化验收方法
  • 适用于任意代码项目,不依赖具体技术栈
  • 提供可执行脚本和验收清单,显著提升验收效率
Trigger Precision95/100

Highlights

  • 触发词覆盖全面,边界清晰
  • 描述完整,无截断或错位
Structure and Standards90/100

Highlights

  • Phase/步骤清晰,有出口条件
  • 包含端到端示例,frontmatter 完整
Execution Reliability90/100

Highlights

  • 工具来源明确,参数正确
  • 覆盖主要异常,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.