Merged
Conversation
Refactor project structure to better reflect that these are production-ready resources, not demo examples. All 'examples/' directories have been renamed to 'library/' to indicate these are curated, ready-to-use components. Updates include: - Rename all examples/ directories to library/ across all component types - Update setup_environment.py to load from library/ instead of examples/ - Update template references to use library/ paths
Simplify documentation to be more maintainable by removing: - Specific entity counts that become outdated - Detailed listings of library components - References to 'examples' terminology This makes documentation maintenance easier as components are added or removed without requiring README updates each time.
Update GitHub Actions workflow to: - Only trigger on pull requests (no push to main) - Validate environment configurations in library/ directory - Allow templates to fail validation (expected behavior)
- Create Python script to count all library components - Generate shields.io-compatible JSON badge data - Validate YAML configurations during counting - Support environments, agents, commands, prompts, styles, and hooks
- Run on push to main when library components change - Execute entity counting script with Python 3.12 - Generate fresh badge data on each update - Support manual workflow dispatch for on-demand updates
- Display real-time counts for all component types - Use shields.io dynamic badges with JSON data source - Color-code badges by component type for visual clarity - Show total component count prominently
The workflow was failing with 403 errors when trying to comment on pull requests because the default GITHUB_TOKEN didn't have explicit write permissions for pull requests.
✅ Configuration Validation PassedAll environment configuration files have been validated successfully. |
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.
No description provided.