---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [skills](../index.md) / getSkillSource

# Function: getSkillSource()

> **getSkillSource**(`skillSet`): [`SkillSourceConfig`](../interfaces/SkillSourceConfig.md)

Defined in: [packages/b2c-tooling-sdk/src/skills/sources.ts:71](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/skills/sources.ts#L71)

Get the source configuration for a specific skill set.

## Parameters

### skillSet

[`SkillSet`](../type-aliases/SkillSet.md)

The skill set identifier ('b2c', 'b2c-cli', 'storefront-next', 'storefront-next-figma', or 'cap-dev')

## Returns

[`SkillSourceConfig`](../interfaces/SkillSourceConfig.md)

The source configuration for the skill set

## Throws

Error if the skill set is not recognized
