一键导入
script-footprint-and-usage-audit
Audit script sprawl, duplicate/fixture placeholders, backup artifacts, and run-context drift across tools/tests/tasks scripts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit script sprawl, duplicate/fixture placeholders, backup artifacts, and run-context drift across tools/tests/tasks scripts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Classify cleanup candidates and apply conservative quarantine moves with reversible manifests.
Enforce component layout contracts by page type using required sections, allowed components, and forbidden patterns.
Generate consistent skill packs for Codex, Cursor, Claude Code, and Windsurf from one shared catalog.
Audit docs.json route integrity, legacy path drift, and potential orphan docs files in v2.
Audit content freshness and quality markers such as TODO/TBD/Coming Soon and thin-content risks.
Standardize generated MDX artifacts with consistent frontmatter, hidden generated banner, and visible Note policy across docs-guide and v2 index generators. Use when adding/updating generators, migrating generated files (for example scripts-index.md -> scripts-index.mdx), or enforcing i18n generated-page provenance and Note parity.
| name | script-footprint-and-usage-audit |
| description | Audit script sprawl, duplicate/fixture placeholders, backup artifacts, and run-context drift across tools/tests/tasks scripts. |
SKILL: Script Footprint and Usage Audit
Goal Identify script quality and maintenance risks that increase repo complexity and CI friction.
Command
node tools/scripts/script-footprint-and-usage-audit.js --scope full
Outputs
tasks/reports/repo-ops/script-footprint-and-usage-audit.mdtasks/reports/repo-ops/script-footprint-and-usage-audit.jsonChecks
*.bak, *.bak2)