docs: add Claude Code skills for adding operators/preprocessors#642
Merged
Conversation
Move the step-by-step procedures for adding a new Operator or Preprocessor out of CONTRIBUTING.md and into dedicated Claude Code skills under .claude/skills/. CONTRIBUTING.md keeps the high-level overview and points to the skills for the detailed file lists, and the long enumerated testgen_* / e2e_* target tables are replaced with a pointer to the existing make ..._help targets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.claude/skills/so the step-by-step procedures for adding a new Operator or Preprocessor are auto-loaded when relevant:add-operator: full file-by-file list (resourcetype, client, operator, factory, the 4 update sites inoperator_collection.go, README, e2e/full).add-preprocessor: same shape, with the Checker vs Modifier phase decision up front and thefactory.goslice wiring.CONTRIBUTING.md(217 -> 93 lines): high-level overview only, with the detailed procedures delegated to the skills, and the long enumeratedtestgen_*/e2e_*target tables replaced by a pointer tomake testgen_help/make e2e_help.No code changes; docs / Claude tooling only.
Test plan
CONTRIBUTING.mdto confirm the overview still reads well standalone..claude/skills/add-operator/SKILL.mdin Claude Code and verify it triggers when asked to add a new force-delete resource type..claude/skills/add-preprocessor/SKILL.mdand verify it triggers for adding a deletion-protection check or similar pre-deletion logic.