docs-conventions

Enforce MDX frontmatter and component patterns for docs.cloudposse.com documentation.

98|34|Updated Apr 27, 2018
One-click install
npx skills add https://github.com/cloudposse/docs --skill docs-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docs-conventions
Source: https://github.com/cloudposse/docs/tree/main/.claude/skills/docs-conventions
Command: npx skills add https://github.com/cloudposse/docs --skill docs-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Documentation on docs.cloudposse.com suffers from inconsistent structure, frontmatter, and component usage. This Skill defines and enforces a standardized approach to MDX frontmatter, reusable components, and content patterns to ensure cohesive, maintainable documentation.

Core Features & Use Cases

  • MDX Frontmatter Standards: Enforces required frontmatter fields (name, description, title, etc.) and consistent metadata for SEO and navigation.
  • Reusable React Components & Patterns: Provides guidelines for using Steps, ActionCard, Next Steps, and other components to create uniform layouts across tutorials, references, and guides.
  • Guided Authoring for Tutorials & References: Applies to new pages and edits to maintain consistent navigation, inline notes, collapsible sections, and hyperlinks.
  • Use Case: A content author updates a docs page and automatically adheres to the established frontmatter and component usage patterns.

Quick Start

Create or edit a docs page using the MDX frontmatter and component patterns described here.

Frequently Asked Questions about docs-conventions

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

FAQPage Schema
How do I standardize MDX frontmatter fields for documentation pages?

To enforce consistent MDX frontmatter, define required fields such as name, description, and title. This ensures standardized metadata for SEO and uniform navigation across all documentation pages.

What MDX components should I use for consistent documentation layouts?

Use reusable React components such as Steps, ActionCard, and Next Steps to create uniform layouts. These components ensure consistent navigation and structured content across tutorials, references, and guides.

How do I structure tutorials and reference guides in MDX?

Structure tutorials and reference guides by applying standardized MDX frontmatter, reusable React components, and consistent patterns for code blocks, inline notes, and collapsible sections to maintain cohesive content.

Does this documentation convention work for editing existing pages?

Yes, these documentation conventions apply to both creating new pages and editing existing ones. They automatically enforce established frontmatter and component usage patterns to maintain structural consistency.

What are the limitations of using MDX frontmatter and component patterns for docs?

The limitations of these MDX documentation patterns involve strict adherence to predefined frontmatter naming and specific React component structures, which may restrict custom layout implementations and freeform content.