tippinggame/f8framework/f8-features-exceltool-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 ExcelTool feature workflows — config table loading, Excel binary/JSON generation, optional config data source registration, generated data assemblies, variant support, and runtime data access in F8Framework.

Install

npx vskill@latest install tippinggame/f8framework/f8-features-exceltool-workflow

SKILL.md

The same SKILL.md was published earlier as tippinggame/f8framework/f8-features-exceltool-workflow.

ExcelTool Feature Workflow

⚠️ IMPORTANT: Before using this feature, you MUST formally initialize F8Framework in the launch sequence. Ensure ModuleCenter.Initialize(this); has run first, then create the required module, for example FF8.Config = ModuleCenter.CreateModule<F8DataManager>();.

Use this skill when

  • The task is about config tables, Excel data reading, or data class generation.
  • The user asks about manual Excel generation, F8 pipeline participation, or F7 runtime reload.
  • The user needs to define new data types, containers, enums, or variants in Excel.
  • Troubleshooting config loading failures or type mismatches.

Path resolution

  1. Prefer project source at Assets/F8Framework.
  2. If F8Framework is installed as a package, use Packages/F8Framework.
  3. For usage docs, read: Assets/F8Framework/Tests/ExcelTool/README.md

Sources of truth

  • Runtime module: Assets/F8Framework/Runtime/ExcelTool
  • Core data source contract: Assets/F8Framework/Runtime/ConfigData/ConfigDataSourceRegistry.cs
  • Editor module: Assets/F8Framework/Editor/ExcelTool
  • Generated data classes: Assets/F8Framework/ConfigData
  • Excel source: Assets/StreamingAssets/config/*.xlsx
  • Test docs: Assets/F8Framework/Tests/ExcelTool

Key classes and interfaces

ClassRole
F8DataManagerGenerated config module. Access via FF8.Config. Loads and queries config data.
IConfigDataSourceCore contract implemented by optional config source modules.
ConfigDataSourceRegistrySelects the highest-priority available config source without Core depending on Excel.
ExcelConfigDataSourceExcel runtime implementation registered before scene load.
ReadExcelReads Excel files. Extensible for custom types.

API quick reference

Loading config data
csharp
// Load single sheet by name
Sheet1 sheet1 = FF8.Config.Load<Sheet1>("Sheet1");
// Sync load all
FF8.Config.LoadAll();
// Async load all (coroutine)
yield return FF8.Config.LoadAllAsyncIEnumerator();
// Async load all (async/await — WebGL compatible)
await FF8.Config.LoadAllAsyncTask();
// Runtime Excel reload (development only)
FF8.Config.RuntimeLoadAll();
Querying data
csharp
// Get single row by ID
LogF8.Log(FF8.Config.GetSheet1ByID(2).name);
// Iterate all rows
foreach (var item in FF8.Config.GetSheet1())
{
LogF8.Log(item.Key);
LogF8.Log(item.Value.name);
}
Variant support (multi-language/multi-version configs)
csharp
// Set global variant name
FF8.Config.VariantName = "English";
// Set per-sheet variant name (higher priority)
Sheet1.VariantName = "English";

Excel type system

Basic types

char, bool, byte, short, int, long, float, double, decimal, str/string, obj/object, datetime, sbyte, ushort, uint, ulong Unity types: vec2/vector2, vec3/vector3, vec4/vector4, vec2int/vector2int, vec3int/vector3int, quat/quaternion, color, color32, matrix4x4 Standard JSON specification type: json

Container types
  • Arrays: int[], string[][], obj[][][]
  • Lists: list<obj>
  • Dictionaries: dict<int,list<string>>
  • ValueTuples: valuetuple<int,string> (up to 7 types)
  • HashSets: hashset<int>
Special types
  • Enums: enum<name,int,Flags>{Value1=1,Value2=2}
  • Variants: variant<name,variantName> — switch configs by variant name
Row/column exclusion
  • Skip entire row: leave id empty
  • Skip entire column: leave type or name empty

Workflow

  1. Create Excel files in Assets/StreamingAssets/config/ directory.
  2. Set first column as int type id (unique primary key).
  3. Row 1 = types, Row 2 = field names, Row 3+ = data.
  4. Generate data with one of these entries:
  • Excel only: menu 开发工具 → 2: Excel导表-F8.
  • Full F8Run: press F8 while pre-build Excel generation is enabled.
  • Player/update build: use F5 while pre-build Excel generation is enabled.
  1. Let F8EditorPipeline compile and resume automatically when generated C# changes.
  2. Find generated files in Assets/F8Framework/ConfigData/ and Assets/AssetBundles/Config/BinConfigData/.
  3. Initialize F8DataManager, then call FF8.Config.LoadAll() before accessing data.
  4. Press F7 for runtime Excel reload (development only).
  5. For variants, add variant<fieldName,variantName> columns.

Common error handling

ErrorCauseSolution
Compilation errors after importNaming conflicts in generated classesFix the Excel schema or conflicting generated names and regenerate; do not delete the entire ConfigData/ directory
Data class not foundSheet name mismatchEnsure sheet name matches exactly (case-sensitive)
No available config data sourceExcel runtime module is absent, unregistered, or unavailableInstall/enable a compatible IConfigDataSource implementation and verify its source path
Android runtime Excel read failsStreamingAssets not directly readableUse SyncStreamingAssetsLoader or binary cache mode
Dictionary key error in JSON exportContainer key type not supported in JSONUse binary format which supports all key types

Cross-module dependencies

  • AssetManager: Binary/JSON config files loaded via FF8.Asset.
  • Core: Owns only IConfigDataSource and ConfigDataSourceRegistry; it must not reference Excel runtime/editor assemblies.
  • Generated assembly: F8Framework.F8ExcelDataClass is separate from ExcelTool and is referenced by Launcher; retain it or refactor consumers before removing it.
  • Localization: Can use variant type as lightweight localization alternative.

Output checklist

  • Excel structure defined (types, names, data).
  • Manual import or optional F8/F5 integration verified.
  • Config data source registration and availability verified.
  • Data access code validated.
  • 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tippinggame/f8framework/f8-features-exceltool-workflow/badge)](https://verified-skill.com/skills/tippinggame/f8framework/f8-features-exceltool-workflow)

Something wrong with this skill or its page? Tell us.