Secret Scan banner
Fqih Fqih

Secret Scan

Development community

Description

--- description: Scan working directory untuk secrets — gitleaks detect mode, custom rules, fail-fast kalau ada leak. --- # /secret-scan Scan working directory (staged + unstaged) untuk secret leak. Fail-fast kalau ditemukan. ## Mode 1: Scan staged only (before commit) ```bash # v8 detect tidak punya --staged; pakai --pipe dengan git diff git diff --cached | ~/.local/bin/gitleaks detect \ --no-git \ --pipe \ --config .gitleaks.toml \ --redact \ --exit-code 2 \ -v ``` ## Mode 2:

Installation

Installs to ~/.claude/skills/fqih-.mycc-setup-secret-scan/SKILL.md

Terminal
mkdir -p ~/.claude/skills/fqih-.mycc-setup-secret-scan && curl -fsSL https://raw.githubusercontent.com/Fqih/.mycc-setup/HEAD/commands/secret-scan.md -o ~/.claude/skills/fqih-.mycc-setup-secret-scan/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository