create
Analyze a repository and generate a new .claudeignore file that excludes directories and files wasting context tokens.
от florianbuetow★ 22 звезды на GitHub
Установить create в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Create .claudeignore
Analyze the repository structure and generate a .claudeignore file that
excludes directories and files which waste context tokens without
providing useful source code.
Step 1: Scan the repository
Run these commands to understand the project structure:
List all top-level directories:
find . -maxdepth 1 -type d | sortMeasure directory sizes to identify large non-source content:
du -sh */ .*/ 2>/dev/null | sort -rh | head -30Detect the project type from manifest files:
- Python:
pyproject.toml,setup.py,requirements.txt - Node/JS:
package.json - Rust:
Cargo.toml - Go:
go.mod - Java/Kotlin:
pom.xml,build.gradle - Ruby:
Gemfile - Mixed: multiple of the above
- Python:
Check what
.gitignorealready excludes (for reference, not copying):cat .gitignore 2>/dev/null
Step 2: Classify directories and files
Apply this heuristic to every entry: "Would I ever want Claude to
edit or inspect this for normal coding tasks?" If no, it belongs in
.claudeignore.
Things that are large, generated, noisy, secret, or not useful for day-to-day coding decisions should be ignored. Source code, key configs, and docs should stay visible.
Start from .gitignore as a baseline, then:
- Remove anything Claude still needs for reasoning (manifests, core config, docs).
- Add anything generated or irrelevant to code changes that
.gitignorekeeps (e.g.,data/,notebooks/, large media).
Sort entries into these categories:
Always ignore (caches, build artifacts, dependencies)
These never contain useful source code for Claude:
| Pattern | Ecosystem | Why |
|---|---|---|
.venv/, venv/, env/ |
Python | Virtual environment packages |
node_modules/ |
Node.js | npm/yarn packages |
__pycache__/ |
Python | Bytecode cache |
*.pyc |
Python | Compiled bytecode files |
.mypy_cache/ |
Python | Type checker cache |
.ruff_cache/ |
Python | Linter cache |
.pytest_cache/ |
Python | Test runner cache |
.cache/ |
General | Generic caches |
target/ |
Rust/Java | Build artifacts |
build/, dist/ |
General | Build output |
.gradle/ |
Java/Kotlin | Gradle cache |
.next/ |
Next.js | Build output |
.nuxt/ |
Nuxt.js | Build output |
.turbo/ |
Turborepo | Build cache |
vendor/ |
Go/PHP | Vendored dependencies |
coverage/, htmlcov/ |
General | Coverage reports |
.tox/, .nox/ |
Python | Test environment tools |
.cargo/ |
Rust | Cargo cache |
Always ignore (secrets and credentials)
These reduce the chance sensitive content enters context:
| Pattern | Why |
|---|---|
.env |
Environment secrets |
.env.* |
Per-environment secrets |
*.pem, *.key |
Private certificates and keys |
*-credentials.json |
Service account credentials |
.secrets/ |
Secret stores |
Always ignore (tool/IDE config)
| Pattern | Why |
|---|---|
.cursor/ |
Cursor IDE state |
.idea/ |
JetBrains IDE config |
.vscode/ |
VS Code config (unless project-shared) |
.playwright-mcp/ |
Playwright MCP temp files |
.dolt/, .doltcfg/ |
Dolt/beads database internals |
Always ignore (logs and noise)
| Pattern | Why |
|---|---|
*.log |
Log files |
logs/ |
Log directories |
*.sqlite, *.db |
Local databases |
Ignore if large (> 1 MB) and not source code
Review these on a case-by-case basis:
notebooks/— Jupyter notebooks with embedded outputsreports/— Generated analysis reportsdocs/— If dominated by generated API docs or large assetsstubs/— Type stubsdebug/— Ephemeral diagnostic scriptsdata/,datasets/— Data files (unless small config/fixture data)assets/,static/,public/— Media and static filesfixtures/— Test fixtures if large
Never ignore (source code and key files — keep readable)
src/,lib/,app/— Application sourcetests/,test/,spec/— Test sourcescripts/— Build/utility scriptsconfig/— Configuration filesprompts/— Prompt templatestools/— Developer toolsfrontend/— Frontend source (but ignorefrontend/node_modules/)README.md,CLAUDE.md,AGENTS.md— Project documentationpyproject.toml,package.json,Cargo.toml,go.mod— Manifeststsconfig.json,eslint.config.*— Core tooling config
Over-ignoring these makes Claude guess incorrectly about app structure and tooling.
Step 3: Present the plan
Show the user a table of what will be ignored and why:
| Directory | Size | Category | Reason |
|-----------|------|----------|--------|
| .venv/ | 1.7 GB | dependency cache | Python packages |
| ... | ... | ... | ... |
Also note any borderline decisions where the user might disagree.
Ask:
"Here's what I'd ignore. Want me to add or remove anything before I write the file?"
St
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл create?
Analyze a repository and generate a new .claudeignore file that excludes directories and files wasting context tokens.
Как установить скилл create?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…