tippinggame/f8framework/f8-features-module-workflow
Claude Code and agent skill by tippinggame/f8framework
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when implementing or troubleshooting Module feature workflows — ModuleCenter lifecycle, module creation, StaticModule, ActivityModule, update attributes in F8Framework.
Install
npx vskill@latest install tippinggame/f8framework/f8-features-module-workflowSKILL.md
The same SKILL.md was published earlier as tippinggame/f8framework/f8-features-module-workflow.
Module Feature Workflow
⚠️ IMPORTANT: Before using this feature, you MUST formally initialize F8Framework in the launch sequence. EnsureModuleCenter.Initialize(this);has run first before anyModuleCenter.CreateModule<T>()call.
Use this skill when
- The task is about creating custom modules, managing module lifecycle, or using StaticModule / ActivityModule.
- The user asks about ModuleCenter, module initialization order, or update loops.
Path resolution
- Prefer project source at Assets/F8Framework.
- For usage docs, read: Assets/F8Framework/Tests/Module/README.md
Sources of truth
- Runtime module: Assets/F8Framework/Runtime/Module
- Editor module: Assets/F8Framework/Editor/Module
- Test docs: Assets/F8Framework/Tests/Module
Key classes and interfaces
| Class | Role | |
|---|---|---|
ModuleCenter | Core lifecycle management. Initialize, Create, Get, Destroy modules. | |
ModuleSingleton<T> | Non-MonoBehaviour module base with singleton. | |
ModuleSingletonMono<T> | MonoBehaviour module base with singleton. | |
IModule | Module interface: OnInit, OnUpdate, OnLateUpdate, OnFixedUpdate, OnTermination. | |
StaticModule | Auto-initialized static modules with OnEnterGame/OnQuitGame. | |
ActivityModule | Auto-discovered activity modules with unlock/visible/open state evaluation and state change callbacks. |
API quick reference
ModuleCenter usage
Custom module template
StaticModule template
ActivityModule template
Update attributes
[UpdateRefresh]— Enable OnUpdate loop[LateUpdateRefresh]— Enable OnLateUpdate loop[FixedUpdateRefresh]— Enable OnFixedUpdate loop
Module creation (right-click menu)
Right-click in Project → F8 Module Center → Create Module / ModuleMono / StaticModule / ActivityModule template.
Workflow
- Decide module type:
ModuleSingleton<T>(pure C#) orModuleSingletonMono<T>(MonoBehaviour). - Implement
IModuleinterface. - Add update attributes as needed.
- Create module via
ModuleCenter.CreateModule<T>()with priority. - For auto-initialized global modules, use
StaticModulepattern. - For activity gating and state-driven modules, use
ActivityModulepattern. - Use right-click context menu to generate template files.
Module types comparison
| Type | Base Class | MonoBehaviour | Init | Update | Usage | |
|---|---|---|---|---|---|---|
| Game Module | ModuleSingleton<T> | No | Lazy via CreateModule | Via attributes | Most modules | |
| Game Module Mono | ModuleSingletonMono<T> | Yes | Lazy via CreateModule | Via attributes | Needs coroutines | |
| Static Module | StaticModule | No | Auto on game start | Manual | Global utilities | |
| Activity Module | ActivityModule | No | Auto-discovered and initialized | State refresh via RefreshAllModules | Unlock/show/open activity logic |
Common error handling
| Error | Cause | Solution | |
|---|---|---|---|
| Module is null | Not created via CreateModule | Create before accessing | |
| Update not running | Missing [UpdateRefresh] attribute | Add appropriate attribute | |
| Module init order issue | Dependency module not yet created | Adjust priority or creation order |
Cross-module dependencies
- Foundation: GameLauncher uses ModuleCenter to create all framework modules.
Output checklist
- Module type selected (Singleton / SingletonMono / StaticModule / ActivityModule).
- Lifecycle methods implemented.
- Update attributes applied.
- Validation status and remaining risks.
Security
- Security scanPassed, 95 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/features/f8-features-module-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.
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-features-module-workflow)