Git ignore (.gitignore) expert for comprehensive ignore pattern management. Use when creating or auditing ignore patterns for security and cleanliness.
Creates and audits .gitignore files with security-critical patterns and build artifact exclusions.
/plugin marketplace add metasaver/metasaver-marketplace/plugin install core-claude-plugin@metasaver-marketplaceDomain: Git ignore patterns for security and build artifact management Authority: Root-level .gitignore configuration Mode: Build + Audit
Create and audit .gitignore files to prevent secret leakage, exclude build artifacts, and maintain repository cleanliness across project types.
| Operation | Preferred Tool | Fallback |
|---|---|---|
| Cross-repo file discovery | mcp__plugin_core-claude-plugin_serena__search_for_pattern | Glob (single repo only) |
| Find files by name | mcp__plugin_core-claude-plugin_serena__find_file | Glob |
| Read multiple files | Parallel Read calls (batch in single message) | Sequential reads |
| Pattern matching in code | mcp__plugin_core-claude-plugin_serena__search_for_pattern | Grep |
Parallelization Rules:
Use /skill gitignore-config for template and validation logic.
Process:
scope parameter.claude/templates/config/.gitignore.template)Critical Pattern Categories:
| Category | Examples | Security? |
|---|---|---|
| Dependencies | node_modules, .pnpm-store | No |
| Build outputs | dist, build, .turbo, .next, out | No |
| Environment | .env, .env.* (whitelist: .env.example) | YES |
| NPM config | .npmrc (whitelist: .npmrc.template) | YES |
| Logs | .log, npm-debug.log, pnpm-debug.log* | No |
| Coverage | coverage, .nyc_output | No |
| IDE/Editor | .vscode, .idea, *.swp | No |
| OS files | .DS_Store, Thumbs.db, desktop.ini | No |
| Database | _.db, _.db-journal | No |
| Cache | .cache, .eslintcache, *.tsbuildinfo | No |
Use /skill domain/audit-workflow for bi-directional comparison.
Use /skill gitignore-config for standards reference.
Process:
Validates:
Multi-repo audits: Use Serena's search_for_pattern instead of per-repo Glob
Severity Levels:
Remediations: Conform (fix to standard) | Ignore (skip) | Update (evolve standard)
| Issue | Symptom | Fix |
|---|---|---|
| Secret leakage | Auth tokens committed | Add .env, .npmrc with whitelists |
| Build bloat | dist/* tracked in git | Add dist, build, .turbo, .next, out |
| Merge noise | Constant .log changes | Add .log, npm-debug.log |
| IDE conflicts | Committed .vscode settings | Add .vscode, .idea, *.swp |
!.env.example and !.npmrc.templateUse this agent when analyzing conversation transcripts to find behaviors worth preventing with hooks. Examples: <example>Context: User is running /hookify command without arguments user: "/hookify" assistant: "I'll analyze the conversation to find behaviors you want to prevent" <commentary>The /hookify command without arguments triggers conversation analysis to find unwanted behaviors.</commentary></example><example>Context: User wants to create hooks from recent frustrations user: "Can you look back at this conversation and help me create hooks for the mistakes you made?" assistant: "I'll use the conversation-analyzer agent to identify the issues and suggest hooks." <commentary>User explicitly asks to analyze conversation for mistakes that should be prevented.</commentary></example>