Empirically verified: oh-my-opencode-slim preset entries keyed to an APM-deployed native OpenCode agent (.opencode/agents/*.md) reconfigure it in place - model override works, no duplicate agents are created. - new optional role field 'agent_ref: <name>': persona (prompt, identity) comes from the APM primitive; cpm only resolves model_class locally and emits a preset entry under the deployed agent's name - validation: warns when agent_ref target is missing from .opencode/agents/ (apm install not run yet) and when 'purpose' is redundantly set on agent_ref roles - collision warning: inline roles shadowing deployed native agents suggest using agent_ref instead - microsoft-design-review example: reviewer role now uses agent_ref: design-reviewer, showcasing both role forms - README: new section on the relationship to APM agent primitives - blog-review.md: verified findings as material for a blog addendum
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
# team-profile.yaml – Design Review Team
|
||
# Roles based on the primitives from microsoft/apm-sample-package.
|
||
|
||
schema: corentic.team-profile/v1
|
||
|
||
id: acme.design-review
|
||
description: >
|
||
Team for structured design reviews: style-guideline checks,
|
||
design review per template and an accessibility audit under a
|
||
coordinating reviewer.
|
||
|
||
roles:
|
||
- id: orchestrator
|
||
purpose: >-
|
||
Takes review requests, distributes style check, design review and
|
||
accessibility audit and consolidates the findings into one report.
|
||
model_class: strong-generalist
|
||
capabilities:
|
||
mcps: []
|
||
skills: []
|
||
|
||
- id: reviewer
|
||
# persona (prompt, identity) comes from the APM-deployed primitive
|
||
# .opencode/agents/design-reviewer.md - created by 'apm install'
|
||
agent_ref: design-reviewer
|
||
model_class: high-reasoning
|
||
|
||
- id: style-checker
|
||
purpose: >-
|
||
Mechanically checks code against the style guidelines from the
|
||
style-checker skill. Returns a violation list with file/line.
|
||
No fixes.
|
||
runtime_agent: fixer # fast, targeted checks
|
||
model_class: fast-research
|
||
capabilities:
|
||
mcps: []
|
||
skills: [style-checker]
|
||
|
||
- id: accessibility-auditor
|
||
purpose: >-
|
||
Audits the surface according to accessibility-audit.prompt.md.
|
||
Categorizes violations (critical/warning/note) and quotes the
|
||
affected locations.
|
||
runtime_agent: librarian # research/review profile
|
||
model_class: fast-research
|
||
capabilities:
|
||
mcps: []
|
||
skills: []
|