Langium Zod

C+ 75 completed
Plugin
monorepo / markdown · small
391
Files
49,449
LOC
1
Frameworks
9
Languages

Pipeline State

completed
Run ID
#371229
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
72.00
Framework unique
Isolation
Last stage change
2026-05-10 03:35:28
Deduplication group #52829
Member of a group with 2 similar repo(s) — this repo is canonical view group →
Top concepts (2)
Project DescriptionTesting
Repobility · MCP-ready · https://repobility.com

AI Prompt

Create a TypeScript-based monorepo project called `langium-zod`. The goal is to build a Langium generator plugin that automatically derives Zod validation schemas directly from language grammar definitions. I need to include setup instructions for using it, showing how to import and use a function like `generateZodSchemas` with a grammar object. Please ensure the project structure supports development commands like linting, formatting checks, type-checking, building, and testing using Vitest.
typescript monorepo langium zod validation grammar plugin ast vitest
Generated by gemma4:latest

Catalog Information

This project enables runtime validation of Abstract Syntax Tree (AST) nodes in Langium-based language tools.

Description

Langium-zod-workspace is a generator plugin that derives Zod validation schemas from grammar definitions. This allows for runtime validation of AST nodes in Langium-based language tools, ensuring data integrity and consistency. The project leverages the power of Zod to provide robust schema validation, making it an essential tool for developers working with Langium.

الوصف

هذا المشروع هو مُنشئ إضافي يتيح إنشاء معايير التحقق من صحة Zod من تعريفات النحو. مما يسمح بتحقق الوقت الفعلي لنقاط AST في أدوات اللغة المعتمدة على Langium، مما يضمن سلامة البيانات وتناسقها. يستفيد المشروع من قوة Zod لتقديم التحقق من المعايير بشكل صارم، مما يجعل منه أداة أساسية للبرمجيين الذين يعملون مع Langium.

Novelty

7/10

Tags

runtime-validation ast-nodes langium-based-tools grammar-definitions zod-validation-schemas

Technologies

vitest

Claude Models

claude-opus-4.6

Quality Score

C+
75.4/100
Structure
82
Code Quality
65
Documentation
84
Testing
75
Practices
64
Security
92
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (43% test-to-source ratio)
  • Good security practices \u2014 no major issues detected
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • 1 files with critical complexity need refactoring
  • 394 duplicate lines detected \u2014 consider DRY refactoring
  • 1 'god files' with >500 LOC need decomposition

Recommendations

  • Add a linter configuration to enforce code style consistency

Security & Health

10.8h
Tech Debt (A)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (0)
Repobility's GitHub App fixes findings like these · https://github.com/apps/repobility-bot
MIT
License
10.6%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

markdown
76.5%
shell
6.1%
yaml
4.9%
toml
4.3%
typescript
3.7%
python
1.4%
javascript
1.3%
text
1.0%
json
0.8%

Frameworks

Vitest

Concepts (2)

Source-of-truth: Repobility · https://repobility.com
CategoryNameDescriptionConfidence
Same scanner, your repo: https://repobility.com — Repobility
auto_descriptionProject DescriptionMonorepo for langium-zod, a Langium generator plugin that derives Zod validation schemas from grammar definitions.80%
auto_categoryTestingtesting70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/95438.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV