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
- 资产文件assets/TEMPLATE-AGENT.md766 B
- 参考文档references/checklist.md1.1 KB
- 参考文档references/cli-headless-wrappers.md2.0 KB
- 脚本scripts/validate.sh173 B
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), optionalmodel/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
- Template:
assets/TEMPLATE-AGENT.md - Checklist:
references/checklist.md— inventories must sync in the same change - CLI wrappers:
references/cli-headless-wrappers.md - Skills counterpart:
.cursor/skills/skill-layout/
See also
skill-layout— skill folder standardclaude-code-layout—.claude/sync/validate- Agent families:
../../agents/_shared/references/agent-families.md
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
escape-skill
暂无简介
zz-review-empty
暂无简介
workflow-guide
Explicit helper for Cursor PM ↔ Claude Code two-agent workflow guidance. Do NOT load for: solo implementation, workflow setup, handoff execution, or general process coaching.
vibecoder-guide
Explicit helper for non-technical VibeCoder coaching: what to ask next, how to describe work, and how to stay safe. Do NOT load for: direct implementation, technical review, or Cursor/PM workflow.
ui
Explicit helper for UI components, hero sections, forms, feedback, and contact surfaces. Do NOT load for: authentication, backend implementation, database work, or business logic.
session
Unified session management window. Handles initialization, memory, state all-in-one. Explicit /session invocation only — sub-skills handle auto-delegation. Use when managing Claude Code sessions, /session command. Do NOT load for: app user sessions, login state, authentication features.