Skill Registry & Multi-Agent Gate Patterns
This guide extends the AEEF orchestration model with a governed skills layer. It defines how orchestrators validate skills before agent execution and how skill usage is tied to stage gates, human approvals, and audit evidence.
Use this page with:
- PRD-STD-009: Autonomous & Multi-Agent Governance
- PRD-STD-017: Agent Skills Catalog Governance
- Skills Catalog Enterprise Usage
Why Add a Skills Layer to Orchestration
The base orchestration model controls agent identity and stage order. A skills layer adds control over what reusable execution units agents are allowed to invoke.
Without this layer, a compliant agent can still run an unsafe skill or an unreviewed community workflow.
Core Design Pattern
Every agent execution request passes through four checks:
- Agent Contract Check — Is the agent allowed to perform this class of work?
- Skill Registry Check — Is the skill registered, approved, and in policy scope?
- Execution Policy Check — Is the skill allowed for this stage, role, and environment?
- Gate Binding Check — Are required gates attached before downstream promotion?
Minimum Orchestrator Skill Gate
skill_gate:
requested_by_agent: developer-agent
stage: implementation
environment: dev
requested_skill:
skill_id: aeef.dev.secure-endpoint-template
version: 1.0.0
checks:
agent_contract_allows_skill_category: true
skill_registered: true
skill_status: provisional
role_allowed: true
environment_allowed: true
required_gates_attached:
- code-review
- testing
- security-scan
decision: allow_with_conditions
human_approval_required: false
Stage-by-Stage Skill Gate Mapping
| Stage | Typical Skills | Required Controls | Human Escalation Trigger |
|---|---|---|---|
| Requirements | story hardening, acceptance criteria drafting | role scope, prompt/output template checks | risk tier ambiguity |
| Design | architecture review, handoff generation | architect-only skills, pattern allowlist | architecture-impacting changes |
| Implementation | scaffolding, test generation, refactor assistance | code review + test gates attached | command execution outside allowlist |
| Testing | test matrix, regression analysis | evidence logging, non-destructive execution | failing tests with suggested risky fixes |
| Security/Compliance | secure review, dependency checks, evidence assembly | sensitive skill classification + role gating | critical findings / restricted data |
| Deployment | manifest checks, rollout validation | production-deny by default for skill execution | any prod command or infra mutation |
| Operations | triage summarization, incident templates | read-only runtime tools unless incident mode | rollback or config mutation |
Multi-Agent Handoff Rule for Skills
When a skill is used, the handoff artifact SHOULD include:
skill-idskill-version- purpose of use
- output artifacts produced
- required gates attached
- residual risks introduced by skill assumptions
Handoff Extension Example
handoff_skill_usage:
skill_id: aeef.test.risk-matrix
skill_version: 1.1.0
usage_purpose: generate risk-based integration test matrix
outputs:
- tests/risk-matrix.md
required_gates_bound:
- testing
- code-review
residual_risks:
- "Missing domain-specific negative tests unless QA agent augments matrix"
Vibe Coding Control Pattern (Agent + Skills)
AEEF does not ban fast AI-assisted workflows; it requires they are controlled.
Controlled Vibe Coding Pattern
- Developer starts from approved skill catalog.
- Orchestrator validates skill scope and required gates.
- Developer-agent runs skill with constrained tools.
- QA/security skills run as required by gate bindings.
- Human review remains mandatory for production-bound code.
Anti-Pattern (Disallowed)
- importing community skills directly into production agents
- letting skills run unrestricted commands
- skipping review because the skill is "trusted"
- omitting attribution for externally sourced skills
Enterprise Rollout Sequence
- Add skill registry fields to agent run records.
- Enable skill gate validation in dev/staging only.
- Require gate binding for implementation and security skills.
- Block unregistered skills for production-bound workflows.
- Add deprecation enforcement for revoked skills.
Metrics to Track
- skill execution count by
skill-id - skill gate deny rate
- provisional-to-approved conversion rate
- incidents involving skill-enabled workflows
- % of PRs with
skill-idtraceability metadata