Skip to content

feat(data-ai): mark installed bundle as externally managed (do-not-edit CLAUDE.md) - #138

Open
krisnye wants to merge 5 commits into
mainfrom
krisnye/data-ai-do-not-edit-notice
Open

krisnye wants to merge 5 commits into
mainfrom
krisnye/data-ai-do-not-edit-notice

Conversation

@krisnye

@krisnye krisnye commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Description

Discourages hand-editing of the installed skill bundle. The installer already wipes-and-rebuilds .agents/skills/adobe-data-ai/ on every run, so any in-place edit is silently lost on the next reinstall. This makes that contract explicit.

On each install, the installer now writes a CLAUDE.md into the bundle root stating the folder is externally managed and edits will be discarded. Claude Code loads nested CLAUDE.md files when working within a subtree, so an agent that opens a skill here is warned before editing. It's regenerated every install (the dir is wiped), and it isn't a SKILL.md, so it doesn't register as a skill in Cursor/Codex discovery.

Verified: install writes the notice; a reinstall discards a hand-edit to it and removes a stale renamed-skill folder.

Related PRs

krisnye and others added 5 commits July 3, 2026 19:22
The installer drops a CLAUDE.md in .agents/skills/adobe-data-ai/ marking
the folder as externally managed. Claude Code loads nested CLAUDE.md when
working in a subtree, so an agent that opens a skill here is warned before
editing. Regenerated on every install (the dir is wiped and rebuilt), so
in-place edits don't survive.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…t-edit-notice

# Conflicts:
#	package.json
#	packages/data-ai/package.json
#	packages/data-gpu-samples/package.json
#	packages/data-gpu/package.json
#	packages/data-lit-tictactoe/package.json
#	packages/data-lit-todo/package.json
#	packages/data-lit/package.json
#	packages/data-p2p-tictactoe/package.json
#	packages/data-persistence/package.json
#	packages/data-react-hello/package.json
#	packages/data-react-pixie/package.json
#	packages/data-react/package.json
#	packages/data-solid-dashboard/package.json
#	packages/data-solid/package.json
#	packages/data-sync/package.json
#	packages/data/package.json
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
plugin.json wasn't wired into `pnpm run bump`, so it drifted from the
rest of the monorepo (was still 0.9.76 while root was at 0.9.81).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…t-edit-notice

# Conflicts:
#	package.json
#	packages/data-ai/package.json
#	packages/data-gpu-samples/package.json
#	packages/data-gpu/package.json
#	packages/data-lit-tictactoe/package.json
#	packages/data-lit-todo/package.json
#	packages/data-lit/package.json
#	packages/data-p2p-tictactoe/package.json
#	packages/data-persistence/package.json
#	packages/data-react-hello/package.json
#	packages/data-react-pixie/package.json
#	packages/data-react/package.json
#	packages/data-solid-dashboard/package.json
#	packages/data-solid/package.json
#	packages/data-sync/package.json
#	packages/data/package.json

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant