# Interface CompositionStep

A single step in a skill composition.

interface CompositionStep {
stepNumber: number;
skillId: string;
skillName: string;
inputBinding: Record<string, InputBinding>;
purpose: string;
}

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:254

##### Index

### Properties

stepNumber
skillId
skillName
inputBinding
purpose

## Properties

### `Readonly` stepNumber

stepNumber: number

Step number (1-indexed)

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:256

### `Readonly` skillId

skillId: string

Skill to execute

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:258

### `Readonly` skillName

skillName: string

Skill name (for readability)

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:260

### `Readonly` inputBinding

inputBinding: Record<string, InputBinding>

How to bind input (from context or previous step)

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:262

### `Readonly` purpose

purpose: string

Description of what this step achieves

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:264