Skip to content
Development
Command

/sc

Run the security scan gate before pushing.

From plugin
claude-code-skill-factory
86320 skills5 agents20 commands

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/sc

Context preview

What this command does when you run it.

Run the security scan gate before pushing.

Command definition

sc.md
description: Run the security scan gate before pushing.

1. Ensure dependencies are installed (`pip install safety==3.2.4 gitleaks==8.18.4`). 2. Scan for committed secrets:

   gitleaks detect --verbose --redact
  • Resolve any findings before continuing.

3. Audit Python dependencies (if requirements files exist):

   for f in $(ls **/requirements*.txt 2>/dev/null); do
       safety check --full-report --file "$f"
   done

4. Record results in the commit template’s Testing section. 5. After a clean pass, trigger the remote security audit for visibility:

   gh workflow run security-audit.yml --ref $(git branch --show-current)
Ships withclaude-code-skill-factory

A comprehensive toolkit for generating production-ready Claude Skills and Claude Code Agents at scale.

Get the whole plugin
Stats
866
Stars
176
Forks
Quiet
Maintenance
Python
Language
MIT
License
10mo ago
Last commit
10mo ago
Created

Repo: alirezarezvani/claude-code-skill-factory

Other commands on claude-code-skill-factory.