blog-coding-conventions

Define coding conventions for Next.js blog projects with Vertical Sliced Architecture.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/SatohaCC/nextjs-mdx-blog --skill blog-coding-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blog-coding-conventions
Source: https://github.com/SatohaCC/nextjs-mdx-blog/tree/main/.agents/skills/blog-coding-conventions
Command: npx skills add https://github.com/SatohaCC/nextjs-mdx-blog --skill blog-coding-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

このブログプロジェクトにおけるコーディング規約を統一して、アーキテクチャ、コンポーネント、スタイル、非同期処理、キャッシュ戦略の一貫性と保守性を高めます。

Core Features & Use Cases

  • Vertical Sliced Architecture を採用することで、機能単位にディレクトリを分け、追加・修正を局所化します。
  • ディレクトリの役割とインポート境界を定義し、src/ 層の責務を明確化します。
  • Container/Presentational パターン、非同期 I/O、キャッシュ戦略、およびデザイントークンの利用ルールを統一します。
  • コンポーネントの再利用性とアクセシビリティを高め、長期的な保守性を向上させます。

Quick Start

新規機能を追加する際は必ずこの規約を参照して、コードの整合性と再利用性を確保してください。

Frequently Asked Questions about blog-coding-conventions

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

FAQPage Schema
How do I structure Next.js MDX blog coding conventions for scalable architecture?

Structure Next.js MDX blog coding conventions by adopting Vertical Sliced Architecture to localize features, defining directory roles and import boundaries, and enforcing Container/Presentational component patterns for maintainable code.

What is Vertical Sliced Architecture for a Next.js blog?

Vertical Sliced Architecture is a structural pattern that organizes a Next.js blog by feature directories, localizing additions and modifications to isolate dependencies and guarantee scalable, maintainable code across the project.

How do I implement Container and Presentational components in Next.js with PandaCSS?

Implement Container and Presentational components by enforcing a dependency-free separation where containers manage data-fetching and asynchronous I/O, while presentational components handle PandaCSS styling and design tokens.

Can I use Next.js 16 cache components and use cache directives in my blog architecture?

Yes, you can use Next.js 16 cache components and the use cache directive to enforce cache usage, structured file organization, and non-blocking asynchronous I/O across your MDX blog project.

How do I enforce ESLint import boundaries in a Next.js project?

Enforce ESLint import boundaries by defining strict directory roles within the src/ layer, preventing cross-feature imports and ensuring dependency-free container and presentational component separation.

What are the limitations of using design tokens with PandaCSS in Next.js?

Limitations of using design tokens with PandaCSS involve strictly adhering to unified styling rules to maintain component reusability and accessibility, avoiding localized style overrides that break long-term architectural consistency.