AGENT SKILL

agent-layout

Meta-skill for creating or refactoring Cursor subagents to the hybrid agent layout standard. Use when adding agents, reorganizing .cursor/agents/, or auditing agent collateral folders. Anti-trigger: do not replace skill-layout for skills; do not implement product features.

License 许可
MIT
最近更新
2026-07-24
Stars
★ 0
Forks
0

01 前言 Front Matter

name
agent-layout
description
Meta-skill for creating or refactoring Cursor subagents to the hybrid agent layout standard. Use when adding agents, reorganizing .cursor/agents/, or auditing agent collateral folders. Anti-trigger: do not replace skill-layout for skills; do not implement product features.

02 资源文件 4

03 SKILL.md 正文

Agent Layout Standard

Canonical: .cursor/standards/agent-layout/STANDARD.md

Cursor constraint

Subagents must be flat .cursor/agents/<name>.md — Cursor does not load nested folders as agents.

Hybrid layout

.cursor/agents/
├── <name>.md              # ENTRY (≤65 lines)
└── <name>/
    ├── references/
    ├── scripts/           # optional
    └── assets/            # output templates

Entry file must have

  • YAML: name, description (+ anti-triggers), optional model / readonly / is_background
  • Links to _shared/references/gold-standard-contract.md
  • Workflow steps pointing at <name>/references/
  • Output template in <name>/assets/

Validate

.cursor/standards/agent-layout/scripts/validate-agents.sh

Authoring

See also

Related surfaces

Surface Path
Agents .cursor/agents/
Skills .cursor/skills/
Rules .cursor/rules/
Hooks .cursor/hooks.json + .cursor/hooks/
Kiro .kiro/agents/default.json

04 同仓库更多 Skills