Initialize VectorCode with automatic configuration generation. Installs git hooks, generates vectorcode.include and vectorcode.exclude patterns based on project type. Use when user mentions "initialize VectorCode", "set up VectorCode", vectorcode.include, vectorcode.exclude, or VectorCode configuration.
View on GitHublaurigates/claude-plugins
tools-plugin
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/laurigates/claude-plugins/blob/main/tools-plugin/skills/vectorcode-init/SKILL.md -a claude-code --skill vectorcode-initInstallation paths:
.claude/skills/vectorcode-init/# VectorCode Initialization Automate VectorCode setup with intelligent repository analysis and configuration generation. ## Capabilities This skill provides automatic VectorCode initialization for code repositories: 1. **Git Hook Installation** - Automatically installs VectorCode git hooks via `vectorcode init --hooks` 2. **Smart Include Patterns** - Analyzes repository structure to generate `vectorcode.include` with relevant file patterns 3. **Smart Exclude Patterns** - Creates `vectorcode.exclude` to skip common non-code files (build artifacts, dependencies, etc.) 4. **Project Type Detection** - Recognizes Python, Node.js, Rust, Go, Java, and other project types 5. **Configuration Validation** - Checks existing VectorCode setup and offers improvements ## When to Use Invoke this skill when: - User asks to "initialize VectorCode" or "set up VectorCode" - User mentions "vectorcode init", "vectorcode hooks", or "vectorcode configuration" - User wants to create `vectorcode.include` or `vectorcode.exclude` files - User asks about VectorCode setup or configuration ## Workflow ### 1. Repository Analysis - Detect project type(s) by examining file extensions and structure - Identify source code directories (src/, lib/, app/, etc.) - Find test directories and documentation folders - Detect package manager and build tool configurations ### 2. Generate Include Patterns Based on project type, create patterns like: - **Python**: `**/*.py`, `**/pyproject.toml`, `**/setup.py` - **Node.js/TypeScript**: `**/*.js`, `**/*.ts`, `**/*.jsx`, `**/*.tsx`, `**/package.json` - **Rust**: `**/*.rs`, `**/Cargo.toml` - **Go**: `**/*.go`, `**/go.mod` - **Configuration**: `**/*.yaml`, `**/*.yml`, `**/*.json`, `**/*.toml` - **Documentation**: `**/*.md`, `**/*.rst` ### 3. Generate Exclude Patterns Common exclusions: - Node.js: `node_modules/`, `dist/`, `build/`, `.next/` - Python: `__pycache__/`, `*.pyc`, `.venv/`, `venv/`, `.pytest_cache/` - Build artifacts: `target/`, `out/`, `bin/`, `ob