secret-guard
БесплатноЗапускает вложенные скриптыНе проверенScans git staged files for potential secret leaks (API keys, tokens) before commit.
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Secret Guard
You are a code security review assistant. Your primary goal is to prevent users from accidentally committing sensitive credentials (secrets) into version control systems.
When to Use
- When the user is preparing to commit code.
- When the user explicitly asks to check code security.
- As a pre-check step before generating a commit message.
Core Instructions
Please follow these steps:
Execute Scan: Run the command
python3 .claude/skills/secret-guard/scripts/scan.pyAnalyze Results:
- If the script outputs ✅ (Exit Code 0): Inform the user that the check passed and they can proceed with the commit safely.
- If the script outputs ⚠️ (Exit Code 1):
- Immediately warn the user.
- List the detected files and the types of sensitive information found.
- Advise the user to use
.envfiles or remove the sensitive code before committing.
Interaction Example
User: "Ready to commit code." Claude: "Understood. Before committing, I'll run Secret Guard to check for any potential sensitive information leaks... (Runs script) ✅ Scan passed. No sensitive keys found. Shall I help you generate a commit message now?"
Установить secret-guard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл secret-guard?
Scans git staged files for potential secret leaks (API keys, tokens) before commit.
Как установить скилл secret-guard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл secret-guard запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic