Skip to content

docs: add Claude Code skills for adding operators/preprocessors#642

Merged
go-to-k merged 1 commit into
mainfrom
docs/add-claude-skills
May 4, 2026
Merged

docs: add Claude Code skills for adding operators/preprocessors#642
go-to-k merged 1 commit into
mainfrom
docs/add-claude-skills

Conversation

@go-to-k

@go-to-k go-to-k commented May 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Added two Claude Code skills under .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 in operator_collection.go, README, e2e/full).
    • add-preprocessor: same shape, with the Checker vs Modifier phase decision up front and the factory.go slice wiring.
  • Slimmed down CONTRIBUTING.md (217 -> 93 lines): high-level overview only, with the detailed procedures delegated to the skills, and the long enumerated testgen_* / e2e_* target tables replaced by a pointer to make testgen_help / make e2e_help.

No code changes; docs / Claude tooling only.

Test plan

  • Skim CONTRIBUTING.md to confirm the overview still reads well standalone.
  • Open .claude/skills/add-operator/SKILL.md in Claude Code and verify it triggers when asked to add a new force-delete resource type.
  • Open .claude/skills/add-preprocessor/SKILL.md and verify it triggers for adding a deletion-protection check or similar pre-deletion logic.

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.
@go-to-k
go-to-k merged commit 67c1122 into main May 4, 2026
3 checks passed
@go-to-k
go-to-k deleted the docs/add-claude-skills branch May 4, 2026 06:03
@github-actions github-actions Bot mentioned this pull request May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant