Function: getSkillName()
function getSkillName(
filePath: string,
frontmatter: Readonly<{
body: string;
content: string;
data: Readonly<UnknownRecord>;
error: string | undefined;
offset: number;
}> | null
): string;
Defined in: _internal/codex-customization-names.ts:50
Get the declared skill name, falling back to the directory name.
Parametersâ
| Parameter | Type |
|---|---|
filePath | string |
frontmatter |
Returnsâ
string