generate-gitignore

generate-gitignore is a skill for Claude Code from ncaq/konoka. It costs 65 tokens per session (580 once invoked), scanned A, original, Apache-2.0.

A skill for creating or updating a .gitignore file from GitHub's official templates using the gh command-line tool. A .gitignore file tells Git which files not to include in version control.

In plain words
What is it for?
Use it when creating a .gitignore or adding language and toolchain patterns to an existing one. It checks available templates and records the command used to generate each section.
Why use it?
It reduces omissions that can occur when ignore patterns are written by hand and keeps generated sections easy to refresh. It also preserves project-specific patterns separately from template content.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the programming-tasuke plugin — 10 skills shipped together

Good fit Use it when creating a .gitignore or adding language and toolchain patterns to an existing one. It checks available templates and records the command used to generate each section.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ncaq/konoka/generate-gitignore
View source ↗ ncaq/konoka
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ncaq/konoka --skill generate-gitignore
Clone the repo
git clone --depth 1 https://github.com/ncaq/konoka

Made for: Claude Code.

Or install programming-tasuke, the plugin that ships this one along with the rest of its 10 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate-gitignore

README.md
[![agentmods](https://agentmods.dev/badge/skills/ncaq/konoka/generate-gitignore/github.svg)](https://agentmods.dev/skills/ncaq/konoka/generate-gitignore)
Your own site
<a href="https://agentmods.dev/skills/ncaq/konoka/generate-gitignore"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/generate-gitignore/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate-gitignore

Your own site · 80×15
<a href="https://agentmods.dev/skills/ncaq/konoka/generate-gitignore"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/generate-gitignore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 580 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.00580
Opus 5.5 $0.00026 $0.00232
Sonnet 5.5 $0.00013 $0.00116
Haiku 4.5 $0.00006 $0.00058

Measured yesterday against content hash b3a89c9ee4d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-gitignore scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/programming-tasuke/skills/generate-gitignore/SKILL.md · 54 lines

What it actually says

.gitignoreはテンプレートから生成する

.gitignoreに言語やツールチェーンの項目を入れるときは、手で書かずに、 gh repo gitignore view <テンプレート名>でGitHubの公式のテンプレートを生成して、 その出力を元にしてください。 新しく作るときも、既存の.gitignoreに足すときも同じです。

手で書いた数行は漏れが出やすく、 公式のテンプレートの方が網羅的で保守しやすいためです。

テンプレート名は大文字と小文字を区別します。 gh repo gitignore listで一覧を確かめてください。

gh repo gitignore list
gh repo gitignore view Dotnet

生成に使ったコマンドを書き残す

生成に使ったコマンドは、テンプレートの出力の前にコメントで書き残してください。 どこが生成された部分なのかが分かり、 同じコマンドでテンプレートの更新を取り込めるようにするためです。

複数のテンプレートを組み合わせるときは、 テンプレートの境目に見出しのコメントを置いて、 そこにそれぞれのコマンドを書いていきます。 コメントには、バッククォートで囲んだコマンドだけを書きます。 コマンドがあれば生成したものだと分かるので、説明の言葉は添えません。

# Nix
# `gh repo gitignore view Nix`

<Nixのテンプレートの出力>

# .NET
# `gh repo gitignore view Dotnet`

<Dotnetのテンプレートの出力>

テンプレートに無い項目

合うテンプレートが無い項目や、プロジェクトに固有の項目は、手で書いて構いません。 生成した部分には混ぜずに、見出しのコメントで分けた別の節に置きます。 生成した部分をコマンドで更新するときに、手で書いた項目が消えないようにするためです。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 54 lines · 65 tokens per session scan A b3a89c9ee4d0

Subscribe to this mod's changes

generate-gitignore is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 65 tokens to every session and 580 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

generate-gitignore compared with skills from other repositories

generate-gitignore next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate-gitignorencaq/konokaSkill3yesterdayApache-2.0A65Claude Code
cloudflare-workers-ci-cdsecondsky/claude-skillsSkill2573d agoMITA50Claude Code
claude-code-bash-patternssecondsky/claude-skillsSkill2573d agoMITB52Claude Code
prthoughtbot/rails-consultantSkill3913d agoMITA22Claude Code
committhoughtbot/rails-consultantSkill3913d agoMITA20Claude Code
control-towerwan-huiyan/agent-traffic-controlSkill5yesterdayMITA50Claude Code
check-a-stale-branch-is-not-undoing-newer-main-workwan-huiyan/agent-traffic-controlSkill5yesterdayMITA116Claude Code