Markitdown
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
Dota 2 自定义单位编写指南。适用于编写/修改单位 KV 配置文件(game/scripts/npc/customunits/)。触发词:单位、unit、creature、怪物、召唤物、建筑、塔、npc。
$ npx skills add XavierCHN/x-template --skill dota2-unit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install XavierCHN/x-template dota2-unit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/XavierCHN/x-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/dota2-unit .claude/skills/dota2-unit && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "dota2-unit" agent skill from https://github.com/XavierCHN/x-template/tree/master/.agents/skills/dota2-unit into .claude/skills/dota2-unit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dota2-unit", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/XavierCHN/x-template/tree/master/.agents/skills/dota2-unitType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add XavierCHN/x-template --skill dota2-unit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install XavierCHN/x-template dota2-unit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XavierCHN/x-template.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/dota2-unit .agents/skills/dota2-unit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "dota2-unit" agent skill from https://github.com/XavierCHN/x-template/tree/master/.agents/skills/dota2-unit into .agents/skills/dota2-unit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dota2-unit", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add XavierCHN/x-template --skill dota2-unit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install XavierCHN/x-template dota2-unit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XavierCHN/x-template.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/dota2-unit .cursor/skills/dota2-unit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "dota2-unit" agent skill from https://github.com/XavierCHN/x-template/tree/master/.agents/skills/dota2-unit into .cursor/skills/dota2-unit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dota2-unit", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/XavierCHN/x-template.git --path .agents/skills/dota2-unit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add XavierCHN/x-template --skill dota2-unit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install XavierCHN/x-template dota2-unit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XavierCHN/x-template.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/dota2-unit .gemini/skills/dota2-unit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "dota2-unit" agent skill from https://github.com/XavierCHN/x-template/tree/master/.agents/skills/dota2-unit into .gemini/skills/dota2-unit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dota2-unit", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install XavierCHN/x-template dota2-unitInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add XavierCHN/x-template --skill dota2-unit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/XavierCHN/x-template.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/dota2-unit .github/skills/dota2-unit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "dota2-unit" agent skill from https://github.com/XavierCHN/x-template/tree/master/.agents/skills/dota2-unit into .github/skills/dota2-unit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dota2-unit", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add XavierCHN/x-template --skill dota2-unit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install XavierCHN/x-template dota2-unit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XavierCHN/x-template.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/dota2-unit .opencode/skills/dota2-unit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "dota2-unit" agent skill from https://github.com/XavierCHN/x-template/tree/master/.agents/skills/dota2-unit into .opencode/skills/dota2-unit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dota2-unit", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
dota2-unitDota 2 自定义单位编写指南。适用于编写/修改单位 KV 配置文件(game/scripts/npc/customunits/)。触发词:单位、unit、creature、怪物、召唤物、建筑、塔、npc。
Dota2 Unit is an agent skill from XavierCHN/x-template. Dota 2 自定义单位编写指南。适用于编写/修改单位 KV 配置文件(game/scripts/npc/customunits/)。触发词:单位、unit、creature、怪物、召唤物、建筑、塔、npc。
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Documents & Office, covering Excel spreadsheets. It works with Microsoft Excel. The repository describes itself as: DOTA2自定义游戏开发模板项目,使用typesscript和react开发; Xavier's DOTA 2 custom game template using typescript and react-panorama. The licence is MIT.
Read from SKILL.md and the folder at commit ba97b00. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Dota2 Unit loads about 2.4k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 618 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from XavierCHN/x-template at commit ba97b00, republished under its MIT licence (© XavierCHN). 618 words, ~2,379 tokens.
.claude/skills/dota2-unit/SKILL.md (or your agent's skills folder).为 DOTA2 自定义游戏项目编写 Dota 2 自定义单位。
game/scripts/npc/ 下的 KV 文件中。禁止在 TSTL 代码或 UI 代码中硬编码任何可能变化的配置值。修改配置后需运行 npx gulp kv_2_js 刷新 JSON,保证前后端数据一致| 文件 | 路径 | 用途 |
|---|---|---|
| 单位 KV | game/scripts/npc/custom_units/<单位名>.txt | 单位 KV 键值对(手动创建的自定义单位) |
| KV 入口 | game/scripts/npc/npc_units_custom.txt | 引用 #base "custom_units.txt",自动生成部分由 Excel 管理 |
| Excel 数据 | excels/单位表.xlsx | 自动生成 custom_units.txt(请勿修改) |
| 单位逻辑 | game/scripts/src/abilities/<模块名>/<关联技能>.ts | 单位关联的技能逻辑(如召唤物技能),制作技能请使用 dota2-ability skill 的工作流 |
| 本地化 | game/resource/addon.csv | 单位名称 |
在 game/scripts/npc/custom_units/<单位名>.txt 中创建 KV 文件,或在 excels/单位表.xlsx 中添加行(由 Gulp 自动生成到 custom_units.txt)。
KV 文件必须在 npc_units_custom.txt 中通过 #base 引用后生效。
单位名必须以 npc_dota_ 开头。
KV 结构规则:单位名称必须在第一级,所有属性写在第二级的 {} 内:
"npc_dota_unit_mymonster"
{
"BaseClass" "npc_dota_creature"
"Model" "models/heroes/earthshaker/earthshaker.vmdl"
"MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND"
"MovementSpeed" "325"
"StatusHealth" "1000"
}修改 KV 文件后,必须运行以下命令将 KV 编译为 JSON,供前后端统一引用:
# 编译所有 KV 文件为 JSON(输出到 panorama 和 src 两个目录)
npx gulp kv_2_js
# 或快捷命令(同时执行 sheet→kv 和 kv→js)
npx gulp jssync编译后输出到:
content/panorama/src/json/ — 前端 Panorama 使用game/scripts/src/json/ — 后端 TSTL 使用前后端数据分离原则:
如果单位拥有自定义技能,在 game/scripts/src/abilities/<模块名>/ 中创建技能源码,按 dota2-ability skill 的工作流编写。
在 game/resource/addon.csv 中添加:
npc_dota_unit_<单位名> → 单位显示名| 键名 | 说明 | 示例值 |
|---|---|---|
BaseClass | 基类 | npc_dota_creature / npc_dota_tower / npc_dota_creep_lane / npc_dota_building |
Model | 模型路径 | models/heroes/earthshaker/earthshaker.vmdl |
ModelScale | 模型缩放 | 1.0 |
SoundSet | 声音集 | Hero_EarthShaker / Creep_Bad_Melee / Tower.Water |
Level | 等级 | 5 |
IsNeutralUnitType | 是否中立单位 | 1 |
ConsideredHero | 是否视为英雄 | 1 |
GameSoundsFile | 游戏声音文件 | soundevents/game_sounds_heroes/game_sounds_earthshaker.vsndevts |
VoiceFile | 语音文件 | soundevents/voscripts/game_sounds_vo_earthshaker.vsndevts |
| 键名 | 说明 | 示例值 |
|---|---|---|
BoundsHullName | 碰撞体大小 | DOTA_HULL_SIZE_HERO / DOTA_HULL_SIZE_SMALL / DOTA_HULL_SIZE_REGULAR / DOTA_HULL_SIZE_LARGE |
RingRadius | 环半径 | 70 |
HealthBarOffset | 血条偏移 | 200 |
| 键名 | 说明 | 示例值 |
|---|---|---|
MovementCapabilities | 移动能力 | DOTA_UNIT_CAP_MOVE_GROUND / DOTA_UNIT_CAP_MOVE_FLY / DOTA_UNIT_CAP_MOVE_NONE |
MovementSpeed | 移动速度 | 325 |
MovementTurnRate | 转身速率 | 0.5 |
HasAggressiveStance | 攻击姿态 | 0 |
| 键名 | 说明 | 示例值 |
|---|---|---|
Ability1 | 技能槽 1 | earthshaker_fissure |
Ability2 | 技能槽 2 | `` |
Ability3 | 技能槽 3 | `` |
Ability4 | 技能槽 4 | `` |
Ability5 | 技能槽 5 | `` |
Ability6 | 技能槽 6(额外) | `` |
Ability7 | 技能槽 7(额外) | `` |
Ability8 | 技能槽 8(额外) | `` |
| 键名 | 说明 | 示例值 |
|---|---|---|
ArmorPhysical | 物理护甲 | 5 |
MagicalResistance | 魔法抗性 | 0 / 25 |
| 键名 | 说明 | 示例值 |
|---|---|---|
AttackCapabilities | 攻击能力 | DOTA_UNIT_CAP_MELEE_ATTACK / DOTA_UNIT_CAP_RANGED_ATTACK / DOTA_UNIT_CAP_NO_ATTACK |
AttackDamageMin | 最小攻击力 | 50 |
AttackDamageMax | 最大攻击力 | 60 |
AttackDamageType | 攻击伤害类型 | DAMAGE_TYPE_ArmorPhysical |
AttackRate | 攻击速率 | 1.5 |
AttackAnimationPoint | 攻击动画点 | 0.3 |
AttackAcquisitionRange | 攻击获取范围 | 600 |
AttackRange | 攻击范围 | 130 / 500 |
ProjectileModel | 弹道模型 | particles/base_attacks/ranged_badguy.vpcf |
ProjectileSpeed | 弹道速度 | 900 |
| 键名 | 说明 | 示例值 |
|---|---|---|
AttributePrimary | 主属性 | DOTA_ATTRIBUTE_STRENGTH / DOTA_ATTRIBUTE_AGILITY / DOTA_ATTRIBUTE_INTELLECT / DOTA_ATTRIBUTE_ALL |
AttributeBaseStrength | 基础力量 | 21 |
AttributeStrengthGain | 力量成长 | 1.6 |
AttributeBaseAgility | 基础敏捷 | 24 |
AttributeAgilityGain | 敏捷成长 | 2.8 |
AttributeBaseIntelligence | 基础智力 | 12 |
AttributeIntelligenceGain | 智力成长 | 1.8 |
| 键名 | 说明 | 示例值 |
|---|---|---|
StatusHealth | 基础生命值 | 500 |
StatusHealthRegen | 生命回复 | 2 |
StatusMana | 基础魔法值 | 100 |
StatusManaRegen | 魔法回复 | 0.75 |
StatusStartingMana | 初始魔法 | 0 |
| 键名 | 说明 | 示例值 |
|---|---|---|
BountyXP | 经验赏金 | 22 |
BountyGoldMin | 最小金钱赏金 | 19 |
BountyGoldMax | 最大金钱赏金 | 25 |
| 键名 | 说明 | 示例值 |
|---|---|---|
VisionDaytimeRange | 白天视野 | 1800 |
VisionNighttimeRange | 夜晚视野 | 800 |
| 键名 | 说明 | 示例值 |
|---|---|---|
TeamName | 队伍 | DOTA_TEAM_GOODGUYS / DOTA_TEAM_BADGUYS / DOTA_TEAM_NEUTRALS |
CombatClassAttack | 攻击战斗类 | DOTA_COMBAT_CLASS_ATTACK_HERO / DOTA_COMBAT_CLASS_ATTACK_BASIC |
CombatClassDefend | 防御战斗类 | DOTA_COMBAT_CLASS_DEFEND_HERO / DOTA_COMBAT_CLASS_DEFEND_BASIC |
UnitRelationshipClass | 单位关系类 | DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT / DOTA_NPC_UNIT_RELATIONSHIP_TYPE_HERO |
| 键名 | 说明 | 示例值 |
|---|---|---|
HasInventory | 是否有物品栏 | 1 |
Creature | 生物配置 | (子键:AttachWearables、DefaultState 等) |
AttachWearables | 装饰品 | (子键:"1" { "ItemDef" "123" }) |
particle_folder | 粒子文件夹 | particles/units/heroes/hero_earthshaker |
skin | 皮肤 | 0 |
wearable | 装饰 | (子键) |
OverrideWearableClass | 覆盖装饰类 | dota_item_wearable |
| 键名 | 说明 | 示例值 |
|---|---|---|
SelectionGroup | 选择组 | 1 |
SelectOnSpawn | 生成时选中 | 1 |
MinimapIcon | 小地图图标 | minimap_icon_tower |
MinimapIconSize | 小地图图标大小 | 1000 |
WakesNeutrals | 唤醒中立生物 | 1 |
UnitLabel | 单位标签 | custom |
UnitToAbilityMap | 单位到技能映射 | (子键) |
ScaleSet | 缩放集 | 0 |
PathfindingSearchDepthScale | 寻路深度缩放 | 1 |
ProjectileCollisionSize | 弹道碰撞大小 | 50 |
precache | 预缓存 | (子键:particle、soundfile、model) |
| 常量 | 说明 |
|---|---|
DOTA_UNIT_CAP_NO_ATTACK | 无攻击能力 |
DOTA_UNIT_CAP_MELEE_ATTACK | 近战攻击 |
DOTA_UNIT_CAP_RANGED_ATTACK | 远程攻击 |
| 常量 | 说明 |
|---|---|
DOTA_UNIT_CAP_MOVE_NONE | 不可移动 |
DOTA_UNIT_CAP_MOVE_GROUND | 地面移动 |
DOTA_UNIT_CAP_MOVE_FLY | 飞行移动 |
| 常量 | 说明 |
|---|---|
DOTA_HULL_SIZE_SMALL | 小碰撞体(小兵) |
DOTA_HULL_SIZE_REGULAR | 普通碰撞体 |
DOTA_HULL_SIZE_HERO | 英雄碰撞体 |
DOTA_HULL_SIZE_LARGE | 大碰撞体 |
DOTA_HULL_SIZE_BUILDING | 建筑碰撞体 |
| 常量 | 说明 |
|---|---|
DOTA_TEAM_GOODGUYS | 天辉 |
DOTA_TEAM_BADGUYS | 夜魇 |
DOTA_TEAM_NEUTRALS | 中立 |
| 常量 | 说明 |
|---|---|
DOTA_COMBAT_CLASS_ATTACK_HERO | 英雄攻击 |
DOTA_COMBAT_CLASS_ATTACK_BASIC | 基础攻击 |
DOTA_COMBAT_CLASS_ATTACK_PIERCE | 穿透攻击 |
DOTA_COMBAT_CLASS_ATTACK_SIEGE | 攻城攻击 |
DOTA_COMBAT_CLASS_DEFEND_HERO | 英雄防御 |
DOTA_COMBAT_CLASS_DEFEND_BASIC | 基础防御 |
DOTA_COMBAT_CLASS_DEFEND_SOFT | 软甲防御 |
DOTA_COMBAT_CLASS_DEFEND_STRUCTURE | 建筑防御 |
| 常量 | 说明 |
|---|---|
DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT | 默认 |
DOTA_NPC_UNIT_RELATIONSHIP_TYPE_HERO | 英雄 |
DOTA_NPC_UNIT_RELATIONSHIP_TYPE_BARRACKS | 兵营 |
DOTA_NPC_UNIT_RELATIONSHIP_TYPE_BUILDING | 建筑 |
如果单位拥有自定义技能,技能逻辑按 dota2-ability skill 工作流编写。
单位可以拥有 vscript 文件,用于规定单位的行为,或者用于制作AI: 具体函数需要使用诸如:
Object.assign(getfenv(), {
Spawn: callback
});这样的方式方法注册到单位的脚本文件中
| API | 用途 |
|---|---|
CreateUnitByName(unitName, location, bFindClearSpace, hNpcOwner, hPlayerOwner) | 创建单位 |
unit.Kill(hAbility, hAttacker) | 杀死单位 |
unit.RemoveSelf() | 移除单位 |
unit.SetTeam(teamNumber) | 设置队伍 |
unit.SetOwner(hPlayer) | 设置所有者 |
unit.SetControllableByPlayer(playerID, bControllable) | 设置可控制 |
unit.AddAbility(abilityName) | 添加技能 |
unit.RemoveAbility(abilityName) | 移除技能 |
unit.SetHealth(value) | 设置生命值 |
unit.SetMaxHealth(value) | 设置最大生命值 |
unit.SetMana(value) | 设置魔法值 |
unit.SetBaseMoveSpeed(speed) | 设置移动速度 |
unit.SetAcquisitionRange(range) | 设置攻击获取范围 |
unit.SetAttackCapability(capability) | 设置攻击能力 |
unit.SetMoveCapability(capability) | 设置移动能力 |
unit.AddNewModifier(caster, ability, modifierName, kv) | 添加 modifier |
| API | 用途 |
|---|---|
unit.GetTeamNumber() | 获取队伍号 |
unit.GetOrigin() | 获取位置 |
unit.GetAbsOrigin() | 获取绝对位置 |
unit.GetHealth() | 获取生命值 |
unit.GetMaxHealth() | 获取最大生命值 |
unit.GetMana() | 获取魔法值 |
unit.GetBaseMoveSpeed() | 获取移动速度 |
unit.GetAttackDamage() | 获取攻击力 |
unit.GetArmor() | 获取护甲 |
unit.GetMagicalArmorValue() | 获取魔抗 |
unit.IsAlive() | 是否存活 |
unit.IsHero() | 是否英雄 |
unit.IsCreature() | 是否生物 |
unit.IsBuilding() | 是否建筑 |
unit.IsAncient() | 是否远古 |
unit.IsBoss() | 是否 Boss |
unit.IsNeutralUnitType() | 是否中立 |
unit.HasAbility(abilityName) | 是否有技能 |
unit.FindAbilityByName(abilityName) | 查找技能 |
unit.GetUnitName() | 获取单位名 |
© XavierCHN, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/dota2-unit of XavierCHN/x-template.
Open the folder on GitHubat commit ba97b00
Dota2 Unit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Dota2 Unit this skillXavierCHN/x-template | 216 | — | ~2.4k | Automated safety check: Pass | MIT | |
| MarkitdownImCa0/just-laws | 781 | 14 repos | ~3.2k | Automated safety check: Notes | MIT | |
| Data Table Managern8n-io/n8n | 207k | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Docx4jplutext/docx4j | 2.4k | — | ~2.5k | Automated safety check: Pass | None | |
| Instrument Data To Allotropeaws-samples/amazon-bedrock-agents-healthcare-lifesciences | 274 | 2 repos | ~2.7k | Automated safety check: Pass | Apache-2.0 | |
| Cyber Pptcrazyykhllc-bit/CyberPPT | 1.8k | — | ~10k | Automated safety check: Pass | MIT |
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
n8n-io/n8n
Load before calling data-tables or parse-file. An agent skill from n8n-io/n8n.
plutext/docx4j
A skill your agent uses when writing Java code that creates, reads or edits Word (.docx), PowerPoint (.pptx) or Excel (.xlsx) files with docx4j — including generating documents, editing existing…
aws-samples/amazon-bedrock-agents-healthcare-lifesciences
Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.
crazyykhllc-bit/CyberPPT
当用户需要把 DOCX、PDF、TXT、XLSX、研究报告、业务材料或原始数据转成高密度、可编辑、咨询风格 PPTX 时使用;也适用于需要 SCR 论证、视觉风格探索、详细图表和渲染质检的 PPT。
shift-labs-ai/markit
Convert files and URLs to Markdown. An agent skill from shift-labs-ai/markit.
XavierCHN/x-template
为 DOTA2自定义游戏 项目生成 Dota 2 本地化文本(addon.csv)。触发词:本地化、翻译、loc、i18n、addon.csv、文本、tooltip、多语言。Use when user asks to generate localization entries for abilities/units/items/modifiers, translate Chinese to…
XavierCHN/x-template
DOTA2 自定义游戏服务端逻辑开发指南。触发词:游戏逻辑、服务端、server、game mode、游戏模式、GameRules、modifier、timer、lua、TSTL。Use when user asks to create or modify DOTA2 custom game server-side logic, game mode configuration…
XavierCHN/x-template
DOTA2 自定义游戏 UI(Panorama)开发指南。触发词:UI、界面、面板、panorama、frontend、前端、HUD、layout、xml、css、样式。Use when user asks to create or modify DOTA2 custom game UI panels, React components, CSS styles, layout XML…
XavierCHN/x-template
Dota 2 自定义技能编写指南。触发词:技能、ability、spell、被动、主动. An agent skill from XavierCHN/x-template.
XavierCHN/x-template
Dota 2 自定义物品编写指南。触发词:物品、item、装备、道具、配方、recipe、合成. An agent skill from XavierCHN/x-template.
Works with
Categories
Dota 2 自定义单位编写指南。适用于编写/修改单位 KV 配置文件(game/scripts/npc/customunits/)。触发词:单位、unit、creature、怪物、召唤物、建筑、塔、npc。. Dota2 Unit is an agent skill from XavierCHN/x-template.
Dota2 Unit fits situations like: tasks that involve Excel spreadsheets.
Run `npx skills add XavierCHN/x-template --skill dota2-unit -a claude-code`. Or copy the skill folder (.agents/skills/dota2-unit in XavierCHN/x-template) into .claude/skills/dota2-unit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add XavierCHN/x-template --skill dota2-unit -a codex`. Or copy the skill folder (.agents/skills/dota2-unit in XavierCHN/x-template) into .agents/skills/dota2-unit in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add XavierCHN/x-template --skill dota2-unit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dota2-unit, .gemini/skills/dota2-unit, .github/skills/dota2-unit and .opencode/skills/dota2-unit in your project.
Going by SKILL.md and its folder, Dota2 Unit needs the command-line tools its instructions call (npx). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Dota2 Unit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Dota2 Unit: Markitdown (ImCa0/just-laws, 781 stars), Data Table Manager (n8n-io/n8n, 207k stars), Docx4j (plutext/docx4j, 2.4k stars) and Instrument Data To Allotrope (aws-samples/amazon-bedrock-agents-healthcare-lifesciences, 274 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
XavierCHN (a GitHub user) maintains it in XavierCHN/x-template, which has 216 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on May 23, 2026.
Source: XavierCHN/x-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.