refactor(skills): consolidate hooks documentation to eliminate duplication#1136
Merged
xuyushun441-sys merged 1 commit intomainfrom Apr 14, 2026
Merged
Conversation
…ation - Revived objectstack-hooks skill as canonical reference (removed deprecation) - Created objectstack-hooks/references/ with data-hooks.md and plugin-hooks.md - Replaced objectstack-schema/rules/hooks.md with reference pointer - Replaced objectstack-plugin/rules/hooks-events.md with reference pointer - Updated all cross-references in SKILL.md files - Established single source of truth for all hooks documentation Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/121cb9bd-5a46-4612-bc44-314fe4196da5 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Claude created this pull request from a session on behalf of
xuyushun441-sys
April 14, 2026 07:38
View session
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Hooks documentation was duplicated across
objectstack-schema(1038 lines) andobjectstack-plugin(358 lines), causing maintenance burden and potential inconsistencies. This refactors the documentation structure to establish a single source of truth.Changes
Revived
objectstack-hooksas canonical referenceCreated reference structure
Replaced duplicates with reference pointers
objectstack-schema/rules/hooks.md: 1038 lines → 146 lines (quick ref + pointer)objectstack-plugin/rules/hooks-events.md: 358 lines → 164 lines (quick ref + pointer)Updated cross-references
objectstack-hooks(→ [objectstack-hooks](...)Benefits
Pattern established
This approach can be applied to other duplicated content (validation rules, field types, naming conventions) to maintain documentation quality across the skills ecosystem.