content-mdx

Centralize portfolio content management with MDX, Contentlayer, or local JSON in Next.js.

6|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/JaivishChauhan/vibecoding-starter --skill content-mdx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: content-mdx
Source: https://github.com/JaivishChauhan/vibecoding-starter/tree/main/.agent/skills/content-mdx
Command: npx skills add https://github.com/JaivishChauhan/vibecoding-starter --skill content-mdx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires contentlayer, next-contentlayer, date-fns.

What problem does it solve?

Content-driven portfolio sites often suffer from content inconsistency and hard-to-maintain data scattered across code. This Skill centralizes content management by enabling MDX, Contentlayer, or local JSON to power projects, blog posts, and other dynamic data in Next.js apps.

Core Features & Use Cases

  • Unified content source: MDX-based blog, JSON-typed data for projects, and optional Contentlayer integration for strong type-safety.
  • DX-focused tooling: Type-safe frontmatter, computed fields (slugs, URLs), and simple content pipelines for projects and posts.
  • Use Case: Update a project or post in content/ and see it reflected on the site without touching UI code.

Quick Start

Start by creating content in the content/ directory (projects, blog, data), install the necessary tooling, and wire the content into Next.js pages using the provided examples.

Frequently Asked Questions about content-mdx

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

FAQPage Schema
How do I manage MDX blog content and project data in a Next.js portfolio?

MDX content management for Next.js portfolios involves structuring files in a content/ directory and using Contentlayer to parse, transform, and render blog posts and project data with type-safe frontmatter.

What is Contentlayer used for in a Next.js content site?

Contentlayer transforms local MDX and JSON files into type-safe data with computed fields like slugs and URLs, enabling structured content pipelines for Next.js pages without manual data parsing.

Do I need Contentlayer to use MDX for rendering dynamic portfolio pages?

No, Contentlayer is optional; the skill supports standard MDX processing and local JSON data independently for rendering dynamic pages, though adding Contentlayer provides strong type-safety and computed fields.

How do I update portfolio projects and blog posts without changing UI code?

Update portfolio projects and blog posts without changing UI code by adding or modifying MDX and JSON files in the content/ directory, allowing the content pipeline to automatically parse and reflect changes on the site.

Can I use local JSON files for project data alongside MDX blog posts?

Yes, you can use local JSON files for project data alongside MDX blog posts by defining separate content pipelines within your Next.js application to parse and render the distinct structured data formats.

What are the limitations of using local MDX and JSON for content management?

Limitations of using local MDX and JSON for content management include lacking a visual editing interface for non-technical authors and requiring manual dependency configuration for tools like Contentlayer and date-fns.