---
title: "Templates"
description: "This directory contains templates and shared patterns for skill development."
canonical: "https://acs.synapti.ai/guides/skill-authoring/"
last_updated: "2026-11-12T14:18:28+01:00"
---

# Templates

Source: [templates/README.md](https://github.com/synaptiai/agent-capability-standard/blob/main/templates/README.md), commit 18c38b74ac21.

This directory contains templates and shared patterns for skill development.

## Available Templates

| Template | Purpose |
|----------|---------|
| `SKILL_TEMPLATE_ENHANCED.md` | Complete skill template with all sections |
| `output_contracts.md` | Quick reference for output contract types |
| `composition_patterns.md` | Patterns for composing skills into workflows |
| `verification_patterns.md` | Patterns for skill verification and testing |

## Creating a New Skill

1. Copy `SKILL_TEMPLATE_ENHANCED.md` to your skill directory:
   ```bash
   cp templates/SKILL_TEMPLATE_ENHANCED.md skills/<skill-name>/SKILL.md
   ```

2. Fill in required sections:
   - **Frontmatter**: name, layer, capabilities, inputs, outputs
   - **Description**: What the skill does
   - **Workflow**: Steps and bindings

3. Take valid capability names and their layers from
   `schemas/capability_ontology.yaml`

4. Use `output_contracts.md` for output type definitions. Each capability's
   full output schema is in the ontology, and `python tools/sync_skill_schemas.py`
   writes it to `skills/<name>/schemas/output_schema.yaml`

```mermaid
---
title: Creating a new skill
---
flowchart TB
  accDescr: A new skill starts as a copy of SKILL_TEMPLATE_ENHANCED.md, gets its required sections filled in, takes its capability names and layers from the ontology and its output types from output_contracts.md, has its output schema written by sync_skill_schemas.py, and is then validated.
  cp["Copy SKILL_TEMPLATE_ENHANCED.md to skills/name/SKILL.md"] --> fill["Fill in frontmatter, description and workflow"]
  fill --> names[Take capability names and layers from the ontology]
  names --> out["Use output_contracts.md for output types"]
  out --> sync["sync_skill_schemas.py writes the output schema"]
  sync --> val["Validate with validate_workflows.py"]
```

**Figure: Creating a new skill.** A new skill starts as a copy of SKILL_TEMPLATE_ENHANCED.md, gets its required sections filled in, takes its capability names and layers from the ontology and its output types from output_contracts.md, has its output schema written by sync_skill_schemas.py, and is then validated.

- Copy SKILL_TEMPLATE_ENHANCED.md to skills/name/SKILL.md → Fill in frontmatter, description and workflow
- Fill in frontmatter, description and workflow → Take capability names and layers from the ontology
- Take capability names and layers from the ontology → Use output_contracts.md for output types
- Use output_contracts.md for output types → sync_skill_schemas.py writes the output schema
- sync_skill_schemas.py writes the output schema → Validate with validate_workflows.py

## Composition Patterns

See `composition_patterns.md` for:
- Sequential composition
- Parallel execution
- Conditional branching
- Recovery loops
- Gate patterns

## Validation

After creating a skill, validate it:
```bash
python tools/validate_workflows.py
```
