Enrich Games Content
Add or correct typed semantic relations on pages within content/games/
based on the ludic ASR specification.
When to use
Run this skill on any page in content/games/ that is missing required
or recommended frontmatter fields, or whose type: does not match its
directory position and content.
Inputs
- target: path to a single file or directory within
content/games/
Procedure
-
Read the target file. Parse its frontmatter and body.
-
Determine content type. Use directory position and content:
- Files in
terms/→type: term - Files in
curricula/→type: lesson(checkkind:for lesson/curriculum/history/genealogy) - Files in
specifications/→type: specification(update fromtype: topicif needed) - Files in
texts/→type: text - Directory index files →
type: indexortype: topicdepending on content
- Files in
-
Identify required relations. Based on the type:
- term: MUST have
defines:. SHOULD havecites:. - lesson: MUST have
teaches:. SHOULD haverequires:. SHOULD haveuses-mechanic:. - specification: SHOULD have
classifies:,uses-mechanic:,boundary-with:. - text: SHOULD have
cites:,authors:. MAY havemodels:,uses-mechanic:.
- term: MUST have
-
Read the body for implicit relations. Look for:
- Markdown links to term pages → candidates for
uses-mechanic: - References to theorists or works → candidates for
cites: - References to game types or traditions → candidates for
classifies:ormodels: - References to prerequisite concepts → candidates for
requires:
- Markdown links to term pages → candidates for
-
Add missing frontmatter fields. Add only fields supported by evidence in the body. Use absolute paths from content root for relation targets (e.g.,
/games/terms/mechanic.md). -
Update type if needed. If a specification page has
type: topic, kind: specification, update totype: specification. -
Populate cites: where possible. If the body mentions specific theorists, works, or traditions by name, add them to
cites:. -
Verify. Re-read the file. Confirm all MUST fields are present and all added relations are supported by body content. Run
validate-content.pyon the file if validation rules exist.
Output
The target file with enriched frontmatter. No body content is modified.
Notes
- Do not invent relations unsupported by the body text.
- Prefer existing link targets over creating new paths.
- The
kind:field on lessons is descriptive, not prescriptive — preserve the existing value. - Tags are currently empty across most games content; populating them is a separate task.