Refactor Lexical Ontology

Audit identifiers and namespaces for lexical-semantic and ontological correctness. Detect semantic role misalignment (agent/tool/process/artifact), derivational misuse (e.g., -er agent nouns), and category errors between modules, packages, classes, functions, and data artifacts. Output a single Markdown report with actionable fixes.

majiayu000 a74210b 2 files · 1.9 KB Updated 567 repo stars

File contents

Instructions

Read all references in references/ before using this skill.

Signals

  • The user says: "naming feels off", "planner vs planning", "module naming convention", "agentive suffix misuse", "semantic role mismatch", "ontology drift", "lexical audit"
  • A naming refactor is planned or ongoing
  • Confusion exists between thing vs doer vs process vs tool in identifiers
  • The codebase has inconsistent conventions between directories/modules/classes/functions

References

Directory: references/

  • 01_INTENT.md
  • 02_PRECONDITIONS.md
  • 03_RULES.md
  • 04_PROCEDURE.md
  • 05_OUTPUT.md

Scripts

If scripts are present, also read scripts/INDEX.md and follow any automated steps first.

majiayu000/claude-skill-registry-data/tree/main/quality/lexical-ontology commit a74210b3ae

Frequently asked questions

npx skillmds add majiayu000/refactor-lexical-ontology