From c74a0089d0cbc219bba054ed1b83884eb9669537 Mon Sep 17 00:00:00 2001
From: Jesse <15653378+squarezw@user.noreply.gitee.com>
Date: Wed, 16 Sep 2026 11:12:28 +0800
Subject: [PATCH] perf(skills): return list summaries only
---
app/apps/components/AppSkillsSection.tsx | 2 +-
app/skills/page.tsx | 12 ++++++------
test/skillListSummary.test.ts | 17 +++++++++++++++++
types/skill.ts | 4 ++++
4 files changed, 28 insertions(+), 7 deletions(-)
create mode 100644 test/skillListSummary.test.ts
diff --git a/app/apps/components/AppSkillsSection.tsx b/app/apps/components/AppSkillsSection.tsx
index bfec4bd..02c3c96 100644
--- a/app/apps/components/AppSkillsSection.tsx
+++ b/app/apps/components/AppSkillsSection.tsx
@@ -267,7 +267,7 @@ function BindSkillsDialog({
) : (
{available.map((skill) => {
- const isPublished = skill.published_content !== null;
+ const isPublished = skill.is_published === true;
return (