Skip to content
Development
Command

/sc

Run the security scan gate before pushing.

From plugin
claude-code-skill-factory
84320 skills5 agents20 commands
Install
$ npx -y skills add alirezarezvani/claude-code-skill-factory --agent claude-code

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, auto-invoked
Stats
843
Stars
0
Views
169
Forks
Quiet
Maintenance
Python
Language
MIT
License
8mo ago
Last commit
9mo ago
Created

Repo: alirezarezvani/claude-code-skill-factory