Skip to main content

πŸš€ 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 passed dotnet build verification (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:

  1. Explaining the dual-process architecture, API, strategies in detail β€” every single time
  2. Repeating this background knowledge in each conversation
  3. Risk of missing edge cases, security considerations in generated code

With a Skill:

  1. A single command (e.g., /generalupdate-init) triggers the complete workflow
  2. AI automatically loads domain knowledge (architecture, API, known issues, best practices)
  3. Output is standardized, production-verified code

This suite contains 7 Skills​

SkillOne-line description
generalupdate-initScaffold dual projects + Bootstrap config from scratch
generalupdate-uiAuto-detect UI framework, generate full-state update window
generalupdate-strategyChoose the optimal update strategy (OSS/Silent/Diff/etc.)
generalupdate-advancedBowl crash daemon, IPC, Pipeline, custom Hooks
generalupdate-troubleshootDiagnose 50+ known issues, match fix solutions
generalupdate-migrationv9.x β†’ v10 / dev-branch β†’ stable migration
generalupdate-security-audit14 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
# 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 --remote pulls 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:

  1. Place the .claude/skills/ directory in your project root (see installation steps above)
  2. Restart Claude Code desktop
  3. Type /generalupdate-init to use

CLI:

  1. Place the .claude/skills/ directory in your project root
  2. Restart Claude Code CLI
  3. Type /generalupdate-init to 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):

  1. Extract the core instructions from generalupdate-skill-codegen/SKILL.md
  2. Place them in .github/copilot-instructions.md in your project root
  3. 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:

  1. Create or edit .cursorrules in your project root
  2. Append the core instructions from the needed Skill (e.g., generalupdate-init/SKILL.md)
  3. Or use Cursor's Docs feature to add the skill-codegen repo as a reference document

Windsurf​

  1. Create a .windsurfrules file in your project root
  2. Embed the needed Skill knowledge into this file
  3. Reference: describe your requirements in conversation, the AI responds based on rules file knowledge

Cline / Continue.dev (VS Code Extensions)​

  1. Reference Skill knowledge in .clinerules or .continuerc
  2. Or directly add Skill content to the project's AI rules file

DeepSeek / Tongyi Lingma / Other Chinese AI Assistants​

  • Place an AI_INSTRUCTIONS.md or CODEGEN.md file 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​

  1. AI Coding Assistant: A tool that supports custom instructions/rules
  2. .NET SDK: Target project must be .NET 8+ (.NET 10 recommended)
  3. GeneralUpdate Server: For standard strategies, deploy GeneralSpacestation or a compatible backend service
  4. 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 ScenarioStart HereWhat to DoNext 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 β†’ β‘’ IntegrateDeploy & verify
🩺 Update failing/errors/exceptions/generalupdate-troubleshootβ‘  Collect symptoms β†’ β‘‘ Match known issues β†’ β‘’ FixReturn to relevant skill
πŸ”„ Have v9.x, need to migrate to v10/generalupdate-migrationFollow migration paths + API comparison table/generalupdate-troubleshoot (check issues)
πŸ”’ Need security audit/generalupdate-security-audit14 security checks + audit report/generalupdate-init (fix findings)

Skills Overview​

SkillCommandDescriptionCoverage
πŸš€ generalupdate-init/generalupdate-initDual-project scaffold + Bootstrap config (4 methods)4 update scenes + 4 config modes + full API
🎨 generalupdate-ui/generalupdate-uiAuto-detect UI framework, generate full-state update window (11 states)6 UI frameworks + full state machine + bridge code
βš™οΈ generalupdate-strategy/generalupdate-strategy6 strategy decision tree + mixed combinations + platform differences6 strategies + 4 combinations + platform reference
πŸ”§ generalupdate-advanced/generalupdate-advanced10+ extension points + 4 IPC + Bowl + AOT10+ extension points + architecture guide
🩺 generalupdate-troubleshoot/generalupdate-troubleshoot50+ known issue diagnosis + BM25 search engine8 Critical + 11 High + 20 Medium + 12 Low
πŸ”„ generalupdate-migration/generalupdate-migrationv9.x β†’ v10 / dev-branch β†’ stable migration2 migration paths + API comparison table
πŸ”’ generalupdate-security-audit/generalupdate-security-auditSecurity audit + remediation14 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 UpdateRequest fields are set (UpdateUrl, AppSecretKey, MainAppName, ClientVersion, ProductId, InstallPath)
  • UpdateUrl points to a server API that returns valid version info
  • AppSecretKey length β‰₯ 16 characters, consistent with server
  • InstallPath points to the correct install directory (production: AppDomain.CurrentDomain.BaseDirectory)
  • AppType is 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.json has UpdateAppName including .exe
  • IPC file (UpdateInfo.msg) path is consistent between Client/Upgrade
  • Encoding is set to Encoding.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.Core and GeneralUpdate.Bowl (no type conflicts in v10.5.0-beta.7)
  • Differential is embedded in Core, no need for a separate GeneralUpdate.Differential reference

⚠️ 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
  • ❌ Configinfo class has been removed

Feedback & Suggestions​

If you encounter any issues or have suggestions for improvement, please submit an Issue:

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.Download and GeneralUpdate.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.