π GeneralUpdate Agent Skills Suite
Claude Code Skill Suite β Helps .NET developers integrate the GeneralUpdate auto-update system into any .NET application in 5 minutes.
Covers 50+ real-world issues discovered through GitHub/Gitee, providing production-ready code generation + deep troubleshooting.
Current Version: 0.0.2-beta.1 β targets NuGet
GeneralUpdate.Core 10.5.0-beta.7
Compatibility:v10.5.0-beta.7(latest NuGet preview release)
All templates have passeddotnet buildverification (0 errors).
π What is an Agent Skill?β
An Agent Skill is a reusable instruction template that gives AI coding assistants domain-specific knowledge and standardized workflows.
In one sentence: Skill = domain expert knowledge + standardized workflow, injected into the AI assistant so it can handle that domain like an experienced developer.
What problem does Skill solve?β
Without a Skill, asking an AI assistant to help with GeneralUpdate integration requires:
- Explaining the dual-process architecture, API, strategies in detail β every single time
- Repeating this background knowledge in each conversation
- Risk of missing edge cases, security considerations in generated code
With a Skill:
- A single command (e.g.,
/generalupdate-init) triggers the complete workflow - AI automatically loads domain knowledge (architecture, API, known issues, best practices)
- Output is standardized, production-verified code
This suite contains 7 Skillsβ
| Skill | One-line description |
|---|---|
generalupdate-init | Scaffold dual projects + Bootstrap config from scratch |
generalupdate-ui | Auto-detect UI framework, generate full-state update window |
generalupdate-strategy | Choose the optimal update strategy (OSS/Silent/Diff/etc.) |
generalupdate-advanced | Bowl crash daemon, IPC, Pipeline, custom Hooks |
generalupdate-troubleshoot | Diagnose 50+ known issues, match fix solutions |
generalupdate-migration | v9.x β v10 / dev-branch β stable migration |
generalupdate-security-audit | 14 security checks + remediation recommendations |
π¦ Installing Skillsβ
Get the Skill Filesβ
All Skill files are hosted in a dedicated repository:
https://github.com/GeneralLibrary/generalupdate-skill-codegen
Repository structure:
generalupdate-skill-codegen/
βββ SKILL.md β Suite entry point
βββ .claude/skills/
βββ generalupdate-init/ β π Integration Guide
βββ generalupdate-ui/ β π¨ UI Generation
βββ generalupdate-strategy/ β βοΈ Strategy Guide
βββ generalupdate-advanced/ β π§ Advanced Customization
βββ generalupdate-troubleshoot/ β π©Ί Troubleshooting
βββ generalupdate-migration/ β π Migration Guide
βββ generalupdate-security-audit/ β π Security Audit
Option 1: Clone directly into your projectβ
# Run in your project root
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
Option 2: Git submodule (recommended for teams)β
# Run in your project root
git submodule add https://github.com/GeneralLibrary/generalupdate-skill-codegen.git .claude/generalupdate-skill-codegen
ln -s .claude/generalupdate-skill-codegen/.claude/skills .claude/skills 2>/dev/null || \
cp -r .claude/generalupdate-skill-codegen/.claude/skills .claude/
Benefit of submodule:
git submodule update --remotepulls the latest Skill updates.
Option 3: Copy only what you needβ
# 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
π€ Integration with Various AI Coding Assistantsβ
This suite supports the following AI coding assistants. Choose the integration method based on your tool:
Claude Code (Desktop / CLI)β
Desktop:
- Place the
.claude/skills/directory in your project root (see installation steps above) - Restart Claude Code desktop
- Type
/generalupdate-initto use
CLI:
- Place the
.claude/skills/directory in your project root - Restart Claude Code CLI
- Type
/generalupdate-initto test
Verification: Type
/generalupdate-initβ if you see the integration guide output, installation was successful.
GitHub Copilot (VS Code)β
Install via .github/copilot-instructions.md (or project instructions):
- Extract the core instructions from
generalupdate-skill-codegen/SKILL.md - Place them in
.github/copilot-instructions.mdin your project root - Or add the skill repository as a Copilot knowledge base in GitHub repository settings
Note: GitHub Copilot uses instructions rather than slash commands, so Skill content needs to be reformatted as instructions.
Cursorβ
Cursor supports .cursorrules files, similar to Claude Code skills:
- Create or edit
.cursorrulesin your project root - Append the core instructions from the needed Skill (e.g.,
generalupdate-init/SKILL.md) - Or use Cursor's Docs feature to add the skill-codegen repo as a reference document
Windsurfβ
- Create a
.windsurfrulesfile in your project root - Embed the needed Skill knowledge into this file
- Reference: describe your requirements in conversation, the AI responds based on rules file knowledge
Cline / Continue.dev (VS Code Extensions)β
- Reference Skill knowledge in
.clinerulesor.continuerc - Or directly add Skill content to the project's AI rules file
DeepSeek / Tongyi Lingma / Other Chinese AI Assistantsβ
- Place an
AI_INSTRUCTIONS.mdorCODEGEN.mdfile in your project root - Write key Skill instructions in natural language into this file
- Reference this file as context when starting a conversation
β Verify Installationβ
Regardless of which AI assistant you use, the verification is the same:
Ask the AI: "Add auto-update to my .NET application"
If the AI outputs a GeneralUpdate dual-project structure + Bootstrap config code β Success
If the AI only gives generic suggestions β Needs more Skill context
Prerequisitesβ
- AI Coding Assistant: A tool that supports custom instructions/rules
- .NET SDK: Target project must be .NET 8+ (.NET 10 recommended)
- GeneralUpdate Server: For standard strategies, deploy GeneralSpacestation or a compatible backend service
- Dual-Process Architecture: Understand the Client + Upgrade dual-process concept
π§ Developer Integration Roadmapβ
Which situation are you in? Find your entry point and follow the steps:
| Your Scenario | Start Here | What to Do | Next Step After |
|---|---|---|---|
| π First time, starting from scratch | /generalupdate-init | β Pick integration mode β β‘ Generate Bootstrap β β’ Deploy | /generalupdate-ui (add UI) |
| π¨ Already integrated, need UI | /generalupdate-ui | β Auto-detect framework β β‘ Generate window β β’ Bridge events | /generalupdate-strategy (pick strategy) |
| βοΈ Need a strategy (OSS/Silent/Diff) | /generalupdate-strategy | β Decision tree β β‘ Configure server β β’ Example code | /generalupdate-init (config Bootstrap) |
| π§ Need advanced (Bowl/IPC/Hooks) | /generalupdate-advanced | β Pick extension β β‘ Generate template code β β’ Integrate | Deploy & verify |
| π©Ί Update failing/errors/exceptions | /generalupdate-troubleshoot | β Collect symptoms β β‘ Match known issues β β’ Fix | Return to relevant skill |
| π Have v9.x, need to migrate to v10 | /generalupdate-migration | Follow migration paths + API comparison table | /generalupdate-troubleshoot (check issues) |
| π Need security audit | /generalupdate-security-audit | 14 security checks + audit report | /generalupdate-init (fix findings) |
Skills Overviewβ
| Skill | Command | Description | Coverage |
|---|---|---|---|
| π generalupdate-init | /generalupdate-init | Dual-project scaffold + Bootstrap config (4 methods) | 4 update scenes + 4 config modes + full API |
| π¨ generalupdate-ui | /generalupdate-ui | Auto-detect UI framework, generate full-state update window (11 states) | 6 UI frameworks + full state machine + bridge code |
| βοΈ generalupdate-strategy | /generalupdate-strategy | 6 strategy decision tree + mixed combinations + platform differences | 6 strategies + 4 combinations + platform reference |
| π§ generalupdate-advanced | /generalupdate-advanced | 10+ extension points + 4 IPC + Bowl + AOT | 10+ extension points + architecture guide |
| π©Ί generalupdate-troubleshoot | /generalupdate-troubleshoot | 50+ known issue diagnosis + BM25 search engine | 8 Critical + 11 High + 20 Medium + 12 Low |
| π generalupdate-migration | /generalupdate-migration | v9.x β v10 / dev-branch β stable migration | 2 migration paths + API comparison table |
| π generalupdate-security-audit | /generalupdate-security-audit | Security audit + remediation | 14 security matrix + audit report template |
Quick Startβ
In your AI coding assistant, just describe your needs and the corresponding Skill will auto-activate:
"Add auto-update to my WPF application"
β Auto-activates generalupdate-init + generalupdate-ui
"Update succeeded but app crashes on startup"
β Auto-activates generalupdate-troubleshoot
"Configure OSS silent update"
β Auto-activates generalupdate-strategy
"Add Bowl crash daemon + custom Hooks"
β Auto-activates generalupdate-advanced
"Migrate my v9.x project to v10"
β Auto-activates generalupdate-migration
Generic Integration Verification Checklistβ
Regardless of which skill you use, check these items after integration:
Bootstrap Configurationβ
- All 6 required
UpdateRequestfields are set (UpdateUrl, AppSecretKey, MainAppName, ClientVersion, ProductId, InstallPath) -
UpdateUrlpoints to a server API that returns valid version info -
AppSecretKeylength β₯ 16 characters, consistent with server -
InstallPathpoints to the correct install directory (production:AppDomain.CurrentDomain.BaseDirectory) -
AppTypeis set correctly (Client = 1, Upgrade = 2)
NuGet & Buildβ
- Client and Upgrade projects use the exact same GeneralUpdate NuGet version
- Project builds with
dotnet build(0 errors)
Deployment Structureβ
- UpgradeApp.exe exists in the publish directory (required from first release)
-
generalupdate.manifest.jsonhasUpdateAppNameincluding.exe - IPC file (
UpdateInfo.msg) path is consistent between Client/Upgrade -
Encodingis set toEncoding.UTF8(prevents garbled text on Linux/macOS)
Data Sourcesβ
All skill content is based on real-world data:
- GitHub Issues: #308β#517 (refactoring, bugs, features, tests)
- Gitee Issues: 30 real user feedback (Chinese community pain points)
- Full Code Audit: 17 CRITICAL/HIGH + 14 MEDIUM + 10 INFO findings
- Samples Source Code: CompleteUpdateSample, SilentUpdateSample, OssSample, DifferentialSample, PushSample, BowlSample, ExtensionSample, CompressSample, ImDiskQuickInstallSample
- UI Samples: SemiUrsa, LayUI, AntdUI, WPFDevelopers, MauiUpdate, AndroidUpdate
Skill File Structureβ
.claude/skills/
βββ generalupdate-init/ (7 files)
β βββ SKILL.md
β βββ reference.md
β βββ templates/
β βββ MinimalIntegration.cs
β βββ FullIntegration.cs
β βββ generalupdate.manifest.json
β βββ project-scaffold/
β
βββ generalupdate-ui/ (10 files)
β βββ SKILL.md
β βββ templates/
β βββ RealDownloadService.cs
β βββ DownloadViewModels.cs
β βββ SemiUrsaClientView.axaml / SemiUrsaUpgradeView.axaml
β βββ LayUIStyle.xaml / WPFDevelopersStyle.xaml
β βββ AntdUIStyle.cs
β βββ MauiUpdatePage.xaml/.cs
β
βββ generalupdate-strategy/ (7 files)
β βββ SKILL.md
β βββ examples/
β βββ ClientServerStrategy.cs / OssStrategy.cs
β βββ SilentStrategy.cs / DifferentialStrategy.cs
β βββ CrossVersionStrategy.cs / PushStrategy.cs
β
βββ generalupdate-advanced/ (6 files)
β βββ SKILL.md
β βββ reference.md
β βββ templates/
β βββ CustomHooks.cs / CustomStrategy.cs
β βββ BowlIntegration.cs / NamedPipeIPC.cs
β
βββ generalupdate-troubleshoot/ (5+ files)
β βββ SKILL.md
β βββ reference.md β 50+ symptom checklist (C/H/M/L levels)
β βββ scripts/search.py β BM25 search engine
β βββ scripts/core.py β BM25 algorithm core
β βββ data/issues.csv β 51 known issues database
β
βββ generalupdate-migration/ (1 file)
β βββ SKILL.md β v9.xβv10 / dev-branchβstable migration
β
βββ generalupdate-security-audit/ (1 file)
βββ SKILL.md β 14 security audit matrix
API Compatibility Notesβ
β οΈ NuGet Reference Rules (v10.5.0-beta.7):
- Core only:
dotnet add package GeneralUpdate.Core --version 10.5.0-beta.7- With Bowl: reference both
GeneralUpdate.CoreandGeneralUpdate.Bowl(no type conflicts in v10.5.0-beta.7)- Differential is embedded in Core, no need for a separate
GeneralUpdate.Differentialreference
β οΈ API Surface: v10.5.0-beta.7 adopts a completely new configuration system:
- β
UpdateRequest/UpdateRequestBuilderβ replaces old Configinfo- β
SetSource(updateUrl, appSecretKey)β zero-config entry point- β
SetOption<T>(Option<T>, T)β programmable configuration system- β
IUpdateHooksβ lifecycle hooks (Hooks<T>())- β
IStrategyβ replaceable strategy interface (Strategy<T>())- β
UseDiffPipeline(Action<DiffPipelineBuilder>)β differential pipeline config- β
SilentPollOrchestratorβ silent polling- β
AddListenerProgressβ 7th event listener- β
Configinfoclass has been removed
Feedback & Suggestionsβ
If you encounter any issues or have suggestions for improvement, please submit an Issue:
- GitHub Issues: GeneralUpdate-Samples/issues β Report bugs, request features
- Skill Repository: generalupdate-skill-codegen/issues β Skill content issues and suggestions
- GeneralUpdate Issues: GeneralUpdate/issues β Core library bugs and feature requests
For faster resolution, please include:
- GeneralUpdate version (e.g. v10.5.0-beta.7)
- Platform (Windows / Linux / macOS)
- Update strategy (Standard / OSS / Silent / Differential / Push)
- Full error log (available from
Logs/generalupdate-trace-*.log)
Version Historyβ
0.0.2-beta.1 β 2026-06-16β
Updated for GeneralUpdate v10.5.0-beta.7 API:
- Configinfo β UpdateRequest (namespace:
GeneralUpdate.Core.Configuration) - Event args moved to
GeneralUpdate.Core.DownloadandGeneralUpdate.Core.Event - Added SetSource(), SetOption(),
Hooks<T>(),Strategy<T>()API coverage - Updated all strategy examples to use the new API
- Updated CustomHooks.cs and CustomStrategy.cs to show v10.5 capabilities
- Fixed IsComplated β IsCompleted
- NuGet version bumped to
10.5.0-beta.7 - Added 2 new skills: generalupdate-migration, generalupdate-security-audit
0.0.1-beta.1 β 2026-06-16β
Initial beta release. All templates rewritten for NuGet v10.4.6 stable API.
Related Projectsβ
- GeneralUpdate β .NET auto-update core library
- GeneralSpacestation β Update server
- generalupdate-skill-codegen β Agent Skills suite repository
- GeneralUpdate-Samples β Sample projects