AgentSkillsCN

meta-structure-organizer

将功能合理归类,划分为命令、技能或智能体。 适用场景: - “这应该算作技能吗?” - “是命令还是智能体?” - “如何为这个功能进行结构化设计” - “它应该属于哪一类?” - “技能 vs 命令” - 结构与架构的决策 不适用场景: - 真正的实现阶段(应使用生成的规范来代替) - 与结构设计无关的常规编码任务

SKILL.md
--- frontmatter
name: meta-structure-organizer
description: |
  Organize features into the right structure: Command, Skill, or Agent.
  
  USE WHEN: 
  - "should this be a skill?"
  - "command or agent?"
  - "how to structure this feature"
  - "what type should this be"
  - "skill vs command"
  - structure/architecture decisions
  
  DO NOT USE WHEN:
  - Actually implementing (use the generated spec instead)
  - General coding tasks unrelated to structure design

Structure Organizer

Organize features into the right structure: Command, Skill, or Agent for AI coding assistants.

Quick Reference

ComponentTriggerReasoningExecutionUse When
CommandHuman /commandNoneFixed procedureExplicit user trigger needed
SkillAuto-load on keywordsNoneNo execution (knowledge)Domain expertise to share
AgentGoal assignedLLM decidesDynamic, iterativeMulti-step planning required

Workflow Routing

IntentWorkflow
Analyze a feature requestworkflows/analyze.md
Generate spec templateworkflows/generate-spec.md

Core Resources

ResourcePurpose
Decision TreePrimary decision logic
Criteria MatrixDetailed comparison criteria
Boundary Cases12 common confusions
Combination PatternsMulti-component architectures
TemplatesSpec templates for each type

Combination Patterns

Most real features need multiple component types. Common patterns:

PatternStructureUse When
Command + AgentEntry → ExecutorUser triggers complex work
Agent + SkillsExecutor + KnowledgeAgent needs domain expertise
Command + SkillsEntry + KnowledgeProcedure needs domain knowledge
Full StackCommand → Agent → Skills → ToolsComplete feature

See combination-patterns.md for details.

Output

This skill outputs:

  1. Diagnosis - Component type (Command / Skill / Agent / Combination)
  2. Spec Template - Filled template from references/templates/
  3. Rationale - Why this type, why not others

Note: This skill diagnoses what type to use. Implementation is handled by the calling Command.

Platform Support

PlatformCommandsSkillsAgents
Claude Code.claude/commands/*.md.claude/skills/*/SKILL.mdSubagent via Task
OpenCode.opencode/commands/*.mdskills/*/SKILL.mdagents/*.md
Cursor.cursor/commands/*.md.cursor/rules/*.mdxAgent mode