mirror of
https://github.com/tiennm99/try-claudekit.git
synced 2026-04-17 15:21:21 +00:00
Add agent definitions, slash commands, hooks, and settings for Claude Code project tooling.
1.7 KiB
1.7 KiB
description, allowed-tools, category
| description | allowed-tools | category |
|---|---|---|
| Initialize .gitignore with Claude Code specific patterns | Read, Edit, Write, Bash(echo:*), Bash(cat:*), Bash(test:*) | workflow |
Initialize .gitignore for Claude Code
Set up or update the project's .gitignore file with Claude Code specific patterns.
Core Claude Code Files to Ignore
Ensure these Claude Code local configuration files are ignored:
CLAUDE.local.md- Local AI assistant instructions (root).claude/settings.local.json- Personal Claude Code settings.mcp.local.json- Local MCP server configuration (root)
Development Patterns
These common development artifacts will also be added:
temp/- Temporary working directorytemp-*/- Temporary directories with prefixtest-*/- Test directories with prefixdebug-*.js- Debug scriptstest-*.js- Test scripts*-test.js- Test files with suffix*-debug.js- Debug files with suffix
Current .gitignore Status
![ -f .gitignore ] && echo "EXISTS: .gitignore found" && echo "---CONTENTS---" && cat .gitignore || echo "MISSING: No .gitignore file found"
Task
Based on the above status:
- Create
.gitignoreif it doesn't exist - Add all patterns that aren't already present
- Preserve existing entries and comments
- Report what was added
Patterns to Add
# Claude Code local files
CLAUDE.local.md
.claude/settings.local.json
.mcp.local.json
# Temporary and debug files
temp/
temp-*/
test-*/
debug-*.js
test-*.js
*-test.js
*-debug.js
Implement this by:
- Using the gitignore status above to determine what's missing
- Adding missing patterns with appropriate comments
- Preserving the existing file structure and entries