tippinggame/f8framework/f8-build-buildpkg-workflow
Claude Code and agent skill by tippinggame/f8framework
Trust tier 3
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when executing or maintaining F8/F5 editor build pipelines, generating Player or update packages, configuring Jenkins, recovering builds across script reloads, or verifying build artifacts in F8Framework.
Install
npx vskill@latest install tippinggame/f8framework/f8-build-buildpkg-workflowSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as tippinggame/f8framework/f8-build-buildpkg-workflow.
Build Package Workflow
Use this skill when
- The task is about packaging the game for release (Win, Android, iOS, Mac, Linux, WebGL).
- The user asks about hot update package generation, AB encryption, or CDN deployment.
- Build verification, Jenkins CI setup, or build failure debugging.
- The task involves
F8BuildPipeline,F8EditorPipeline, optional build contributors, or recovery after script compilation.
Path resolution
- Build UI and steps: Assets/F8Framework/Editor/Build
- Shared pipeline: Assets/F8Framework/Editor/Pipeline
Sources of truth
- Editor module: Assets/F8Framework/Editor/Build
- Build composition: Assets/F8Framework/Editor/Pipeline/F8BuildPipeline.cs
- Persistent execution: Assets/F8Framework/Editor/Pipeline/F8EditorPipeline.cs
- Jenkins config: Assets/F8Framework/Editor/Build/Jenkins/config.xml
- Test docs: Assets/F8Framework/Tests/HotUpdateManager/README.md and SDKManager/README.md
F5 Build Tool — configuration options
| Setting | Description | |
|---|---|---|
| Target Platform | Win / Android / iOS / Mac / Linux / WebGL | |
| Output Path | Build output directory | |
| Version Number | Game version string | |
| Remote Asset URL | CDN address for remote assets | |
| Enable Hot Update | Toggle hot update support | |
| Build Type | Full build / Sub-package / Empty package | |
| Enable Encryption | AB encryption toggle | |
| Pre-build Excel Generation | Enabled by default; add/remove Excel generation steps without coupling Core Editor to ExcelTool | |
| Config Export Format | Binary (default) or JSON | |
| Config Export Directory | Output for config data | |
| Full Resource Path | Enable/disable full-path asset loading | |
| MD5 AB Names | Add MD5 hash to AB names (for CDN cache busting) | |
| Force Remote Loading | Force all assets to load from remote | |
| Disable WebGL Cache | Disable browser caching on WebGL |
Build workflow
Standard build
- Press F5 to open the build tool.
- Configure platform, version, output path, and optional extension settings.
- Enable or disable Pre-build Excel Generation intentionally.
- Click Build Game, Build Update Package, or Build and Run.
- Let the composed pipeline execute in order:
- Write the game version when building a Player.
- Discover optional contributors; generate and serialize Excel data only when enabled.
- Generate/copy hot-update DLLs.
- Build AssetBundles.
- Build the Player or update package.
- Write the asset version when required.
- Do not run F8 first merely to satisfy prerequisites; F5 requests already include the required core and enabled extension steps.
F8Run
- Press F8 to start
F8BuildRequest.CreateF8Run(). - Run enabled contributors, hot-update DLL generation, and AssetBundle building.
- Do not build a Player or update package from F8Run; use F5 for those outputs.
Pipeline lifecycle
- Persist pipeline step IDs under
Library/F8EditorPipeline/state.jsonbefore execution. - Return
RequestScriptReloadwhen a step changes scripts; let the pipeline request compilation and resume after Domain Reload. - Use 开发工具 → 流水线 → 重试失败任务 or 取消当前任务 for recovery.
- Treat either
state.jsonorstate.json.tmpas pending. If state JSON is damaged, use 取消当前任务; cancellation does not require successful deserialization. - Cancel an old pending pipeline before removing an optional module whose step IDs are already persisted.
- From IMGUI buttons, call
F8BuildPipeline.StartDeferred(...)so the current layout event finishes before refresh/compilation. Use layout scopes around extension UI. - Treat a non-successful
BuildReportor null AssetBundle manifest as a thrown step failure. Do not only log an error and let the pipeline advance; restore temporarily moved package assets infinally.
Hot update build
- Configure Remote Asset URL in F5.
- Enable Hot Update.
- Build full package first.
- For subsequent updates, generate update packages only.
- Upload generated files to CDN server.
- Place files in CDN with platform subdirectory structure.
Sub-package (DLC) build
- Name DLC folders:
Package_ + identifierin AssetBundles. - Configure in F5 build tool.
- Build sub-packages separately.
- Runtime loading via
FF8.HotUpdate.CheckPackageUpdate().
WebGL / Mini-game builds
- In F5, enable: MD5 AB names ✓, Force remote loading ✓, Disable WebGL cache ✓.
- Configure CDN address for AB files.
- Upload
StreamingAssets/AssetBundlesto CDN after build. - For WeChat Mini Games: configure CDN in MiniGameConfig, set Bundle Path Identifier to
AssetBundles.
Jenkins CI
- Install Java SDK + Jenkins.
- Install Unity3d plugin in Jenkins Plugins.
- Add Unity version in Jenkins Tools.
- Copy
config.xmlfromEditor/Build/Jenkins/to Jenkins job directory. - Restart Jenkins service.
- Configure build parameters matching F5 settings.
- Use
UseExcelDataTool- falsewhen CI should omit Excel steps; configure Excel path/format/output arguments only when the module participates. - Trigger
JenkinsStart; useJenkinsResumein the follow-up Unity process when compilation requires a restart.
Pre-build checklist
- Verify no failed or unexpected pending editor pipeline remains.
- Verify no compilation errors.
- Confirm which optional contributors, especially ExcelTool, should participate.
- Check platform-specific settings:
- Android: Correct Gradle version and AAR files in Plugins/Android
- iOS: F8SDKInterfaceUnity.h/.mm configured
- WebGL: Sync loading avoided for AB
- Verify remote URL if hot update enabled.
- Clear sandbox directory if testing locally.
Post-build verification
- Check build output directory for all expected files.
- Verify AB files are in
StreamingAssets/AssetBundles/<Platform>/. - For hot update: verify version files and asset manifests.
- Test loading on target platform.
- Upload to CDN if remote loading enabled.
Common error handling
| Error | Cause | Solution | |
|---|---|---|---|
| Build fails immediately | Missing first build | Do Unity's built-in Build first, then retry F5 | |
EndLayoutGroup after clicking Build | Pipeline started synchronously inside OnGUI and refresh reset the IMGUI layout stack | Start with F8BuildPipeline.StartDeferred(...) from GUI buttons | |
| Pipeline reports a missing step handler | An optional module was removed while its step IDs remained in pending state | Cancel the old pipeline and start a new build | |
| Pipeline remains failed after fixing code | Failed state is persisted for recovery | Use 重试失败任务 or cancel and start again | |
| Pending pipeline name shows invalid state | state.json/.tmp is truncated or damaged | Use 取消当前任务 to remove both files, then start a new build | |
| Player/AssetBundle build returns failure | Unity returned a failed/cancelled report or no manifest | Fix the reported build error and retry the persisted step; later version-writing steps must not run | |
| AB not found on device | Platform mismatch | Build AB for target platform | |
| Hot update check fails | Wrong remote URL | Verify CDN URL in F5 settings | |
| WebGL load fails | Sync AB not supported | Enable Force Remote, use async loading | |
| Jenkins build fails | Wrong JDK/Gradle/SDK path | Match paths to Unity's bundled tools | |
| Android Gradle error | Wrong Gradle version | Match Gradle to Unity version per docs |
Cross-module dependencies
- AssetManager: AssetBundle generation is a core pipeline step; no separate F8 prerequisite is required for F5 builds.
- ExcelTool: Optional contributor. When enabled it generates code/data before hot-update DLL and AssetBundle steps; when disabled or absent, core builds continue.
- HotUpdateManager: Hot update version management for CDN deployment.
- SDKManager: Platform-specific plugins affect build configuration.
Output checklist
- Build completed without errors.
- Enabled contributors completed, and the persistent pipeline state was cleared.
- AB files generated for target platform.
- Hot update packages (if applicable) ready for CDN.
- Config data exported in correct format.
- Platform-specific requirements met.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingTests/AISkills/f8framework-skills/build/f8-build-buildpkg-workflow/SKILL.md
Popularity
- Repository stars
- 870
- Repository forks
- 139
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tippinggame/f8framework/f8-build-buildpkg-workflow)