Geum Development
Workflows for the Geum WordPress theme framework.
Available Workflows
| Workflow | Use Case |
|---|---|
| Components | Scaffold, build, and use components |
| Patterns | CSS architecture, colors, spacing, layout |
| Testing | Test PHP and frontend changes |
| Setup | Build from website spec (post types, taxonomies, routes) |
Quick Reference
Project Structure
- •
Geum/- Core framework classes - •
Theme/- Custom theme functionality - •
components/- Component source files - •
public/- Built assets
Key Commands
bash
npm run dev # Start Vite dev server npm run build # Production build npm run fix # Fix linting issues
Debug Log Location
code
../../debug.log # Relative to theme root
Site URL
Check the local WordPress URL in .env
Workflow Selection
When the user asks to:
- •Scaffold component or build component from spec → Use components.md
- •CSS patterns or colors/spacing/layout → Use patterns.md
- •Test changes or check for errors → Use testing.md
- •Create post type/taxonomy/route → Use setup.md
Website Spec
The project spec lives at .docs/_WEBSITE-SPEC.md. Read this first when:
- •Setting up a new project
- •Adding post types, taxonomies, or routes
- •Understanding the data structure