Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计未展示

validate-template验证模板

Agent Skill

validate-template 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

225

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:validate-template(验证模板)
来源仓库:https://github.com/hopeoverture/worldbuilding-system
仓库路径:skills/validate-template
安装命令:
npx skills add hopeoverture/worldbuilding-system --skill "validate-template"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add hopeoverture/worldbuilding-system --skill "validate-template"

简介

validate-template 用于发现并安装 AI 代理的模板验证能力。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 等开发环境。
  • 通过 npx 从 hopeoverture/worldbuilding-system 仓库添加指定技能。
  • 安装前需核实权限、维护状态及是否触发文件或网络访问。
  • 建议查阅原始 README 了解模板语法和校验规则。

SKILL.md

Validate Template

Validate: $ARGUMENTS

Overview

This skill validates that templates and entity files conform to the worldbuilding system standards:

  • Required YAML frontmatter fields are present
  • Required sections exist
  • Image Prompts section is properly formatted
  • Connections section has correct structure
  • Content follows directive patterns

Instructions

Parse Arguments

ArgumentPurpose
[path]Path to template or entity file
--fixAuto-fix simple issues (add missing sections)
--template-type [Type]Force validation as specific type
--all-templatesValidate all templates in Templates/
--all-entities [world]Validate all entities in a world

Validation Rules

Universal Requirements (All Files)

YAML Frontmatter

Every file must have:

---
tags:
  - [category tag]
name: "[Entity Name]"
aliases:
  - [optional aliases]
status: draft | in-progress | complete
image: "" | "[[Entity Name.png]]"
---

Checks:

  • YAML block exists (between --- markers)
  • tags: field exists and is non-empty array
  • name: field exists and is non-empty string
  • aliases: field exists (can be empty array)
  • status: field exists with valid value
  • image: field exists

Title Section

# {{title}}

or

# [Entity Name]

Checks:

  • H1 heading exists as first content line after YAML
  • Only one H1 heading in file

Connections Section

## Connections

### [Category]
- **[Relationship]:** [[Entity]]

Checks:

  • ## Connections section exists
  • At least one subsection with wikilinks
  • Wikilinks use proper format [[Entity Name]]

Image Prompts Section

## Image Prompts

### [Art Style]
[Style description]

### [Scene Type]
[Scene setup]

**Prompt:** [Filled prompt text]

Checks:

  • ## Image Prompts section exists (for most entity types)
  • At least one subsection with **Prompt:** field
  • **Prompt:** field contains actual content (not placeholder)

Category-Specific Requirements

Characters (Protagonist, Antagonist, Support Character)

Additional YAML:

species: "[species]"
class: "[class]"
level: [number]           # OR
challenge_rating: "[CR]"  # (one required, not both)
armor_class: [number]
hit_points: [number]
proficiency_bonus: [number]

Additional Sections:

  • ## Stat Block
  • ### Ability Scores
  • ## Personality
  • ## Background
  • ## Combat Statistics

Validation Notes:

  • Either level: OR challenge_rating: must be filled (not both, not neither)
  • Proficiency bonus must match level/CR per D&D 5e 2024 rules

Settlements (Village, Town, City, Stronghold)

Additional YAML:

settlement_type: "[type]"
population: "[range]"
government_type: "[type]"

Additional Sections:

  • ## Overview
  • ## Districts or ## Areas
  • ## Notable Locations

Organizations

Additional YAML:

organization_type: "[type]"  # or appropriate tag

Additional Sections:

  • ## Overview
  • ## Leadership
  • ## Goals
  • ## Resources

Creatures (Monster, Animal, Insect)

Additional YAML:

size: "[size]"
creature_type: "[type]"
challenge_rating: "[CR]"
experience_points: [number]

Additional Sections:

  • ## Stat Block
  • ### Classification
  • ### Ability Scores
  • ## Traits
  • ## Actions

Geography

Additional YAML:

terrain_type: "[type]"  # or appropriate geographic tag

Additional Sections:

  • ## Overview
  • ## Features
  • ## Inhabitants

Items

Additional YAML:

rarity: "[rarity]"
item_type: "[type]"

Additional Sections:

  • ## Description
  • ## Properties

History (Event, Age, War, Battle)

Additional YAML:

date: "[date or era]"

Additional Sections:

  • ## Overview
  • ## Causes
  • ## Key Figures
  • ## Consequences

Validation Report

=== VALIDATION REPORT: [File Name] ===

Template Type: [Detected or Specified]
Category: [Category]

YAML FRONTMATTER
─────────────────────────────────────
✓ tags: present (3 tags)
✓ name: present ("Lord Varic Valdren")
✓ aliases: present (2 aliases)
✓ status: present (in-progress)
✓ image: present (empty - needs image)
✓ species: present ("Human")
✓ class: present ("Fighter")
✓ level: present (8)
✗ challenge_rating: N/A (using level-based)
✓ armor_class: present (18)
✓ hit_points: present (75)
✓ proficiency_bonus: present (+3) ✓ Matches level 8

REQUIRED SECTIONS
─────────────────────────────────────
✓ # Title (line 15)
✓ ## Stat Block (line 20)
✓ ### Ability Scores (line 25)
✓ ## Personality (line 60)
✓ ## Background (line 80)
✓ ## Combat Statistics (line 45)
✓ ## Connections (line 200)
✓ ## Image Prompts (line 230)

IMAGE PROMPTS
─────────────────────────────────────
✓ ### Portrait found
  ✓ **Prompt:** filled (45 characters)
✓ ### Action Scene found
  ✗ **Prompt:** EMPTY or placeholder

CONNECTIONS
─────────────────────────────────────
✓ Has wikilinks in Connections section
  - [[Lady Serana Valdren]]
  - [[House Valdren]]
  - [[Aldersgate]]

SUMMARY
─────────────────────────────────────
Checks Passed: 18/20
Checks Failed: 2
Warnings: 1

ISSUES FOUND:
1. [ERROR] Image Prompt for "Action Scene" is empty (line 245)
2. [WARNING] image: field is empty (entity has no generated image)

RECOMMENDATIONS:
- Fill the Action Scene prompt before running /generate-image
- Run /generate-image after filling prompts

Auto-Fix Mode (--fix)

When --fix is specified, the skill can automatically fix:

IssueAuto-Fix Action
Missing YAML fieldAdd field with placeholder value
Missing required sectionAdd section header with TODO comment
Missing Connections sectionAdd empty Connections section
Missing Image Prompts sectionAdd template Image Prompts section
Empty aliases arrayAdd aliases: []

Cannot auto-fix:

  • Missing content in sections
  • Empty image prompts (requires creative content)
  • Incorrect stat block values
  • Missing wikilinks

Bulk Validation

Validate All Templates

/validate-template --all-templates

Report:

=== TEMPLATE VALIDATION: Templates/ ===

Category             | Files | Valid | Issues |
---------------------|-------|-------|--------|
Characters           | 6     | 6     | 0      |
Settlements          | 8     | 7     | 1      |
Items                | 11    | 11    | 0      |
Creatures            | 5     | 5     | 0      |
Organizations        | 9     | 9     | 0      |
Concepts             | 10    | 9     | 1      |
History              | 9     | 9     | 0      |
Geography            | 18    | 18    | 0      |
Encounters           | 4     | 4     | 0      |
Maps                 | 4     | 4     | 0      |
---------------------|-------|-------|--------|
TOTAL                | 84    | 82    | 2      |

FILES WITH ISSUES:
- Templates/Settlements/Tavern.md: Missing ## Notable NPCs section
- Templates/Concepts/Religion.md: Empty image prompt

Validate All Entities in World

/validate-template --all-entities Eldermyr

Report:

=== ENTITY VALIDATION: Worlds/Eldermyr/ ===

Category             | Files | Valid | Issues |
---------------------|-------|-------|--------|
Characters           | 12    | 10    | 2      |
Settlements          | 8     | 8     | 0      |
...

ENTITIES WITH ISSUES:
- Characters/Old Merchant.md: Missing level OR challenge_rating
- Characters/Guard Captain.md: Proficiency +2 doesn't match level 7

Integration with Other Skills

Before /create-template

Run validation on similar templates to understand the expected structure.

After /create-entity

Run validation to ensure generated entity meets all requirements.

With /audit-world

Validation is complementary to audit:

  • /validate-template checks structure and format
  • /audit-world checks content consistency and links

Examples

# Validate a single entity
/validate-template "Worlds/Eldermyr/Characters/Lord Varic Valdren.md"

# Validate and auto-fix issues
/validate-template "Worlds/Eldermyr/Characters/Lord Varic Valdren.md" --fix

# Validate as specific type
/validate-template "some-file.md" --template-type "Support Character"

# Validate all templates
/validate-template --all-templates

# Validate all entities in a world
/validate-template --all-entities Eldermyr

# Validate with auto-fix
/validate-template --all-entities Eldermyr --fix

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

mcpjam

29.97%
按下载量换算22

Claude Code

21.08%
按下载量换算15

windsurf

15.87%
按下载量换算12

zencoder

11.78%
按下载量换算9

crush

7.3%
按下载量换算5

cline

3.61%
按下载量换算3

安全审计

暂无安全审计结果可展示。

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills