Files
pnpm/.gitignore
T
Zoltan Kochan 6b84edfb3a chore: load .agents/skills in Claude Code via a .claude/skills symlink (#14995)
The repository's skills live in .agents/skills. Codex discovers that
directory on its own (verified with `codex debug prompt-input` on codex-cli
0.154.0, which lists a skill placed there). Claude Code does not: it scans
only .claude/skills, so the repo's skills were invisible to it unless each
contributor symlinked them into ~/.claude/skills by hand.

Add .claude/skills as a symlink to ../.agents/skills. Claude Code follows it
and lists the skills behind it, so the skills stay in one place and every
agent reads the same copy.

.claude was ignored wholesale, which would have kept the symlink untracked.
Narrow the rule so the root .claude directory and the skills symlink are
tracked while everything else under it, such as settings.local.json, stays
ignored.

No .codex/skills symlink: Codex already reads .agents/skills, so it would
only add a second path to the same files.
2026-09-17 01:42:31 +02:00

94 lines
2.1 KiB
Plaintext

# Logs
logs
*.log
npm-debug.log*
# Dependency directory
**/node_modules/**
_node_modules
.pnp.cjs
# Coverage directory used by tools like istanbul
coverage
.tmp
_docpress
.DS_Store
lib
dist
tsconfig.tsbuildinfo
tsconfig.lint.tsbuildinfo
test.lib/
# Generated by `pnpm --filter pnpm run compile` (tsgo typecheck).
# The root `/pnpm/` entry that used to sit here (build detritus in the
# pre-pnpm11 package location) is gone: `pnpm/` is the Rust source tree
# now, so it must not be ignored. Delete any stale generated `pnpm/`
# dir left over from before the pnpm11 relocation.
__typecheck__/
# Visual Studio Code configs
.vscode/
# JetBrains IDEs
.idea/
# pnpm uses npm for publishing a new version with
# dependencies bundled but the npm lockfile is not needed
# because pnpm use pnpm for installation
package-lock.json
__package_previews__
.store
privatePackages/store
## Verdaccio storage
storage
# ...but not pnpr's `storage` crate. The bare rule above is unanchored, so it
# matches a directory of that name at any depth and would otherwise swallow
# this source tree — silently, since `git add` skips ignored paths without
# saying so. Keep this negation in step if the crate ever moves.
!/pnpr/crates/storage/
!/pnpr/crates/storage/**
yarn.lock
RELEASE.md
.jest-cache
.verdaccio-cache
.turbo
.eslintcache
## Claude Code's local state, except the tracked skills symlink. Git cannot
## re-include a path inside an excluded directory, so the root .claude
## directory is un-excluded first and its contents excluded again.
.claude
!/.claude/
/.claude/*
!/.claude/skills
.local-settings
.pnpm-typecheck.json
## custom modules-dir fixture
pnpm11/__fixtures__/custom-modules-dir/**/fake_modules/
pnpm11/__fixtures__/custom-modules-dir/cache/
pnpm11/__fixtures__/custom-modules-dir/patches/
## pacquet (Rust) artifacts
/target
/bench-work-env
.pacquet
/.pnpm/
## test registry auth state (written by pnpr when serving with auth)
htpasswd
tokens.db
pnpm/npm/napi/*.node
# Generated NAPI addon platform packages + cross-compiled artifacts
pnpm/npm/napi.*/
/pnpm-napi.*.node
pnpr-bins-*