AgentSkillsCN

geum-dev

Geum WordPress 主题开发工作流。适用于 PHP/前端变更测试、组件开发、基于网站规格搭建,或调试场景。常用关键词:测试、调试、组件、搭建、规格、文章类型、分类法、路由、geum。

SKILL.md
--- frontmatter
name: geum-dev
description: Geum WordPress theme development workflows. Use when testing PHP/frontend changes, creating components, building from website spec, or debugging. Trigger keywords: test, debug, component, setup, spec, post type, taxonomy, route, geum.

Geum Development

Workflows for the Geum WordPress theme framework.

Available Workflows

WorkflowUse Case
ScaffoldCreate component from spec (scaffold → fields → template → styles)
TestingTest PHP and frontend changes
ComponentsComponent patterns and usage
SetupBuild 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 scaffold.md
  • Test changes or check for errors → Use testing.md
  • Component patterns or how to use components → Use components.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