Markdown Converter
Agent skill for markdown-converter
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a blank WordPress child theme template for the Moiraine parent theme. It serves as a starting point for creating custom child themes. By default, it inherits ALL features from the parent theme. The child theme follows WordPress block theme standards (theme.json, FSE).
Parent Theme Location:
~/code/moiraine (local development setup)
functions.php only enqueues the child theme stylesheet - it does NOT replicate parent functionalitycomposer.json as "imagewize/moiraine": "*"style.css header declares Template: moiraineThe child theme's
theme.json is completely minimal - it starts with an empty palette array. WordPress automatically merges child theme.json with parent theme.json, so the child inherits everything by default.
Current child theme.json includes:
"palette": []How to customize:
theme.json only when neededParent theme.json provides (automatically inherited):
moiraine-child/ ├── theme.json # Blank template - empty palette array ├── style.css # Child theme header + any custom CSS ├── functions.php # Only stylesheet enqueuing ├── patterns/ # Custom block patterns (empty, ready for use) ├── styles/ # Style variations (empty, ready for use) ├── parts/ # Template part overrides (empty, ready for use) ├── assets/fonts/ # Custom fonts (if needed) ├── CHANGELOG.md # Version history ├── CLAUDE.md # This file └── README.md # User documentation
composer install
# PHP syntax check composer lint # WordPress Coding Standards scan composer wpcs:scan # Auto-fix WPCS issues composer wpcs:fix
To add brand-specific colors to this blank child theme:
~/code/moiraine/theme.json to see available color slugstheme.json:{ "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 3, "settings": { "color": { "palette": [ { "name": "Brand", "slug": "primary", "color": "#yourBrandColor" } ] } } }
patterns/ directoryfunctions.php:register_block_pattern_category('moiraine/features', array('label' => __('Features', 'moiraine-child')));
styles/ directory following theme.json schemaPlace HTML files in
parts/ to override parent:
parts/header.html - Custom headerparts/footer.html - Custom footerparts/sidebar.html - Custom sidebarThe child theme depends on the parent theme. WordPress will warn if parent is not available.
When syncing updates from parent theme:
~/code/moiraine/theme.json files - only merge new color definitions or features you wantfunctions.php for new features, but don't duplicate in childinc/ directory with block extensions - child doesn't need this