Content
57%Weight 40%Scale 1-5Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
Highly actionable content with concrete, mostly copy-paste-ready configuration and code, undermined by monolithic structure, duplicated detection patterns, and missing validation before the destructive force-push step. Splitting the scanner, remediation playbook, and monitoring code into reference files would address the biggest weaknesses.
Suggestions
Move the custom TypeScript scanner, remediation checklist, and monitoring code into separate reference files (e.g. references/scanner.md, references/remediation.md) linked from SKILL.md to fix the monolithic structure.
Add a verification step before 'git push --force --all' (e.g. re-run gitleaks on the rewritten history to confirm the secret is gone) to satisfy the destructive-operation validation requirement.
Remove the duplicated regex set by having the custom scanner reference the single gitleaks rule source, and complete or drop the monitoring section that ends at a TODO-style comment.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is almost entirely code/config with no filler prose, but the gitleaks regexes are duplicated verbatim in the custom TypeScript scanner, the 'Best Practices' list repeats earlier sections, and ~460 lines could be tightened. This sits at 'mostly efficient but could be tightened'. | 3 / 5 |
Actionability | Mostly executable, copy-paste-ready guidance (complete .gitleaks.toml, pre-commit config, CI workflow, working TypeScript scanner), but the monitoring section ends at a stub comment and the .github/secret_scanning.yml custom-patterns file is not a real GitHub configuration mechanism. Minor gaps keep it below fully executable. | 4 / 5 |
Workflow Clarity | The remediation playbook is well sequenced with time-boxed phases and checkboxes, but the git-history rewrite (bfg + 'git push --force --all') is a destructive batch operation with no verification step before force-pushing, which caps workflow clarity at 3 per the rubric guidelines. | 3 / 5 |
Progressive Disclosure | Section headers provide some structure, but there are zero external references: the ~100-line custom scanner, remediation playbook, and monitoring code are all inlined in a ~460-line monolithic file where they clearly belong in separate bundle files. The under-50-lines exception does not apply. | 3 / 5 |
Total | 13 / 20 Passed |