← 返回
数据分析 中文

Gitignore Sync

gitignore-sync combines gitignore.io templates with your repo context to produce a cleaner `.gitignore` with fewer overlooked cases. It generates `.gitignore...
gitignore-sync 将 gitignore.io 模板与仓库上下文结合,生成更干净的 `.gitignore`,减少遗漏情况。它生成 `.gitignore` 文件。
nikita-holban
数据分析 clawhub v0.1.3 1 版本 99918.8 Key: 无需
★ 0
Stars
📥 1,231
下载
💾 8
安装
1
版本
#developer-tools#git#gitignore#latest

概述

Gitignore Sync

Generate high-confidence .gitignore rules from real repo signals and gitignore.io, then update safely via a managed block so manual rules stay untouched.

Execution Rule

Use scripts/update_gitignore.py as the only execution path.

Do not fetch from the API directly in ad-hoc commands.

Do not manually compose or rewrite .gitignore when this skill is selected.

Workflow

  1. Infer requested templates from the user prompt.
  2. Detect likely templates from repository files and folders.
  3. Run scripts/update_gitignore.py with --prompt-text and/or --services.
  4. Let the script fetch combined template rules from https://www.toptal.com/developers/gitignore/api/.
  5. Let the script write or update a managed block in .gitignore.
  6. Preserve non-managed user sections in .gitignore.

Run

From the target repository root, run:

python3 <skill-path>/scripts/update_gitignore.py \
  --prompt-text "create .gitignore for flutter firebase vscode" \
  --repo .

Use explicit templates when the user names exact services:

python3 <skill-path>/scripts/update_gitignore.py \
  --services flutter,firebase,visualstudiocode \
  --repo .

Notes

  • Prefer passing both --prompt-text and --services when available.
  • Keep manual custom rules outside the managed block markers.
  • Re-run safely; the script replaces only the managed block.
  • Use --rules-file for offline/local testing when network access is blocked.

版本历史

共 1 个版本

  • v0.1.3 当前
    2026-03-29 07:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 199 📥 65,265
data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 57,034
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 166 📥 60,259