eld-model-law-discovery

Discover vocabulary terms and law constraints from codebases and requirements.

1|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/CAPHTECH/claude-marketplace --skill eld-model-law-discovery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eld-model-law-discovery
Source: https://github.com/CAPHTECH/claude-marketplace/tree/main/caphtech-plugin/skills/eld-model-law-discovery
Command: npx skills add https://github.com/CAPHTECH/claude-marketplace --skill eld-model-law-discovery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automatically discovers vocabulary concepts and Laws from code and requirements to seed catalogs.

Core Features & Use Cases

  • Vocabulary discovery (Term/Type/Value/Context)
  • Law discovery (Pre/Invariant/Post/Policy)
  • Generates inputs for /lde-term-card and /lde-law-card

Quick Start

Run discovery on a new project to generate initial Law and Term candidates.

Frequently Asked Questions about eld-model-law-discovery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically discover vocabulary terms and constraints from my codebase?

Vocabulary discovery automatically extracts Terms, Types, Values, and Contexts from your source code, type definitions, Zod schemas, and domain models. The Skill scans files, generates term candidates with confidence levels, and outputs ready inputs for term card creation, eliminating manual catalog seeding.

Can I extract Laws and policies from existing code and requirements?

Law discovery automatically identifies Pre-conditions, Invariants, Post-conditions, and Policies from type definitions, APIs, and assertions in your codebase. It generates law candidates with confidence scores as structured inputs for law card creation.

What's the best way to seed a vocabulary catalog for a new project?

Run discovery on your new project to automatically generate initial Law and Term candidates from requirements and skeletal code. This populates your catalog with candidate vocabulary and constraints ready for refinement before downstream processing.

Does this work with existing codebases and retrofitting phases?

Yes. The Skill handles new projects, existing codebases, and retrofitting phases equally. It scans any codebase stage—early design through mature systems—to extract vocabulary and laws, supporting incremental catalog adoption.

What sources does the discovery process scan for vocabulary and laws?

Discovery scans type definitions, Zod schemas, domain models, APIs, and assertions across your source files. It extracts vocabulary structure and law constraints from these declarative and imperative patterns.

What output does discovery produce and how do I use it?

Discovery outputs Term and Law candidates with confidence levels, formatted as ready inputs for /lde-term-card and /lde-law-card. These structured outputs feed directly into term and law refinement workflows without manual translation.