fix: restore SKILL.md citation metadata and remove superseded skills/ directory#282
Conversation
Agent-Logs-Url: https://github.com/openbiox/Bizard/sessions/b4b46f82-3faf-4030-9671-ce9e7e026783 Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
✅ QMD Format CheckNo new QMD tutorial files to check.
|
|
@copilot 整个 skill 目录是不是可以都删除了 包括文件 https://github.com/openbiox/Bizard/blob/main/skills/index.json 和 https://github.com/openbiox/Bizard/blob/main/skills/bizard_skills.json, action也完全没必要更新这一块了。 |
…workflow Agent-Logs-Url: https://github.com/openbiox/Bizard/sessions/7e187a25-bd0b-4f69-a722-6f7dd89266c0 Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Done in cd7c325. The entire
|
|
https://github.com/openbiox/Bizard/blob/main/Skills.qmd 和 https://github.com/openbiox/Bizard/blob/main/Skills.zh.qmd 也需要系统更新。检查仓库其他相关文件是不是也需要系统更新。 |
…l-spec.md, generate_skills.py, and quarto-publish.yml Agent-Logs-Url: https://github.com/openbiox/Bizard/sessions/832cf9d3-ce95-4de0-92b3-f440f2dcb88e Co-authored-by: ShixiangWang <25057508+ShixiangWang@users.noreply.github.com>
Done in b924ff4. Here's a summary of all files updated:
|
The auto-regeneration workflow was overwriting
SKILL.mdwithout acitationfield, stripping attribution metadata on every run. Additionally, theskills/directory (individual*_skill.mdfiles plusindex.jsonandbizard_skills.json) was no longer needed after the unifiedSKILL.mdapproach was adopted.Changes
SKILL.md— Restoredcitationfield in YAML frontmatter:generate_skills.py—generate_unified_skill()now accepts the in-memory skills list directly and writesSKILL.mdwithout producing any JSON or per-tutorial markdown output. Thecitationfield is included in every regeneration. Removed the now-unusedskill_filekey from all returned skill dicts.generate-skills.yml— Simplified to only generate and commitSKILL.md. Removed incremental file processing,--format/--outputarguments, and allskills/directory references.skill-command.yml— Removed thefilesdispatch input; the/skillcommand now always regenerates all tutorials.skills/— Entire directory removed: all 259 individual*_skill.mdfiles,skills/index.json, andskills/bizard_skills.json.Skills.qmd/Skills.zh.qmd— Systematic update: removed the interactive skills browser widget (which fetchedskills/index.json), removed JSON file download links, removed the redundant "Download Resources" section, updated allskill.mdreferences toSKILL.md(including#file:SKILL.mdhint and Quick start callout), and updated regeneration instructions.skill-spec.md— Updated "File Naming" section to describe the unifiedSKILL.mdoutput instead of individual per-tutorial files; removed the "JSON Index Format" section (skills/index.jsonandskills/bizard_skills.json); added a "Regenerating SKILL.md" section.quarto-publish.yml— Removed the stale- 'skills/**'entry frompaths-ignore..gitignore— Addedskills/to ignore the entire directory.