cui-marketplace-reference-patterns

Enforces architecture standards for Claude Code marketplace components.

1|Updated Feb 3, 2025
One-click install
npx skills add https://github.com/cuioss/cui-llm-rules --skill cui-marketplace-reference-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cui-marketplace-reference-patterns
Source: https://github.com/cuioss/cui-llm-rules/tree/main/claude/marketplace/bundles/cui-frontend-expert/skills/cui-marketplace-architecture/standards/reference-patterns.md
Command: npx skills add https://github.com/cuioss/cui-llm-rules --skill cui-marketplace-reference-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This documentation defines acceptable and prohibited reference patterns for marketplace skills and agents to ensure proper encapsulation.

Core Features & Use Cases

  • Internal Standards: Safe, local references to skill standards.
  • External URLs: Trusted external resources for supplementary guidance.
  • Skill Dependencies: Properly reference other skills as dependencies.
  • Prohibited Patterns: Avoid escape sequences and cross-skill reads.

Quick Start

When authoring a skill, use Skill: references instead of Read: external paths.

Frequently Asked Questions about cui-marketplace-reference-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce architecture standards for marketplace skills?

Architecture standards for marketplace skills ensure self-contained components with proper encapsulation. Use Skill references instead of direct external reads, internalize external content, and validate skill dependencies to maintain clean reference patterns and ensure skills work independently across deployments.

What are the prohibited reference patterns I should avoid when authoring skills?

Prohibited patterns include escape sequences, cross-skill reads, and direct external file access. Instead, use Skill invocations as dependencies, rely on trusted external URLs for supplementary guidance, and categorize all references to maintain proper encapsulation and prevent skills from breaking when moved or bundled.

How do I structure skill dependencies and references correctly?

Reference other skills as explicit dependencies rather than embedding external content or reading across skill boundaries. This approach ensures skills remain self-contained, validates the dependency graph during development, and enables marketplace bundling and validation workflows to compute architecture scores accurately.

What's the difference between internal standards, external URLs, and skill dependencies?

Internal standards provide local references to safe skill documentation; external URLs link to trusted supplementary resources; skill dependencies declare explicit invocations to other marketplace skills. This separation ensures encapsulation, enables validation workflows to detect reference violations, and allows architecture scoring to identify remediation needs.

Can I use external file reads instead of skill references in my marketplace component?

No. Marketplace skills must use Skill references instead of direct external file reads to maintain self-containment and portability. External file reads violate reference patterns and cause validation failures; use skill invocations or trusted external URLs documented in metadata to access external resources.

How do reference patterns affect skill validation and bundling?

Reference patterns are validated throughout development and deployment workflows to ensure skills remain portable and self-contained. Clean patterns enable successful bundling, accurate architecture scoring, and automated remediation recommendations; violations block validation until skills internalize content or convert reads to proper skill dependencies.