Skip to content

fix(docs): rewrite agent-skills pages for newcomer-friendliness#129

Merged
JusterZhu merged 1 commit into
mainfrom
fix/skill-docs-newbie-rewrite
Jun 19, 2026
Merged

fix(docs): rewrite agent-skills pages for newcomer-friendliness#129
JusterZhu merged 1 commit into
mainfrom
fix/skill-docs-newbie-rewrite

Conversation

@JusterZhu

Copy link
Copy Markdown
Collaborator

概述

对所有 Agent Skills 文档页面做新手友好度优化,让第一次接触 GeneralUpdate 的开发者能快速理解和使用。

对应的 Issue:#128

修改清单

文件 改动
website/docs/agent-skills/overview.md 修复仓库引用、新增 Skill 概念、多工具集成指南
website/docs/agent-skills/generalupdate-init.md 全文重写 — 双进程解释、渐进代码、术语内联解释
website/docs/agent-skills/generalupdate-ui.md 全文重写 — Client/Upgrade 角色、4 关键状态
website/docs/agent-skills/generalupdate-strategy.md 全文重写 — 本质 3 问题、快速选择表、策略详解
4 个英文 i18n 文件 同步重写

不做改动

generalupdate-advanced/troubleshoot/migration/security-audit 面向前端已有经验的开发者,内容无需往新手方向调整。

验证

  • 所有页面在 Docusaurus dev server 上 HTTP 200 ✅
  • 8 个文件,+1096 / -1167 行

Overview: fix repo reference to generalupdate-skill-codegen, add
'What is an Agent Skill?' concept section, add multi-AI-tool
integration guide (Claude Code, Copilot, Cursor, Windsurf, etc.)

generalupdate-init: rewrite for beginners — explain dual-process
architecture, lead with inline term explanations, progressive code
examples (3-line first, full config second), table explains 'why'
each required field exists.

generalupdate-ui: rewrite for beginners — clarify Client vs Upgrade
role, simplify to 4 key states, add console progress bar example.

generalupdate-strategy: rewrite for beginners — explain strategy
essence (3 questions), quick picker table, per-strategy
use-case/flow/pros-cons layout.

English i18n: sync all changes.

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 19, 2026 07:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR rewrites the Agent Skills documentation to be more newcomer-friendly for first-time GeneralUpdate users, aligning with Issue #128 by adding clearer concepts, progressive examples, and tool integration guidance.

Changes:

  • Reworked Agent Skills overview pages to explain what a Skill is, list available skills, and document multi-assistant integration (Claude Code, GitHub Copilot, Cursor, etc.).
  • Rewrote generalupdate-init, generalupdate-ui, and generalupdate-strategy docs to focus on beginner mental models (dual-process roles, key UI states, strategy picker).
  • Synced equivalent rewrites into the English i18n docs.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
website/docs/agent-skills/overview.md Adds Skill concept explanation, new install options, and multi-assistant integration guidance.
website/docs/agent-skills/generalupdate-init.md Rewritten beginner integration guide with dual-process explanation + progressive setup examples.
website/docs/agent-skills/generalupdate-ui.md Simplifies UI guidance around Client/Upgrade roles and 4 key states, adds console example.
website/docs/agent-skills/generalupdate-strategy.md Reframes strategy selection around a quick picker + simplified strategy explanations.
website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/overview.md English sync of the overview rewrite and integration guidance.
website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-init.md English sync of the rewritten integration guide.
website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-ui.md English sync of the simplified UI guide and console example.
website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-strategy.md English sync of the rewritten strategy guide.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 81 to +85
# Run in your project root
mkdir -p .claude/skills
cp -r <samples-path>/src/Hub/Samples/tmpgeneralupdate-skill-codegen/.claude/skills/* .claude/skills/
cp <samples-path>/src/Hub/Samples/tmpgeneralupdate-skill-codegen/SKILL.md .claude/
git clone https://github.com/GeneralLibrary/generalupdate-skill-codegen.git
cp -r generalupdate-skill-codegen/.claude/skills .claude/
cp generalupdate-skill-codegen/SKILL.md .claude/
rm -rf generalupdate-skill-codegen
Comment on lines +102 to +105
# Copy only the skill you need
git clone https://github.com/GeneralLibrary/generalupdate-skill-codegen.git /tmp/gussc
cp -r /tmp/gussc/.claude/skills/generalupdate-init .claude/skills/
rm -rf /tmp/gussc
Comment on lines +132 to +135
Console.Write($"\rDownload progress: {e.ProgressPercentage}% ");
Console.Write($"[{new string('■', (int)(e.ProgressPercentage / 5))}");
Console.WriteLine($"{new string('□', 20 - (int)(e.ProgressPercentage / 5))}]");
Console.Write($"Speed: {e.Speed}/s");
Comment on lines 228 to 231
await new GeneralUpdateBootstrap()
.AddListenerException((_, e) =>
Console.WriteLine($"Error: {e.Message}"))
.LaunchAsync();
Comment on lines 81 to +85
# 在你的项目根目录下执行
mkdir -p .claude/skills
cp -r <samples-path>/src/Hub/Samples/tmpgeneralupdate-skill-codegen/.claude/skills/* .claude/skills/
cp <samples-path>/src/Hub/Samples/tmpgeneralupdate-skill-codegen/SKILL.md .claude/
git clone https://github.com/GeneralLibrary/generalupdate-skill-codegen.git
cp -r generalupdate-skill-codegen/.claude/skills .claude/
cp generalupdate-skill-codegen/SKILL.md .claude/
rm -rf generalupdate-skill-codegen
Comment on lines +102 to +105
# 只复制你需要的 skill
git clone https://github.com/GeneralLibrary/generalupdate-skill-codegen.git /tmp/gussc
cp -r /tmp/gussc/.claude/skills/generalupdate-init .claude/skills/
rm -rf /tmp/gussc
Comment on lines +133 to +136
Console.Write($"\r下载进度: {e.ProgressPercentage}% ");
Console.Write($"[{new string('■', (int)(e.ProgressPercentage / 5))}");
Console.WriteLine($"{new string('□', 20 - (int)(e.ProgressPercentage / 5))}]");
Console.Write($"速度: {e.Speed}/s");
Comment on lines 228 to 231
await new GeneralUpdateBootstrap()
.AddListenerException((_, e) =>
Console.WriteLine($"错误: {e.Message}"))
.LaunchAsync();
@JusterZhu JusterZhu merged commit 290c7b2 into main Jun 19, 2026
3 checks passed
@JusterZhu JusterZhu deleted the fix/skill-docs-newbie-rewrite branch June 19, 2026 07:51
@JusterZhu JusterZhu linked an issue Jun 19, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent Skills 文档新手友好度优化

2 participants