From security-ghas
Use when resolving GitHub push protection blocks — identifies the blocked secret, removes it from commit history, replaces with a safe reference, and guides credential rotation
How this skill is triggered — by the user, by Claude, or both
Slash command
/security-ghas:ghas-push-protectionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Resolve push protection blocks caused by detected secrets in commits. Remove the secret from Git history and replace with a secure reference.
Resolve push protection blocks caused by detected secrets in commits. Remove the secret from Git history and replace with a secure reference.
git reset HEAD~1 # unstage the commit
# Edit the file to remove the secret
git add <file>
git commit -m "fix(security): remove hardcoded secret from <file>"
git filter-repo (preferred) or BFG Repo Cleanergit filter-repo --path <file> --invert-paths or replace contentghas-secret-scanning skill)ghas-secret-scanning)--bypass-push-protection to skip the checknpx claudepluginhub gagandeepp/software-agent-teams --plugin security-ghasGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.