Open
Conversation
- Use SimplePlugin with data_converter callback (correct API) - Remove unused aws_profile parameter from ClaimCheckCodec - Require temporalio>=1.19.0 (for SimplePlugin support) - Require python>=3.10 (required by temporalio 1.19+) - Update README code example to match implementation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
SimplePlugin accepts either a DataConverter instance or a callable. The direct approach is simpler and sufficient for this use case. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Verifies that code snippets in README files match their source files before allowing commits. Checks only changed Python files. Annotations: - *File: path/to/file.py* - full file match required - *File: path/to/file.py (excerpt)* - substring match Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Interactive skill that: - Finds README snippets with file annotations - Compares them to source files - Reports mismatches - Offers to fix them automatically Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Now asks user whether to: - Update README to match source (source is correct) - Update source to match README (revert unwanted changes) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- PostToolUse on Edit/Write for .py: warns if README snippet is stale - PostToolUse on Edit/Write for .md: warns if snippets don't match source - PreToolUse on Bash for git commit: blocks if staged files have mismatches Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Collaborator
Author
|
README sync issues are fixed in #43 |
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
/check-readme-snippetsskill for interactive checking and fixingComponents
scripts/verify_readme_snippets.py.claude/settings.json.claude/commands/check-readme-snippets.mdHow it works
Hook (automatic):
Edit/Writeto Python files - warns if edited file's README snippet is staleEdit/Writeto README files - warns if snippets don't match sourcesgit commitcommands - blocks commit (exit 2) if staged files have mismatched snippetsSkill (interactive):
/check-readme-snippetsto see mismatchesAnnotations supported
*File: path/to/file.py*- full file match required*File: path/to/file.py (excerpt)*- substring matchTest plan
🤖 Generated with Claude Code