agentleFS
Bin-H-17Bin-H-17/aegis-security-skill/skills/oss-release-compliance/SKILL.md

oss-release-compliance

Skill0 starsChanged 59 days agoMITView on GitHub

开源发布合规场景子 skill(完整版)。对本地仓库执行密钥三层扫描 + REUSE 许可证合规 + 社区健康/Scorecard 检查,产出 ReleaseGate(blocked_reasons)。MVP 阶段为「提示 + 人工」, 完整版做结构化 gate。当用户说"开源合规"、"OSS 发布检查"、"REUSE"、"发布前 gate"时启用。

The file

Files
SKILL.md

oss-release-compliance(开源发布合规,完整版 F7/F8)

执行步骤

  1. 获取仓库绝对路径。
  2. 调用 L2 编排器:
python "<SECURITY_AUDIT_HOME>/scripts/audit_orchestrator.py" --scenario oss --path "<仓库绝对路径>"
  1. 读取 reports/SECURITY_REPORT.md 与 reports/findings.oss.json。
  2. 向用户汇报 ReleaseGate:是否阻断、blocked_reasons(密钥泄露 / REUSE 缺口等)。
  3. 若 blocked=true:明确禁止开源发布,给出修复项与复检命令。

覆盖范围

  • 密钥三层扫描(gitleaks,含 git 历史 baseline)
  • REUSE 合规(reuse lint,L1 文件存在 → L2 逐文件 SPDX)
  • 发布前深度检查(F8):依赖更新 / 抄袭检测提示(完整版自动化,MVP 仅提示)

注意

自动化仅为辅助;涉及许可证兼容性、贡献者协议(DCO/CLA)等法律判定,转人工确认。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.