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
ComponentsScaffold, build, and use components
PatternsCSS architecture, colors, spacing, layout
TestingTest PHP and frontend changes
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 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