Skip to content

CSlawyer1985/legal-skillhub / skills/ad-compliance-review-wuxue20260207

ad-compliance-review

Verified

广告公司 AI 合规审查。基于客户品牌调性与违禁词库,对广告/营销文案做合规风险审查(广告法违禁词、绝对化用语、医疗功效暗示、平台限制、品牌调性冲突)并给出修改建议。当用户需要审查广告文案、排查违禁词、做品牌合规检查,或广告/营销公司要为客户提供"上线前合规闸"服务时使用。也适用于把合规审查封装成可售卖的 AI 功能。

EVALUATION.md

View on GitHub
# 广告合规审查宝 · 质量评测记录(EVALUATION)

汇总历次真实使用评测(主观评分,非自动化基准),作为质量背书与改进追踪。评分反映真实使用体感,满分 5 分。

## 2026-07-21 评测(异常处理维度)

- **维度**:异常处理
- **评分**:4.3 / 5
- **评测原文**:

  > 输入路径错了或词库找不到,会明确告诉你问题出在哪里;网络出错或限流了也有提示,不像有些工具那样报个看不懂的错误代码。

- **对应实现(已在 v1.3.0 / v1.4.0 落地并验证)**:
  - **路径 / 词库问题**:`validate_client_dir()` 在 `review.py` / `generate_report.py` / `webapp.py` 中对 `--client` 显式校验——路径不存在或指向文件 → 明确报错并 `exit 2`;目录存在但缺 `banned_words.md` / `brand.md` → 打印明确【警告】并回退内置基线,不再静默。
  - **网络 / 限流**:`llm_rewrite()` 按错误类型给出人话提示(401/403 鉴权、404 地址、429 限流、网络不可达),而非抛出原始堆栈;并对网络抖动 / 429 / 5xx 自动重试(指数退避,默认 3 次)。
  - **在线页**:`webapp.py` 所有异常返回带「可能原因 + 建议操作」的友好页面,前端网络中断也有清晰提示。

## 历次评测汇总

| 日期 | 维度 | 评分 | 要点 | 对应处置 |
|------|------|------|------|----------|
| 2026-07-19 | 功能完善性 | 4.8 | 单条检查 / 批量报告 / 网页自助全流程覆盖 | 已覆盖,无需改 |
| 2026-07-19 | 运行稳定性 | 4.3 | 日常不崩;LLM 改写网络抖动曾直接失败 | 已修:v1.3.0 加重试退避 |
| 2026-07-19 | 异常处理 | 4.5 | 报错友好能看懂;个别路径错配曾静默失败 | 已修:v1.3.0 显式校验 |
| 2026-07-20 | 国内适配性 | 4.3 | 全中文 / 离线可用 / 词库合规;默认海外模型 | 已改:v1.4.0 默认国内 + `--preset` |
| 2026-07-21 | 异常处理 | 4.3 | 路径错误 / 词库缺失 / 网络限流均有明确提示,无天书错误码 | 验证 v1.3.0 / v1.4.0 改进生效 |

> 说明:分值为用户 / 测试方主观评测,非自动化基准;用于追踪真实体感与改进闭环。
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 323kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 323kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 323kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 323kUpdated Claude CodeCodexVerifiedInstall