skill-redaction-audit
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-10-24
- Stars
- ★ 0
- Forks
- 0
02 资源文件 24
- 参考文档.github/workflows/ci.yml636 B
- 其他.gitignore36 B
- 参考文档CHANGELOG.md678 B
- 参考文档docs/ORCHESTRATION.md558 B
- 参考文档docs/PRD.md1.1 KB
- 参考文档docs/RELEASE_CANDIDATE.md1.9 KB
- 参考文档docs/TASKS.md511 B
- 参考文档fixtures/allowlist.json60 B
- 许可证LICENSE1.0 KB
- 参考文档package-lock.json1.5 KB
- 参考文档package.json1.4 KB
- 参考文档README.md4.8 KB
- 脚本scripts/package-smoke.mjs2.9 KB
- 脚本scripts/validate.sh296 B
- 参考文档SECURITY.md887 B
- 脚本src/allowlist.ts1.7 KB
- 脚本src/cli.ts3.6 KB
- 脚本src/format.ts1.2 KB
- 脚本src/scanner.ts9.8 KB
- 脚本src/types.ts642 B
- 脚本test/allowlist.test.ts927 B
- 脚本test/cli.test.ts5.3 KB
- 脚本test/scanner.test.ts6.3 KB
- 参考文档tsconfig.json337 B
03 SKILL.md 正文
Skill Redaction Audit
Use this skill before publishing or sharing an agent-skill bundle, generated skill fixture, release candidate, or public runbook.
Required Inputs
- A local path to the skill repo or bundle.
- Optional
.redaction-allowlist.jsonfor intentional fake examples. - Optional generated path prefixes to exclude from the source-bundle audit.
Side-Effect Boundaries
This skill is read-only. It scans local files and produces a report. It must not rewrite files, upload artifacts, call external accounts, or approve publication.
Approval Requirements
Ask the user before ignoring an error finding. Ask for explicit approval before publishing a repo that still has warning findings involving real-looking people, customer names, or live-action language.
Inline redaction-audit-ignore-next-line comments are allowed only for deterministic fake fixtures. Treat any suppressed finding count as a review item, and do not use suppressions for values copied from private workspaces or live accounts.
Examples
skill-redaction-audit scan ./my-skill --format markdown
skill-redaction-audit scan ./my-skill --allowlist ./.redaction-allowlist.json --fail-on warning
skill-redaction-audit scan ./my-skill --exclude generated --exclude coverage
Validation
Run npm run validate. Attach the audit summary to release-candidate PRs for public skill repos.