Back to list
Falkicon

k-fencore

by Falkicon

In-game development hub for World of Warcraft addon developers. Centralizes debugging, testing, error capture, and performance monitoring with universal copy support.

8🍴 1📅 Jan 24, 2026

SKILL.md


name: k-fencore description: > Context for FenCore - the pure logic library for WoW addons. Covers utility functions, math helpers, table operations, and environment detection. Load this when working with FenCore or needing utility functions. Triggers: fencore, utility, math, table, logic, pure functions.

FenCore Library

FenCore is a pure logic library for WoW addons - no UI dependencies, just utility functions.

Design Philosophy

  • Pure Functions: No side effects, predictable outputs
  • No UI Dependencies: Works in any layer of your addon
  • Testable: All functions can be unit tested without WoW
  • Documented: Every function has clear input/output contracts

MCP Tools

TaskMCP Tool
List All Functionsfencore.catalog()
Search Functionsfencore.search(query="clamp")
Get Function Detailsfencore.info(domain="Math", function="Clamp")

Domains

FenCore organizes functions by domain:

DomainPurposeExamples
MathNumeric operationsClamp, Round, Lerp, InRange
TableTable manipulationCopy, Merge, Filter, Map
StringString utilitiesSplit, Trim, StartsWith, Format
ColorColor manipulationHexToRGB, RGBToHex, Lighten, Darken
TimeTime formattingFormatDuration, FormatTime, ParseDuration
EnvironmentWoW detectionIsRetail, IsClassic, GetExpansion

Usage Pattern

local FenCore = LibStub("FenCore")

-- Access by domain
local Math = FenCore.Math
local result = Math.Clamp(value, 0, 100)

-- Or direct access
local clamped = FenCore.Math.Clamp(value, 0, 100)

Common Functions

Math

FenCore.Math.Clamp(value, min, max)     -- Constrain value to range
FenCore.Math.Round(value, decimals)      -- Round to decimal places
FenCore.Math.Lerp(a, b, t)              -- Linear interpolation
FenCore.Math.InRange(value, min, max)   -- Check if value in range

Table

FenCore.Table.Copy(tbl)                 -- Shallow copy
FenCore.Table.DeepCopy(tbl)             -- Deep copy
FenCore.Table.Merge(base, override)     -- Merge tables
FenCore.Table.Filter(tbl, predicate)    -- Filter by function
FenCore.Table.Map(tbl, transform)       -- Transform values

Environment

FenCore.Environment.IsRetail()          -- true if retail client
FenCore.Environment.IsClassic()         -- true if classic client
FenCore.Environment.GetExpansion()      -- "TWW", "Classic", etc.
FenCore.Environment.GetBuildInfo()      -- version, build, date

Best Practices

  1. Use for Core layer - FenCore belongs in your addon's pure logic layer
  2. Don't wrap unnecessarily - Call FenCore directly, don't create wrappers
  3. Check domain first - Use fencore.search to find existing functions before writing your own
  4. Prefer pure functions - If you need state, that belongs in Bridge layer

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon