teinam/kiro-with-harness/gitignore-generator
Claude Code and agent skill by teinam/kiro-with-harness
- community
Checking that the SKILL.md file is still in the repository.
Generate or update a project .gitignore. Defaults to excluding agent/harness config dirs (.kiro/, .claude/, .codex/) plus secrets, OS/editor noise, and build output, then layers language-specific patterns. Use when initializing a repo, adding a .gitignore, or auditing what should be ignored. Triggers on "gitignore", new repo setup, or "exclude from git".
Install
npx vskill@latest install teinam/kiro-with-harness/gitignore-generatorSKILL.md
The same SKILL.md was published earlier as teinam/kiro-with-harness/gitignore-generator.
.gitignore Generator
Produce a focused .gitignore that keeps agent config, secrets, build output, and OS/editor noise out of version control by default. Start from the agent/harness baseline, then layer language-specific patterns.
When to Activate
- Initializing a new repository or adding a missing
.gitignore - Auditing an existing
.gitignorefor gaps (secrets, agent dirs, build output) - Onboarding the harness into a project —
.kiro/.claude/.codex/should not leak local/machine-specific state
Baseline (always include)
Agent / harness config — local, often machine-specific or secret-bearing, excluded by default:
Team-shared exception: if you deliberately commit shared steering/specs, un-ignore selectively rather than tracking everything — e.g.!.kiro/then!.kiro/steering/and!.kiro/specs/, while keeping.kiro/settings/ignored if it holds local MCP credentials.
Secrets & environment:
OS / editor:
Language layers (add only what applies)
- Node:
node_modules/,dist/,build/,.next/,.nuxt/,coverage/,*.tsbuildinfo,.turbo/ - Python:
__pycache__/,*.pyc,.venv/,venv/,.pytest_cache/,.mypy_cache/,.ruff_cache/,*.egg-info/ - Rust:
target/,**/*.rs.bk - Go:
bin/,*.test - Java/Kotlin:
target/,build/,.gradle/,*.class - Terraform:
.terraform/,*.tfstate,*.tfstate.*,crash.log,*.tfvars(keep*.tfvars.example). Do NOT ignore `.terraform.lock.hcl` — it is committed.
Procedure
- Detect project type(s) from manifest files (
package.json,pyproject.toml,Cargo.toml,go.mod,build.gradle,*.tf). - Start from the baseline (agent dirs + secrets + OS/editor).
- Append only the matching language layers.
- If a
.gitignorealready exists, merge — add missing patterns, never remove the user's entries. - For files already tracked that should now be ignored, note they need
git rm --cached <path>(do not run destructive git without confirmation).
Pitfalls
- Ignoring
.terraform.lock.hcl(must be committed for reproducible providers). - Ignoring
.env.example(teams need the template — keep the!.env.examplenegation). - Blanket-ignoring
.kiro/when the team shares steering — use selective un-ignore instead. - Adding patterns for tools the project does not use — keep it lean.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gitignore-generator/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
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/teinam/kiro-with-harness/gitignore-generator)