Skip to content
Development
Command

/add-content-json

Create a static JSON content file with schema and loading utilities.

shell
$ npx -y skills add LarouexNonprofitConsulting/larouex-fullstack-plugin --agent claude-code

Ships with larouex-fullstack-builder. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/add-content-json

Context preview

What this command does when you run it.

Create a static JSON content file with schema and loading utilities.

Command definition

add-content-json.md

Create a static JSON content file with schema and loading utilities.

Generate:

  • JSON content file in /data with proper structure
  • Versioning metadata (version number, last updated timestamp)
  • TypeScript interface matching the JSON schema
  • Content categories/sections organized logically
  • Content loading utility function in /lib/content
  • Cache busting with hash-based versioning
  • Content validation helper
  • Example of loading and using content in a component
  • Type-safe content access helpers

Include proper error handling for missing content, fallback values, and content transformation utilities. Structure the JSON for easy maintenance and i18n support if needed. Document the schema clearly.

Read it on GitHub โ†—
Ships withlarouex-fullstack-builder

A comprehensive Claude Code plugin with 81 commands and 12 specialized AI agents for building modern, full-stack web applications with Next.js 15, Azure, Railway, Bootstrap, and TypeScript.

Get the whole plugin, auto-invoked