Agent skill
update-gitignore
Create or update .gitignore file
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/update-gitignore
SKILL.md
Context
- Project guidelines: @CLAUDE.md
- Operating system: !
uname -s - Existing .gitignore status: !
test -f .gitignore && echo ".gitignore found" || echo ".gitignore not found" - Project files: Analyze repository structure to detect technologies
- Available templates: !
curl -sL https://www.toptal.com/developers/gitignore/api/list
Phase 1: Technology Detection
Goal: Identify operating systems and technologies to include in .gitignore
Actions:
- Detect operating systems and technologies from context
- Combine detected platforms with
$ARGUMENTSinto the generator request (e.g.<os>,<language>,<tool>)
Phase 2: Generate or Update .gitignore
Goal: Create or update .gitignore file using Toptal API
Actions:
- Generate or update
.gitignoreusing the Toptal API - Preserve existing custom sections when updating
.gitignore - Retain all custom rules from existing file
Phase 3: Confirmation
Goal: Present changes for user review
Actions:
- Show the repository changes (diff) to confirm the update
- Present the resulting diff for user confirmation
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?