Add files via upload

This commit is contained in:
公明
2026-04-19 01:13:31 +08:00
committed by GitHub
parent 389fc971c6
commit 5c444afe06
4 changed files with 386 additions and 85 deletions
+26 -5
View File
@@ -719,9 +719,18 @@
"pathLabel": "Path:",
"modTimeLabel": "Modified:",
"contentLabel": "Content:",
"cardVersion": "v{{version}}",
"cardScripts": "{{count}} script(s)",
"cardFiles": "{{count}} file(s)",
"versionLabel": "Version:",
"scriptsHeading": "Scripts:",
"summaryHint": "(summary — load full body if needed)",
"loadFullBody": "Load full body",
"loadFullFailed": "Failed to load full skill body",
"nameRequired": "Skill name is required",
"contentRequired": "Skill content is required",
"nameInvalid": "Skill name can only contain letters, numbers, hyphens and underscores",
"nameInvalid": "Use lowercase letters, digits, and hyphens only (Agent Skills name rules)",
"descriptionRequired": "Description is required (written to SKILL.md front matter)",
"saveSuccess": "Skill updated",
"createdSuccess": "Skill created",
"deleteConfirm": "Are you sure you want to delete skill \"{{name}}\"? This cannot be undone.",
@@ -1470,12 +1479,24 @@
"editSkill": "Edit Skill",
"skillName": "Skill name",
"skillNamePlaceholder": "e.g. sql-injection-testing",
"skillNameHint": "Letters, numbers, hyphens and underscores only",
"skillNameHint": "Lowercase letters, digits, hyphens (Agent Skills name)",
"description": "Description",
"descriptionPlaceholder": "Short description",
"contentLabel": "Content (Markdown)",
"contentPlaceholder": "Enter skill content in Markdown...",
"contentHint": "YAML front matter supported (optional), e.g.:"
"descriptionHint": "Maps to the description field in SKILL.md YAML (when creating/editing SKILL.md)",
"packageFiles": "Package files",
"editingFile": "Editing",
"newFile": "New file",
"newFilePlaceholder": "Relative path, e.g. FORMS.md or scripts/extra.sh",
"newFilePathRequired": "Enter a path for the new file",
"newFilePathInvalid": "Invalid path (no .. or absolute paths)",
"noPackageFiles": "No files listed",
"unsavedSwitch": "You have unsaved changes. Switch file anyway?",
"contentLabel": "Content",
"contentPlaceholder": "Edit the selected file…",
"contentPlaceholderAdd": "SKILL.md body only (front matter is generated)…",
"bodyHintEdit": "For SKILL.md this is the body only (no --- header); save merges with name/description into standard SKILL.md.",
"contentHintAdd": "Creates standard SKILL.md (YAML front matter + body). Drop open-source skill folders into skills/ as-is.",
"contentHint": "See Claude Agent Skills format"
},
"knowledgeItemModal": {
"addKnowledge": "Add knowledge",
+26 -5
View File
@@ -719,9 +719,18 @@
"pathLabel": "路径:",
"modTimeLabel": "修改时间:",
"contentLabel": "内容:",
"cardVersion": "v{{version}}",
"cardScripts": "{{count}} 个脚本",
"cardFiles": "{{count}} 个文件",
"versionLabel": "版本:",
"scriptsHeading": "脚本:",
"summaryHint": "(摘要 — 可加载完整正文)",
"loadFullBody": "加载完整正文",
"loadFullFailed": "加载完整正文失败",
"nameRequired": "skill名称不能为空",
"contentRequired": "skill内容不能为空",
"nameInvalid": "skill名称只能包含字母、数字、连字符和下划线",
"nameInvalid": "目录名须为小写字母、数字与连字符(与 Agent Skills 的 name 一致)",
"descriptionRequired": "描述不能为空(将写入 SKILL.md 的 front matter)",
"saveSuccess": "skill已更新",
"createdSuccess": "skill已创建",
"deleteConfirm": "确定要删除skill \"{{name}}\" 吗?此操作不可恢复。",
@@ -1470,12 +1479,24 @@
"editSkill": "编辑Skill",
"skillName": "Skill名称",
"skillNamePlaceholder": "例如: sql-injection-testing",
"skillNameHint": "只能包含字母、数字、连字符和下划线",
"skillNameHint": "小写字母、数字、连字符(与 Agent Skills 的 name 一致)",
"description": "描述",
"descriptionPlaceholder": "Skill的简短描述",
"contentLabel": "内容(Markdown格式)",
"contentPlaceholder": "输入skill内容,支持Markdown格式...",
"contentHint": "支持YAML front matter格式(可选),例如:"
"descriptionHint": "对应 SKILL.md 中 YAML 的 description 字段(创建/编辑 SKILL.md 时使用)",
"packageFiles": "包内文件",
"editingFile": "正在编辑",
"newFile": "新建文件",
"newFilePlaceholder": "新文件路径,如 FORMS.md 或 scripts/extra.sh",
"newFilePathRequired": "请填写新文件路径",
"newFilePathInvalid": "路径无效(禁止 .. 与绝对路径)",
"noPackageFiles": "未列出文件",
"unsavedSwitch": "当前文件有未保存修改,确定切换?",
"contentLabel": "内容",
"contentPlaceholder": "编辑当前选中的文件…",
"contentPlaceholderAdd": "SKILL.md 正文(无需手写 YAML 头)…",
"bodyHintEdit": "当前为 SKILL.md 的正文部分(不含 --- 头);保存时会合并名称/描述生成标准 SKILL.md。",
"contentHintAdd": "保存后生成标准 SKILL.md(YAML front matter + 正文)。开源技能目录可直接放入 skills/ 使用。",
"contentHint": "标准格式见 Claude Agent Skills 文档"
},
"knowledgeItemModal": {
"addKnowledge": "添加知识",