Skip to content

chore: gitignore next-generated AGENTS.md/CLAUDE.md - #316

Closed
robertying wants to merge 1 commit into
mainfrom
chore/gitignore-agents-md
Closed

robertying wants to merge 1 commit into
mainfrom
chore/gitignore-agents-md

Conversation

@robertying

Copy link
Copy Markdown
Owner

Summary

next dev/next build on next@16.3.6 auto-generates AGENTS.md/CLAUDE.md scaffold files in the repo root if they don't exist. These shouldn't be tracked — they're local dev-server output, not source. Adds them to .gitignore.

This repo didn't actually commit these files in the recent dependency-update PR (#315, already merged), but a sibling repo did and had to have them removed, so this adds the same preventive ignore rule here before it happens.

🤖 Generated with Claude Code

https://claude.ai/code/session_018cQGMQEWosyap8seKE16Be


Generated by Claude Code

next dev/build auto-generates these scaffold files; preempt them from
being tracked or committed as part of dependency-update PRs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018cQGMQEWosyap8seKE16Be
@robertying robertying closed this Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants