AgentSkillsCN

website-spec

填写并维护网站规格说明书。在定义组件、文章类型、分类法、页面或其他规格章节时使用此功能。可通过“规格”“定义”“组件”“区块”“部分”“文章类型”“分类法”等关键词触发。

SKILL.md
--- frontmatter
name: website-spec
description: Fill in and maintain the website specification document. Use when defining components, post types, taxonomies, pages, or other spec sections. Trigger keywords: spec, define, component, block, partial, post type, taxonomy.

Website Spec

Workflows for filling in and maintaining .docs/_WEBSITE-SPEC.md.

Available Workflows

WorkflowUse Case
ComponentsDefine blocks and partials from screenshots/descriptions
Data StructureDefine post types, taxonomies, and fields
PagesDefine pages, routes, and templates

Spec Location

.docs/_WEBSITE-SPEC.md

Workflow Selection

When the user asks to:

Quick Component Definition

For rapid component definition, ask user for:

  1. Component name
  2. Screenshot (if available)
  3. Brief description

Then fill in the spec with:

  • Block or Partial designation
  • Description
  • Fields (with types)