feat: добавить skill для SLM Design
All checks were successful
CI/CD Pipeline / build (push) Successful in 43s
CI/CD Pipeline / docker (push) Successful in 1m18s
CI/CD Pipeline / deploy (push) Successful in 6s

- добавлена сборка 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:
2026-05-22 23:23:14 +03:00
parent bdb99ade62
commit 9a962f37b5
13 changed files with 1186 additions and 164 deletions

View File

@@ -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',