From content-management-system
Visualizes content type relationships as Mermaid diagrams, ASCII trees, or YAML data. Flags circular dependencies, orphans, and coupling issues in CMS models.
How this skill is triggered — by the user, by Claude, or both
Slash command
/content-management-system:map-relationshipsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a visual representation of content type relationships.
Generate a visual representation of content type relationships.
/cms:map-relationships --output mermaid
/cms:map-relationships --output ascii --scope type:Article
/cms:map-relationships --output yaml
Extract output format and scope from command.
Read existing content type definitions from:
Invoke content-relationships skill to analyze:
Mermaid Output:
graph LR
Article -->|author| Author
Article -->|categories| Category
Article -->|tags| Tag
Article -->|featuredImage| Media
Article -->|relatedArticles| Article
Product -->|categories| ProductCategory
Product -->|images| Media
Product -->|variants| ProductVariant
ProductVariant -->|product| Product
Page -->|parent| Page
Page -->|featuredImage| Media
ASCII Output:
CONTENT RELATIONSHIP MAP
========================
Article
├── author ──────────> Author (1:1)
├── categories ──────> Category (1:N)
├── tags ────────────> Tag (1:N)
├── featuredImage ───> Media (1:1)
└── relatedArticles ─> Article (N:N, self)
Product
├── categories ──────> ProductCategory (1:N)
├── images ──────────> Media (1:N)
└── variants ────────> ProductVariant (1:N)
ProductVariant
└── product ─────────> Product (N:1, inverse)
Page
├── parent ──────────> Page (N:1, self)
└── featuredImage ───> Media (1:1)
YAML Output:
relationships:
Article:
- field: author
target: Author
cardinality: one-to-one
required: true
- field: categories
target: Category
cardinality: one-to-many
required: true
- field: relatedArticles
target: Article
cardinality: many-to-many
self_referential: true
Product:
- field: variants
target: ProductVariant
cardinality: one-to-many
inverse: product
Flag potential problems:
content-relationships - Relationship patternscontent-type-modeling - Content type structurenpx claudepluginhub melodic-software/claude-code-plugins --plugin content-management-systemDesigns content relationships in headless CMS: one-to-many, many-to-many junctions, hierarchies, polymorphic refs, bidirectional links, reference integrity, and loading strategies.
Guides creating visual maps of systems, architectures, and knowledge structures using diagrams, concept maps, and blueprints. Helps identify nodes, relationships, and choose visualization approaches.
Designs structured content models for headless CMSes: schema design, content reuse, reference vs. embedded objects, separation of concerns, taxonomies. Use when creating or refactoring content types.