Skip to content

improved pattern/allowed in slot docs#1

Merged
alexshyba merged 13 commits into
mainfrom
kamsar-patch-1
Jul 23, 2025
Merged

improved pattern/allowed in slot docs#1
alexshyba merged 13 commits into
mainfrom
kamsar-patch-1

Conversation

@kamsar
Copy link
Copy Markdown
Collaborator

@kamsar kamsar commented Jun 30, 2025

This pull request updates the documentation in rules/uniform.mdc to clarify concepts related to Uniform Components, Slots, Patterns, and their attributes. The changes aim to improve the understanding of configuration options and content reuse within Uniform.

⚠️ do not land this PR until mcp-next is deployed to the platform or else the instructions will contain inaccurate information.

Enhancements to Uniform Slot Definitions:

  • Expanded explanation of how slot definitions control which components or patterns are allowed, including properties like allowAllComponents, allowedComponents, and patternsInAllowedComponents. Added examples for clarity.

Improvements to Uniform Patterns:

  • Detailed the types of Uniform Patterns—Component Patterns, Composition Patterns, and Entry Patterns—and their use cases for content reuse and template-based creation.

Clarifications to Uniform Component Slots:

  • Updated the description of slots to include the possibility of inserting component patterns, not just individual components.

MCP/AI Limitations:

  • Added a note specifying that MCP/AI cannot access published content and can only work with drafts, along with instructions for requesting publication.

@kamsar kamsar requested review from alexshyba and removed request for alexshyba June 30, 2025 21:02
@alexshyba alexshyba self-assigned this Jul 23, 2025
@alexshyba alexshyba merged commit 6f2e1c1 into main Jul 23, 2025
@alexshyba alexshyba deleted the kamsar-patch-1 branch July 23, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants