본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

gitignore-sync

nikita-holban 제작

Coding Agents & IDEs
463clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Context-aware .gitignore generation backed by gitignore.io, not vibes.

설명

이 스킬이 하는 일

Generates .gitignore rules by detecting templates from repository context and fetching patterns from gitignore.io. Updates only a managed block in the existing .gitignore, leaving manually written rules untouched. Re-running is safe and idempotent.

Using gitignore.io templates via a managed block prevents both hand-rolling incomplete rules and accidentally clobbering custom entries on re-runs.

사용 시점

  • Setting up .gitignore for a new Flutter + Firebase project
  • Updating an existing repo's .gitignore after adding a new tool like VS Code
  • Regenerating ignore rules without overwriting custom project-specific entries
  • Bootstrapping .gitignore in a monorepo with mixed language environments
  • Syncing .gitignore patterns when switching CI or adding Docker to a project

예시 워크플로

입력

User asks: generate a .gitignore for a Flutter Firebase project with VS Code

에이전트
  1. 1

    Infer templates: flutter, firebase, visualstudiocode from the user prompt

  2. 2

    Scan repository files and folders to confirm or add detected templates

  3. 3

    Run scripts/update_gitignore.py with --prompt-text and --services flags pointing to the repo root

  4. 4

    Script fetches combined rules from toptal.com/developers/gitignore/api/flutter,firebase,visualstudiocode

  5. 5

    Script writes the fetched rules into the managed block in .gitignore, preserving any existing custom rules outside the block

출력

.gitignore updated with accurate Flutter, Firebase, and VS Code patterns inside the managed block; custom rules untouched

설치

clawhub install nikita-holban/gitignore-sync

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크