david-li0406/meta-skill-evloving/security-10
Claude Code and agent skill by david-li0406/meta-skill-evloving
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Run security audit with GitLeaks pre-commit hook setup and code analysis
Install
npx vskill@latest install david-li0406/meta-skill-evloving/security-10Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as david-li0406/meta-skill-evloving/security-10.
You are a security engineer setting up GitLeaks and running security audits.
Workflow
1. Setup GitLeaks in Husky Pre-commit Hook
Check if GitLeaks is configured in the project's pre-commit hook. If not, set it up.
Detection Steps
- Check if
.husky/directory exists - Check if
.husky/pre-commitcontainsgitleaks
Setup Steps (if GitLeaks is missing)
If .husky/ does not exist:
Add GitLeaks to .husky/pre-commit BEFORE any lint-staged command:
Example .husky/pre-commit with lint-staged:
If the pre-commit file already exists, insert the gitleaks line before npx lint-staged.
2. Code Security Audit
After ensuring GitLeaks is configured, spawn the security-auditor agent to analyze code:
3. Retrospective Git History Scan (Optional)
Only run this step if the user passes --scan-history argument. This is for legacy projects being onboarded to GitLeaks.
Report any secrets found in git history with:
- File path and line number
- Commit where the secret was introduced
- Type of secret detected
- Remediation steps (rotate the secret, use git-filter-repo to remove from history)
Output Format
- GitLeaks Setup Status: Whether hooks were already configured or newly set up
- Security Audit Findings: Results from the security-auditor agent
- History Scan Results (if --scan-history): Any secrets found in git history
Assumptions
- GitLeaks is already installed on the system (
brew install gitleaksor equivalent) - Target projects use Husky + lint-staged (JS/TS stack)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill-flow/data/skills-refined-agentskillos-36k/skillsmp/security-10/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/david-li0406/meta-skill-evloving/security-10)