CP-13479 Add vsdk-code-review skill for Claude Code - #680
Merged
abhi4122 merged 1 commit intoJul 7, 2026
Conversation
abhi4122
force-pushed
the
dlpx/pr/abhi4122/591bb139-b7f4-434b-aef6-e9d1c1180175
branch
5 times, most recently
from
July 2, 2026 09:20
d290e85 to
19463d8
Compare
abhi4122
marked this pull request as ready for review
July 2, 2026 09:22
SumoSourabh
reviewed
Jul 2, 2026
abhi4122
force-pushed
the
dlpx/pr/abhi4122/591bb139-b7f4-434b-aef6-e9d1c1180175
branch
2 times, most recently
from
July 3, 2026 06:11
dd1c5e7 to
bed4bd9
Compare
rakshandabhat
approved these changes
Jul 6, 2026
abhi4122
force-pushed
the
dlpx/pr/abhi4122/591bb139-b7f4-434b-aef6-e9d1c1180175
branch
from
July 6, 2026 11:38
bed4bd9 to
e1a93ac
Compare
abhi4122
deleted the
dlpx/pr/abhi4122/591bb139-b7f4-434b-aef6-e9d1c1180175
branch
July 7, 2026 04:20
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.
Problem
Code reviewers rely on tribal knowledge for vSDK-specific conventions — correct exception class per package, proto conversion pattern,
_internal_*operation guards,plugin_validator.pyfor required ops, import ordering, copyright headers, etc. New contributors and Claude Code both lack a single reference that combines the style rules with the correctness invariants specific to this repo.Solution
Add
.claude/skills/vsdk-code-review/SKILL.md— a Claude Code skill that loads automatically when/vsdk-code-reviewis invoked. The skill covers:pytestandflake8 --max-line-length 88actually gate vs. what is convention onlycommon,libs,platform, andtools)to_proto()/from_proto()pattern withisinstancevalidation,CopyFrom()for nested fieldsOperationNotDefinedErrorguard in_internal_*methods,__all__in_plugin_classes.py,pkgutil.extend_pathfor namespace packages,plugin_validator.pyfor new required operationscli.pydeclarations-only, logic incommands/<cmd>.pypytest+mock, Maven-style tree mirroring,conftest.pyfixturesTesting Done
Skill was tested against four merged commits/PRs by running the checklist manually and reporting findings:
PR #630 —
source_to_physicaloperation (446042f)virtual_to_physicalreferences in docstrings/comments in_virtual.py(line 870, 889) and_linked.py(lines 343, 362, 939, 958) — operation rename not fully propagated_virtual.pyand_linked.py—PhysicalSourceappended after alphabetically-later symbols instead of inserted in orderCommit
22e9b50— Azure Vault docs + v5.1.0 release notesdocs/docs/Release_Notes/5.1.0/5.1.0_Breaking_Changes.mdheading# Breaking Changes - v.5.1.0has a spurious period — should bev5.1.0Commit
089fb8b— dependency bumps + test fixestry/finallyforos.chdir,globalremoval, backslash style) are all genuine improvements. Clean pass.Commit
080343f— v5.1.0 version bumppackage_util.py:68—r'([0-9]\.[0-9]{1,2}\.[0-9])'adds 2-digit minor support but PATCH is still single-digit;get_external_version_string('1.11.49')returns'1.11.4'silently. Complete fix:r'([0-9]+\.[0-9]+\.[0-9]+)'