feat(rules): add component resolution rules to webflow_guide_tool#120
Open
kiratchhina wants to merge 2 commits intomainfrom
Open
feat(rules): add component resolution rules to webflow_guide_tool#120kiratchhina wants to merge 2 commits intomainfrom
kiratchhina wants to merge 2 commits intomainfrom
Conversation
When a site consumes shared library components, list_components returns duplicate names — one readonly (shared library) and one site-level. component_builder historically resolved by name and silently picked the site-level version, disconnecting instances from upstream design system updates. This adds explicit resolution rules to the webflow_guide_tool: - Require list_components before every component_builder call - Prefer readonly: true entries; use explicit IDs where possible - Warn and require confirmation on any name collision - Mandate a pre/post session audit to detect implicit component creation Also removes the old "Pass the component name (not the ID)" instruction which was actively contradicting safe resolution behaviour. Made-with: Cursor
Simplified the component resolution rules based on the fact that component_builder only accepts component names (not IDs). Reduced from complex multi-step priority ordering and session audit rules to 4 concise guidelines: - Check for name collisions before using component_builder - Warn user when multiple components share the same name - Default to shared library version (readonly: true) - Provide simple warning format Also restored the important note that component_schema takes names, not IDs. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
morganthrapp
approved these changes
Apr 22, 2026
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.
JIRA ISSUE: https://webflow.atlassian.net/browse/DEVPL-4172
Summary
Key Changes
list_componentscall before everycomponent_builderusageTest plan
🤖 Generated with Claude Code