36 个仓库
Logic for enforcing specific execution contexts in smart contracts.
Distinguishing note: Focuses on execution context validation.
Explore 36 awesome GitHub repositories matching software engineering & architecture · Contextual Validation Rules. Refine with filters or upvote what's useful.
Open Design is an AI design orchestration platform and LLM agent workspace designed for generating prototypes, presentations, and motion graphics. It functions as a local-first environment that integrates various command-line AI agents and coding tools into a unified design workflow, allowing users to migrate design specifications into brand-compliant source code. The project is distinguished by its ability to enforce visual consistency through a design system manager that defines brand contracts and tokens using Markdown. It features a specialized motion graphics generator that converts HTML
Injects universal, brand-agnostic craft rules for typography and color to ensure professional design quality.
Impeccable is a design system framework for large language models and an AI coding assistant plugin. It functions as an AI-driven UI generator and a rule-based design linter, providing a structured set of instructions and configuration files to standardize the production of professional user interfaces. The project features a design token orchestrator that maps standards across different AI provider environments and a config-driven factory for managing skills across multiple providers. It employs a deterministic rule engine to audit interfaces for accessibility violations, typography errors,
Provides automatic application of professional design rules to AI outputs to maintain consistent visual quality.
OpenZeppelin Contracts is a library of modular, secure, and reusable smart contract components designed for the development of decentralized applications. It provides a foundational framework for building standard-compliant contracts, offering battle-tested implementations for token standards, access control, and common utility patterns. The project distinguishes itself through its comprehensive support for complex architectural patterns, including proxy-based upgradeability, role-based access control, and account abstraction. It enables developers to implement modular logic injection via hoo
Restricts contract actions by validating transaction parameters against predefined rules and spending counters during the authorization process.
Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as an object schema validator and a data coercion engine, allowing developers to transform raw input values into desired types before performing validation checks. The library is distinguished by its support for dynamic schema validation, where rules can be adjusted at runtime based on sibling field values or external context. It also enables recursive data structuring for polymorphic fields and provides a system for extracting static TypeScript interfaces from runtime schema def
Provides logic for performing runtime validation checks that adjust based on external context or sibling fields.
Claude Code is a command-line interface and multi-agent orchestration framework designed for autonomous software engineering. It enables AI agents to perform codebase modifications, debugging, and Git workflow management while coordinating multiple specialized agents to decompose and execute complex engineering tasks in parallel. The system distinguishes itself through a high degree of isolation and safety, utilizing Git worktrees to create independent working directories for concurrent agents and implementing a tiered permission system that combines user rules, project policies, and OS-level
Uses AST traversal of shell commands to structurally validate and block dangerous execution patterns.
Monaspace is a collection of monospaced font families engineered specifically for programming environments. The system functions as a comprehensive typography suite that balances traditional grid-based alignment with expressive design aesthetics to improve visual hierarchy and readability within text editors. The project distinguishes itself through advanced font engineering that utilizes variable axes and contextual rules to modify character appearance dynamically. By employing semantic mapping and open-type feature injection, the fonts automatically adjust glyph shapes and spacing based on
Implements metadata-driven rules to automatically swap standard characters for expressive alternatives based on surrounding text patterns.
Instructor is a framework designed for structured data extraction, validation, and language model integration. It functions as a library that transforms unstructured text into validated, type-safe objects by leveraging schema definitions and model-specific tool-calling capabilities. By acting as a validation middleware, the project ensures that language model outputs strictly conform to defined data structures. The library distinguishes itself through a robust validation-based retry loop that automatically re-submits failed responses with error feedback to iteratively correct schema complianc
Enables dynamic validation checks by passing external runtime information into validation routines.
This project provides a custom rule set and configuration profiles for content processing tools. It consists of declarative rules and JSON-based configurations that define how a target application identifies and handles specific types of data. The system enables dynamic tool configuration by injecting external logic at runtime, removing the need for core system recompilation. These configurations use schema-validated rule sets to ensure structural integrity and prevent errors during processing. The project implements pattern-based data identification using regular expressions and a priority-
Allows for the dynamic injection of external rule files at runtime to modify tool logic without recompilation.
这是一个 jQuery 插件和客户端表单验证器,用于在提交到服务器之前验证 Web 表单输入。它采用基于规则的验证引擎,根据预定义或自定义规则检查用户输入,以确保浏览器中的数据完整性。 该工具被设计为一个符合 ARIA 标准的验证系统,使用辅助功能属性将错误消息链接到输入字段。这确保了屏幕阅读器用户在表单提交过程中,当字段包含无效值时会收到通知。 该系统支持通过异步 HTTP 请求进行远程服务器验证,并允许动态规则注入以添加自定义验证逻辑。它通过 DOM 链接的错误渲染来管理用户界面,并使用事件驱动的触发器在焦点、失焦或提交事件期间执行检查。
Employs a rule-based engine to match input values against predefined logic functions.
go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and CLI code from a specification document, and can also produce a specification by scanning annotated Go source code. The project includes a static validation engine that checks documents against the schema and project-specific rules, and a specification transformation pipeline that resolves, flattens, and merges documents. The toolkit generates both client and server code from the same specification, ensuring consistency in request and response handling. It also produces a command
Checks a Swagger 2.0 document against the specification and applies extra validation rules to catch common errors.
OpenCC is a library and command-line tool for converting text between Simplified Chinese, Traditional Chinese, and Japanese Kanji. It operates at both the individual character and multi-character phrase levels, and applies region-specific vocabulary choices for Mainland China, Taiwan, and Hong Kong during conversion. The conversion engine resolves ambiguous character mappings using semantic and contextual rules, normalizes variant character forms for consistent orthography, and sequences multiple dictionary files into a configurable pipeline. It supports embedding custom conversion rules dire
Embeds small custom conversion rules directly in configuration files without modifying external dictionaries.
This is a visual form builder that generates Vue single-file components from a drag-and-drop canvas. It provides a complete workflow for designing forms visually, previewing them in real time, and exporting them as ready-to-use Vue code with validation rules already configured. The tool integrates a drag-and-drop canvas with a live preview pane, allowing you to see the generated form interactively as you build it. It includes an embedded code editor with hot reload, so changes to the generated code are reflected immediately in the preview. A VS Code extension bridge lets you open the designer
Attaches declarative validation constraints to form fields that are enforced at runtime before submission.
async-validator 是一个 JavaScript 模式验证库和异步数据验证引擎。它通过应用递归规则和非阻塞的、基于 Promise 的执行来验证复杂的对象结构和嵌套数组,以确保数据完整性。 该库既充当对象约束验证器,也充当数据转换流水线。它允许通过在主要验证过程之前和之后运行的一系列函数来对输入值进行清洗、强制转换和格式化。 该引擎涵盖了一系列功能,包括递归嵌套验证、标准模式约束的强制执行,以及通过定制验证器函数集成自定义业务逻辑。它还提供了通过静态字符串或动态函数进行错误消息自定义和本地化的工具。
Checks objects against defined schemas and constraints to generate detailed reports of validation failures.
intl-tel-input is an international telephone input widget that provides a country-aware phone number entry experience with automatic formatting, validation, and E.164 normalization. It combines a searchable country picker with a format-as-you-type engine and a validation rule engine that checks numbers against country-specific patterns, returning machine-readable error codes when a number is invalid. The project ships as both a zero-dependency vanilla JavaScript library and as framework-specific components for React, Vue, Angular, and Svelte, all sharing the same core logic through a framewor
Checks phone numbers against country-specific length and digit-pattern rules, returning boolean or error codes.
Vuelidate is a model-based validation engine and form validation library for Vue.js applications. It functions as a state validator that checks data models and input fields against defined rules to ensure data consistency and correctness. The library provides tools for form state management, allowing developers to track the modified status of fields and extract specific validation errors. It enables control over validation timing, such as deferring the evaluation of rules until a user interaction occurs. The system covers a broad range of client-side data validation capabilities, including r
Processes independent validation functions returning booleans or promises to determine data validity.
Symfony Translation is a PHP library and framework component for internationalizing applications. It provides a complete system for managing message catalogs, handling locale-aware string translation, and formatting messages using ICU MessageFormat syntax to support pluralization, gender, and conditional selection. The component organizes translatable strings into named domains, supports key-based lookup that decouples source text from localized versions, and offers deferred rendering through translatable objects that store parameters and render only when output is needed. The library disting
Validates an entire object against defined constraints and returns a list of violations.
express-graphql 是一个 GraphQL API 服务器实现和 HTTP 中间件,用于将 GraphQL 模式(schema)连接到 HTTP 服务器。它提供了一个请求解析器,用于从各种内容类型中提取查询和变量,并提供了一个上下文提供程序,将 HTTP 请求数据和会话状态注入到解析器(resolver)函数中。 该库包含一个基于浏览器的交互式 IDE,可检测 GET 请求并提供 HTML 界面,用于测试查询和检查响应。它还支持自定义执行管道,允许覆盖默认的解析、验证、执行和错误格式化函数。 该项目涵盖了通过中间件和请求参数解析进行的 API 集成,以及基于 AST 的查询验证和基于模式的执行架构。它还提供了扩展响应元数据和应用验证规则以限制特定字段或操作的机制。
Applies structural validation by traversing the abstract syntax tree of a query to restrict specific fields or operations.
CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools
Sets one or more validation rules for a field using a pipe-delimited string or an array of rules.
Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a config-driven system for instantiating components, orchestrating distributed training, and managing parameter-efficient fine-tuning with quantization support, all through YAML-based configurations and command-line overrides. The library distinguishes itself through its comprehensive post-training workflow orchestration, combining supervised fine-tuning, preference optimization (DPO, PPO, GRPO), knowledge distillation, and quantization-aware training in a single configurable pip
Supports cross-field value interpolation in YAML configurations to reduce duplication.
Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a configurable training pipeline orchestrated through YAML recipes, with CLI overrides and component swapping, distributed training via FSDP2, memory optimizations, and parameter-efficient fine-tuning methods like LoRA, DoRA, and QLoRA. The library distinguishes itself through its YAML-driven configuration system that defines all training parameters and instantiates components from config files, with full CLI override capability for any field or component at launch time. It suppo
Reuses values across YAML config fields using interpolation syntax to avoid duplication.