From 4ae4bc741359c26fa2a345913e43e33d04855b7f Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 26 Jul 2026 04:31:02 +0000 Subject: [PATCH] Mark vendored agent skills as linguist-vendored The bundled vercel-labs skills under .claude/skills and .agents/skills contain 178 .mjs files, which makes GitHub classify this docs repo as JavaScript and makes CodeQL Default Setup select javascript-typescript. CodeQL then skips those dot-directories, finds no processable source, and fails with a configuration error. Mark the skill trees as linguist-vendored so GitHub excludes them from language detection (and diffs). Scope is limited to .../skills/** so the first-party .claude/settings.json and .claude/hooks/ stay counted. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01AXwZrvvxDWUe9bn1kMqkYp --- .gitattributes | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f63a3ef --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +# Vendored third-party agent skills (installed from vercel-labs/agent-skills). +# Mark as vendored so GitHub excludes them from language statistics and +# code-scanning language detection, and collapses them in diffs. This keeps +# the repo from being misclassified as JavaScript by its bundled skill code. +# Scope is limited to the skill trees — .claude/settings.json and +# .claude/hooks/ are first-party config and stay counted. +.claude/skills/** linguist-vendored +.agents/skills/** linguist-vendored