Skill: FLS Spec Lock Audit
Purpose
Run the FLS audit tool and summarize changes and guideline impact. The skill must invoke the audit tool and must not reimplement diff logic.
Steps
- •
Run the audit tool:
shelluv run python scripts/fls_audit.py
If before/after diffs are needed:
shelluv run python scripts/fls_audit.py --write-text-snapshot build/fls_audit/snapshots uv run python scripts/fls_audit.py --baseline-text-snapshot build/fls_audit/snapshots/<snapshot>.json
- •
Read the report at
build/fls_audit/report.mdand summarize:- •Added/removed/changed/renumbered/header counts
- •Whether any guidelines are affected
- •Any new paragraphs that are near existing guidelines
- •Heuristic top-3 guideline matches per paragraph
- •Any meaningful impacts that require rationalization
- •
If no guidelines are affected, state that explicitly.
Notes
- •Use
--summary-onlyif the user wants a quick console summary. - •Use
--snapshot path/to/paragraph-ids.jsonfor offline audits. - •Use
--baseline-text-snapshotto show before/after diffs. - •Use
--write-text-snapshotto capture current text for future audits. - •Use
--baseline-deployment-offset Nwhen the baseline deployment is not the most recent. - •Deployment offsets require GitHub API access; set
GITHUB_TOKENor use explicit commits. - •Use
--baseline-fls-commit/--current-fls-commitfor manual commit selection. - •Use
--include-legacy-reportto append the legacy diff section. - •Use
--include-heuristic-detailsto show top-match details. - •Use
--print-diffsto emit ANSI-colored diffs to stdout when available. - •Use
--delta-path path/to/deltato point to a specific delta binary. - •Use
--no-deltato disable delta rendering. - •Do not update
src/spec.lockunless the user explicitly requests it.
ANSI report
- •The audit writes
build/fls_audit/report.ansi.mdalongsidereport.md. - •View it in a terminal with
less -R build/fls_audit/report.ansi.md.