sc
This Claude Code command runs a pre-push security validation gate that detects committed secrets using gitleaks, audits Python dependencies for vulnerabilities with safety, documents findings in commit templates, and triggers a remote security audit workflow. Use it before pushing code to catch sensitive information leaks and dependency vulnerabilities early in the development process.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alirezarezvani/claude-code-skill-factory/HEAD/.claude/commands/git/sc.md -o ~/.claude/commands/sc.mdsc.md
1. Ensure dependencies are installed (`pip install safety==3.2.4 gitleaks==8.18.4`).
2. Scan for committed secrets:
```bash
gitleaks detect --verbose --redact
```
- Resolve any findings before continuing.
3. Audit Python dependencies (if requirements files exist):
```bash
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:
```bash
gh workflow run security-audit.yml --ref $(git branch --show-current)
```Interactive guide for building custom Claude Code Agents and subagents. Asks straightforward questions, generates enhanced YAML frontmatter with tools/model/color/field/expertise, creates agent .md files, validates format, and helps install to .claude/agents/ or ~/.claude/agents/. Use when user wants to build workflow specialist agents.
Main navigation guide for Claude Code Skills Factory. Use when user wants to build custom Skills, Prompts, or Agents. Orchestrates and delegates to specialized guide agents.
Interactive guide for building custom Claude Code hooks. Asks straightforward questions, uses hook-factory skill, generates complete hooks with validation, and provides installation instructions.
Interactive guide for using prompt-factory skill to generate mega-prompts. Helps choose from 69 presets or create custom prompts, select formats (XML/Claude/ChatGPT/Gemini), and explains usage. Use when user wants to generate production-ready prompts for any LLM.
Interactive guide for building custom Claude Skills. Asks straightforward questions, uses SKILLS_FACTORY_PROMPT template, generates complete skill files, validates format, creates ZIP, and helps install. Use when user wants to build multi-file skill capabilities.
Trigger the Commit & Branch Guard workflow on demand.
Stage working tree changes and create a Conventional Commit (no push).
Stage, commit, and push the current branch following git governance rules.