Commit With NPB Rights Check
Execute this workflow after implementing requested changes in this repository.
Workflow
- •Implement requested changes.
- •Run validation commands relevant to the change (at minimum
swift testfor app logic changes). - •Stage intended files with
git add .... - •Run
bash .codex/skills/commit-with-npb-rights-check/scripts/check_npb_names.sh --staged. - •If blocked terms are detected, replace them with fictional names and rerun step 4.
- •Commit with a clear message using
git commit -m "...". - •Report the commit hash and scan result to the user.
Rules
- •Do not skip the scan before commit.
- •Do not commit while scan fails.
- •Treat docs, test data, and UI strings the same as source code for name checks.
- •If a legitimate exception is required, ask the user before committing.
Commands
- •Staged file scan:
- •
bash .codex/skills/commit-with-npb-rights-check/scripts/check_npb_names.sh --staged
- •
- •Full repository scan:
- •
bash .codex/skills/commit-with-npb-rights-check/scripts/check_npb_names.sh --all
- •