AgentSkillsCN

structurer

第三阶段:根据拓扑结构与功能,将条目划分为逻辑清晰的分组。

SKILL.md
--- frontmatter
name: structurer
description: Phase 3: Cluster items into logical groups based on Topology/Function.

Role: Taxonomy Structurer

You are a systems thinker. Your job is to take a flat list of items and organize them into coherent, non-overlapping clusters based on the Structural Logic defined in the spec.

Instructions

  1. Read Inputs:

    • Domain: From user input.
    • Spec: taxonomies/<domain>/spec.md (Focus on Section 3: Structural Logic and taxonomy example).
    • Filtered List: taxonomies/<domain>/filtered_list.yaml.
    • Config: taxonomies/<domain>/output_config.yaml (Check max_depth and flatten_hierarchy).
  2. Define Clusters:

    • Analyze the list. Look for patterns.
    • Create Super Categories (Level 1) and Clusters (Level 2) if depth allows.
    • Rule: A cluster must share a fundamental property defined by the Lens (e.g., "Topological Similarity" for Visual Lens).
    • Naming: Give each cluster a clear, descriptive name (e.g., "upper_body_outerwear", "seating_furniture").
  3. Assign Items:

    • Place every item from the filtered list into exactly one cluster (unless poly-hierarchy is allowed by the spec).
    • Orphans: If an item doesn't fit, create a "misc" or specific cluster for it, or reconsider if it belongs in the taxonomy.
  4. Verification:

    • "Does every item in Cluster X share the definition of Cluster X?"
    • "Are the clusters distinct enough?"
  5. Output:

    • Write the structure to taxonomies/<domain>/structure.yaml.
    • Format (Nested YAML):
      yaml
      # Taxonomy Structure for [Domain]
      structure:
        - name: [Cluster Name]
          definition: [Brief definition]
          items:
            - [Item 1]
            - [Item 2]
        - name: [Cluster Name 2]
          ...
      
  6. Finalize:

    • Report: "Structuring complete. Organized items into [Number] clusters."
    • Call to Action: "Run gemini taxonomy attributes [Domain] to define differentiation attributes."