Skip to content

Add AI tooling config to ignored paths#796

Open
alexreiling wants to merge 1 commit intoTryGhost:mainfrom
alexreiling:ignore-claude-dir
Open

Add AI tooling config to ignored paths#796
alexreiling wants to merge 1 commit intoTryGhost:mainfrom
alexreiling:ignore-claude-dir

Conversation

@alexreiling
Copy link
Copy Markdown

@alexreiling alexreiling commented May 8, 2026

Adds .claude/, CLAUDE.md, and AGENTS.md to the ignore list in read-theme.js.

These are configuration files for AI coding tools (Claude Code, Codex, etc.) that increasingly appear in theme repos. Like .git and .svn, they are tooling artifacts that should not be validated as theme files.

Currently, a symlinked config file in .claude/ triggers a fatal GS030-ASSET-SYM error when scanning a local theme directory, even though these files are never included in theme zip uploads.


Note

Low Risk
Low risk: only expands the theme file ignore list, affecting which paths are skipped/removed during scanning without changing validation logic.

Overview
Theme scanning now skips AI tooling artifacts by adding .claude/, CLAUDE.md, and AGENTS.md to the ignored paths in lib/read-theme.js, preventing these files from being processed (and, when scanning extracted zips in temp dirs, from triggering errors like symlink checks).

Reviewed by Cursor Bugbot for commit 8378fcf. Bugbot is set up for automated code reviews on this repo. Configure here.

Add `.claude/`, `CLAUDE.md`, and `AGENTS.md` to the ignore list.

These are configuration files for AI coding tools (Claude Code,
Codex, etc.) that may appear in theme repos. Like `.git` and `.svn`,
they are tooling artifacts that should not be included in theme
validation. Symlinked config files in `.claude/` currently trigger
fatal GS030-ASSET-SYM errors even though they are never included
in theme zip uploads.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 8, 2026

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b52fe9b3-63f0-4eb5-a2ab-001746202c36

📥 Commits

Reviewing files that changed from the base of the PR and between 3574b40 and 8378fcf.

📒 Files selected for processing (1)
  • lib/read-theme.js

Walkthrough

This PR updates lib/read-theme.js to add three entries to the ignore list: .claude, CLAUDE.md, and AGENTS.md. These paths are now excluded from theme directory traversal, preventing them from being processed or deleted during theme extraction operations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding AI tooling configuration files to the ignored paths list.
Description check ✅ Passed The description is directly related to the changeset, explaining the purpose and rationale for adding AI tooling configuration files to the ignore list.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant