feat: добавить skill для SLM Design
- добавлена сборка self-contained skill для Claude Code и opencode - добавлен install-ready архив skill в public/slm-design/skill - обновлена карточка SLM Design с меню действий открыть/скачать - добавлен static fallback главной страницы из общего конфига - подключены Mantine Menu и Phosphor Icons для действий карточки
This commit is contained in:
@@ -3,6 +3,23 @@ export type DocLink = {
|
||||
href: string
|
||||
}
|
||||
|
||||
export type DocAction = {
|
||||
label: string
|
||||
href: string
|
||||
}
|
||||
|
||||
export type DocActionGroup = {
|
||||
title: string
|
||||
actions: DocAction[]
|
||||
}
|
||||
|
||||
export type DocActionCollection = DocAction[] | DocActionGroup[]
|
||||
|
||||
export type DocActionGroups = {
|
||||
open?: DocActionCollection
|
||||
download?: DocActionCollection
|
||||
}
|
||||
|
||||
export type DocCard = {
|
||||
title: string
|
||||
label: string
|
||||
@@ -12,6 +29,7 @@ export type DocCard = {
|
||||
status: string
|
||||
accent: string
|
||||
links: DocLink[]
|
||||
actionGroups?: DocActionGroups
|
||||
}
|
||||
|
||||
export const docs: DocCard[] = [
|
||||
@@ -23,10 +41,44 @@ export const docs: DocCard[] = [
|
||||
href: '/slm-design/',
|
||||
status: 'Доступно',
|
||||
accent: 'violet',
|
||||
links: [
|
||||
{ label: 'llms.txt', href: '/slm-design/llms.txt' },
|
||||
{ label: 'llms-full.txt', href: '/slm-design/llms-full.txt' },
|
||||
],
|
||||
links: [],
|
||||
actionGroups: {
|
||||
open: [
|
||||
{
|
||||
title: 'Читать',
|
||||
actions: [
|
||||
{ label: 'SLM Документация', href: '/slm-design/' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Skill для CLI-агентов',
|
||||
actions: [
|
||||
{ label: 'slm-design/SKILL.md', href: '/slm-design/skill/.opencode/skills/slm-design/SKILL.md' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'AI агентам',
|
||||
actions: [
|
||||
{ label: 'llms.txt', href: '/slm-design/llms.txt' },
|
||||
{ label: 'llms-full.txt', href: '/slm-design/llms-full.txt' },
|
||||
],
|
||||
},
|
||||
],
|
||||
download: [
|
||||
{
|
||||
title: 'Документация MD',
|
||||
actions: [
|
||||
{ label: 'slm-design.zip', href: '/slm-design/slm-design.zip' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Skills (Claude code / OpenCode)',
|
||||
actions: [
|
||||
{ label: 'slm-design.skill.zip', href: '/slm-design/skill/slm-design.skill.zip' },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
title: 'NextJS Style Guide',
|
||||
|
||||
Reference in New Issue
Block a user