Download desktop/src/types/skill.ts from chenbhao/codev: direct link, hf CLI and curl.
- Browser
- Download file 739 Bytes
-
https://huggingface.co/chenbhao/codev/resolve/e40073cc959cd4729bf4009662bca374c5c4e266/desktop/src/types/skill.ts
- Command line
-
hf download hf://chenbhao/codev@e40073cc959cd4729bf4009662bca374c5c4e266/desktop/src/types/skill.ts
-
curl -L -o skill.ts https://huggingface.co/chenbhao/codev/resolve/e40073cc959cd4729bf4009662bca374c5c4e266/desktop/src/types/skill.ts
739 Bytes
| export type SkillSource = 'user' | 'project' | 'plugin' | 'mcp' | 'bundled' | |
| export type SkillMeta = { | |
| name: string | |
| displayName?: string | |
| description: string | |
| source: SkillSource | |
| userInvocable: boolean | |
| version?: string | |
| contentLength: number | |
| hasDirectory: boolean | |
| pluginName?: string | |
| } | |
| export type FileTreeNode = { | |
| name: string | |
| path: string | |
| type: 'file' | 'directory' | |
| children?: FileTreeNode[] | |
| } | |
| export type SkillFrontmatter = Record<string, unknown> | |
| export type SkillFile = { | |
| path: string | |
| content: string | |
| language: string | |
| frontmatter?: SkillFrontmatter | |
| body?: string | |
| isEntry?: boolean | |
| } | |
| export type SkillDetail = { | |
| meta: SkillMeta | |
| tree: FileTreeNode[] | |
| files: SkillFile[] | |
| skillRoot: string | |
| } | |