privacy-review-rails
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Check Privacy — Review Changed Files
Prerequisite
Dependency path: !test -d "${CLAUDE_SKILL_DIR}/../privacy-by-design-rails" && echo "${CLAUDE_SKILL_DIR}/../privacy-by-design-rails" || echo "NOT_FOUND"
If the dependency path above is NOT_FOUND, stop and tell the user:
This skill depends on privacy-by-design-rails, which is not installed. Install it with:
npx skills add codeminer42/skills --skill privacy-by-design-rails(add-gfor global installation)
Do not proceed until the dependency is installed.
Step 1: Scan Changed Files + Related Files
If ruby is not found when running the command below, ask the user how to run Ruby in their environment instead of trying to resolve it yourself.
Run the scanner in --changed-only mode. This scans the changed files AND automatically pulls in related files (e.g., a changed migration pulls in its model and filter_parameter_logging.rb; a changed mailer template pulls in its mailer class):