OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
Add component review skills and skill validation CI (#38342)
Maxim Vafin31f1a4055a99
diff --git a/.claude/skills/code-review/SKILL.md b/.claude/skills/code-review/SKILL.mdnew file mode 100644index 00000000000..a0660a1f5d2--- /dev/null+++ b/.claude/skills/code-review/SKILL.md@@ -0,0 +1,129 @@+---+name: code-review+description: Review OpenVINO changes for correctness, compatibility, performance, security, testing, and maintainability. Use when reviewing a pull request or proposed diff.+---++# OpenVINO Code Review++## Purpose++Provide a concise, evidence-based review of the proposed diff. Review changed+code and the directly affected neighboring code; do not perform a broad audit+of unrelated legacy code.++## Review workflow++1. Read the diff, commit or pull request description, and relevant surrounding+ code.+2. Identify the affected component, public APIs, runtime paths, input+ boundaries, and expected tests. Load the relevant component references+ from the table below.+3. Check for functional regressions first, then input safety, performance,+ compatibility, test coverage, and maintainability.+4. Before reporting a finding, confirm that the claimed problem exists in the+ source code. Distinguish source content from diff markers, line numbers,+ and other review annotations. Verify the failure against the configured+ behavior or documented requirements; do not assume additional triggers,+ unsupported usage, or stricter rules. If the available evidence does not+ establish a defect, omit the finding.++## Conditional review modes++### Revert pull requests++Treat a pull request that reverts a previously merged change as a regression+review rather than as entirely new functionality:++- Identify the original pull request or change from the title and description.+- Determine what behavior, bug, or risk the original change addressed.+- Check whether the revert reintroduces that issue or creates a new+ compatibility problem.+- Avoid requesting new tests, refactors, or style changes for restored code+ unless they are needed to prevent a concrete regression.+- If the original change and its rationale cannot be identified, state that as+ a validation gap rather than guessing.++### External contributions++For pull requests from external contributors, keep the review evidence-based+and focused on merge-blocking or materially risky behavior:++- Prioritize required CI results, buildability, changed-path risk, and+ correctness of the submitted diff.+- Verify that all commits stay within the scope described by the pull request.+ Call out unrelated component changes as an out-of-scope risk.+- Do not request extra local validation when required checks already cover the+ changed behavior and are passing.+- When checks fail, inspect the available evidence and distinguish+ change-induced failures from infrastructure, network, resource, or+ pre-existing test failures.+- Do not infer lower quality from external authorship; report only issues+ supported by the diff, tests, or CI evidence.++## Priority checklist++### Correctness and compatibility++- Check shape, element type, attributes, dynamic behavior, state, error paths,+ and cross-device behavior where relevant.+- Check backward compatibility for existing public APIs and serialized models.+- Check that generated code, bindings, documentation, and registrations remain+ consistent when an API or user-visible behavior changes.++### Safety++- Treat model metadata, file contents, and user-provided values as untrusted.+- Check bounds, overflow, signed/unsigned conversions, narrowing conversions,+ ownership, lifetime, and resource cleanup.+- Require validation before unsafe arithmetic or memory access, and prefer+ fail-fast errors over warning-only handling of invalid input.++### Performance++- Look for unnecessary tensor or container copies, allocations in hot paths,+ repeated invariant work, synchronization changes, and altered memory reuse.+- Require evidence before claiming a measurable performance regression.++### Tests and validation++- Expect regression coverage for bug fixes and behavioral changes when an+ existing test suite can express the scenario. Do not request a new test+ when equivalent coverage already exists.+- Check architecture, frontend, plugin, and dynamic-shape coverage where the+ changed behavior depends on them.+- Consider required CI and build metadata only when the diff changes those+ surfaces.++## Component guidance++Load only the references relevant to the changed behavior. Paths below are+relative to the repository root and include tests within each component.+Apply multiple references when a change crosses boundaries; for shared tests+or documentation, select by the behavior exercised or described.++| Changed paths or behavior | Reference |+| --- | --- |+| `src/core/`, `src/inference/` | [Runtime and core](references/runtime.md) |+| `src/common/transformations/`, `src/common/low_precision_transformations/`, `src/common/offline_transformations/`, `src/common/snippets/`, `src/core/src/pass/`, `src/core/src/pattern/`, `src/core/include/openvino/pass/`, transformation passes and tests under frontends or plugins, `src/bindings/python/tests/test_transformations/` | [Transformations](references/transformations.md), plus the owning component's guidance |+| `src/plugins/`, including plugin-local tests | [Plugins](references/plugins.md) |+| `src/tests/functional/` shared operator and inference behavior tests | [Runtime](references/runtime.md) and [plugins](references/plugins.md), as exercised |+| `src/frontends/`, `src/bindings/python/src/openvino/frontend/` (including PyTorch and JAX decoders), `src/bindings/python/src/pyopenvino/frontend/`, framework conversion tests in `tests/layer_tests/` and `tests/model_hub_tests/` | [Frontends](references/frontend.md); also apply [bindings](references/bindings.md) for Python API and language-boundary changes |+| `src/bindings/`, public API changes under `src/core/include/` or `src/inference/include/` | [Bindings and public APIs](references/bindings.md) |+| `.github/workflows/`, `.github/actions/`, `.github/scripts/`, `.github/dockerfiles/`, Smart CI and dependency configuration under `.github/`, `cmake/`, `CMakeLists.txt` and `*.cmake` at any depth, dependency manifests and integration changes | [CI, build, and dependencies](references/ci.md) |++## Review output++Report all material, high-confidence, actionable findings in descending order+of practical impact. Each finding should include:++- the exact changed location, linked when the review interface supports it;+- the failure mode and its impact on OpenVINO users, builds, or runtime; and+- a minimal, concrete fix direction.++Keep one issue per finding and use one representative location for a repeated+root cause. Omit speculative issues, style preferences enforced by tooling,+and unrelated refactor requests. Separate confirmed issues from questions,+assumptions, and validation gaps. Do not include secrets or sensitive data.++If no actionable issue is found, say so explicitly and summarize the areas+reviewed, tests or checks run, and any validation that remains unavailable.diff --git a/.claude/skills/code-review/references/bindings.md b/.claude/skills/code-review/references/bindings.mdnew file mode 100644index 00000000000..748f22f9435--- /dev/null+++ b/.claude/skills/code-review/references/bindings.md@@ -0,0 +1,25 @@+# Bindings and Public APIs Review++For frontend Python code under `src/bindings/python/src/openvino/frontend/`+or `src/bindings/python/src/pyopenvino/frontend/`, also apply+[frontend guidance](frontend.md). This includes the Python-based PyTorch+and JAX decoders, whose changes affect model conversion semantics.++- When a public C++ API changes, check applicable Python, C, and JavaScript+ bindings, documentation, and tests.+- Check that operator docstrings, input validation, and typing agree with core+ and binding behavior.+- Look for avoidable C++/language-boundary copies and wrappers around existing+ compiled bindings.+- Check exception translation and whether language wrappers preserve C+++ object and tensor lifetimes.+- Python `.pyi` files under `src/bindings/python/` are generated by+ [the stub update workflow](../../../../.github/workflows/update_pyapi_stubs.yml)+ using `pybind11-stubgen`. Do not request manual edits to generated stubs;+ trace discrepancies to the bindings or+ [stub generator](../../../../src/bindings/python/scripts/generate_pyapi_stubs.py)+ and request regeneration when applicable.+- The dependency versions should remain consistent across components and requirements files, especially frontend packages like torch and ONNX, but also packages like protobuf.+- There is a strict backwards compatibility policy. Any changes which may break it require a proper deprecation notice with a deprecation warning test.+- Extending public Python API also needs careful review, as once merged and released, we commit to maintaining it.+- The Python API should be a wrapper around C++ code - as much as possible should be done by underlying C++ API, instead of extending Python or pybind binding logic.diff --git a/.claude/skills/code-review/references/ci.md b/.claude/skills/code-review/references/ci.mdnew file mode 100644index 00000000000..5dec65f77d5--- /dev/null+++ b/.claude/skills/code-review/references/ci.md@@ -0,0 +1,16 @@+# CI, Build, and Dependencies Review++For regular GitHub Actions workflow, action, or CI-script changes, consult+[ov-github-actions-ci](../../ov-github-actions-ci/SKILL.md) for repository+conventions and validation guidance. Apply it to reviewing the proposed+changes; do not treat its implementation steps as instructions to modify code.++- Check workflow permissions, untrusted-input handling, path filters, Smart CI+ behavior, cache scope, runner requirements, and runtime cost.+- Check that reusable workflows and composite actions preserve their input and+ output contracts.+- For dependency changes, check licensing, provenance, compatibility, and the+ [dependency-review configuration](../../../../.github/dependency_review.yml).+- Check build, test, release, and commit-policy workflows when their behavior+ is affected.+- Prefer pinned, reproducible actions and explicit failure handling.diff --git a/.claude/skills/code-review/references/frontend.md b/.claude/skills/code-review/references/frontend.mdnew file mode 100644index 00000000000..aa650ed51a5--- /dev/null+++ b/.claude/skills/code-review/references/frontend.md@@ -0,0 +1,66 @@+# OpenVINO Frontend Review++Apply to changes under `src/frontends/`, frontend Python decoders and bindings+under `src/bindings/python/src/openvino/frontend/` and+`src/bindings/python/src/pyopenvino/frontend/`, and their conversion tests.++## Review focus++- Keep frontend code hardware- and plugin-agnostic. Conversion must preserve+ framework semantics without targeting a specific device or plugin. Flag+ device-dependent conversion branches or backend-specific optimizations;+ those belong in the relevant plugin's transformation or execution pipeline.+- Check rank, dimension, element type, layout, optional inputs, attributes,+ opset or framework-version behavior, and dynamic-shape handling.+- Support the broadest dynamism allowed by framework semantics, including+ dynamic ranks, dimensions, and element types. Always assume input element+ types may be dynamic during conversion; avoid creating constants with a+ type taken from an input. When a constant must match an input's type, create+ it with a concrete type and use `ConvertLike` to match the input without+ requiring its type to be known during conversion.+- Work with `ov::Output<ov::Node>` values when constructing the graph. Avoid+ extracting nodes with `get_node_shared_ptr()` just to pass them as inputs+ to another operation: this discards the original output index. Passing a+ node implicitly selects its default output (normally output 0), which can+ miswire a multi-output producer or fail if it has no default output.+ Preserve the original output value or explicitly select `node->output(i)`.+- Verify that conversion emits the intended OpenVINO graph and preserves+ framework semantics for valid inputs.+- Check malformed, missing, out-of-range, duplicated, and unsupported values+ for deterministic validation and useful errors.+- Check registration tables, opset ranges, translator dispatch, normalization+ passes, and framework-specific entry points for consistency.+- Check that conversion does not depend on unavailable compile-time shape or+ type information when runtime graph computation is required.+- Check that user-visible frontend behavior has focused regression tests,+ including dynamic, boundary, and malformed-input cases where applicable.++## Python decoders and bindings++- Review Python decoder changes as conversion logic. Check the graph, tensor+ types, shapes, constants, attributes, and input/output ordering exposed to+ the C++ frontend, including decoder and framework-object lifetimes.+- For PyTorch, check the affected+ [TorchScript](../../../../src/bindings/python/src/openvino/frontend/pytorch/ts_decoder.py)+ or [FX/export](../../../../src/bindings/python/src/openvino/frontend/pytorch/fx_decoder.py)+ path. Preserve mutation and alias semantics and verify that regression tests+ exercise the changed capture path.+- For [JAX](../../../../src/bindings/python/src/openvino/frontend/jax/jaxpr_decoder.py),+ check Jaxpr variable identity, literals and captured constants, primitive+ parameters, and output ordering against the C++ decoder contract.+- Apply [bindings guidance](bindings.md) when Python API, exception handling,+ ownership, or C++/Python interaction changes.++## Transformations++For frontend normalization and decomposition passes, also apply the+[transformation review guidance](transformations.md). Verify that pass ordering+and handling of framework placeholder nodes preserve conversion semantics.+These passes must follow the same hardware- and plugin-agnostic rules as+operation translators and Python decoders.++## Evidence and scope++Do not report unsupported framework behavior unless the diff claims to+support it or changes its error handling. Check that fallback nodes or+placeholder translators are not presented as full support.diff --git a/.claude/skills/code-review/references/plugins.md b/.claude/skills/code-review/references/plugins.mdnew file mode 100644index 00000000000..edaab29610d--- /dev/null+++ b/.claude/skills/code-review/references/plugins.md@@ -0,0 +1,9 @@+# Plugin Review++- Check that tensor layouts, backend operation semantics, and memory reuse+ remain consistent across primitive selection and execution.+- Check threading and synchronization against the backend's execution model.+- Check that device-specific tests run on hardware supporting the changed+ precision, instruction set, or kernel.+- In new C++ operator code, prefer the `ov::op::vX::OpName` namespace style+ used by current runtime APIs.diff --git a/.claude/skills/code-review/references/runtime.md b/.claude/skills/code-review/references/runtime.mdnew file mode 100644index 00000000000..00df6492299--- /dev/null+++ b/.claude/skills/code-review/references/runtime.md@@ -0,0 +1,7 @@+# Runtime and Core Review++For graph passes and the pass/pattern infrastructure, also apply the+[transformation review guidance](transformations.md).++- For stateful helpers or cached parameters, verify initialization, update,+ and reset behavior across all inference paths.diff --git a/.claude/skills/code-review/references/transformations.md b/.claude/skills/code-review/references/transformations.mdnew file mode 100644index 00000000000..571414cb398--- /dev/null+++ b/.claude/skills/code-review/references/transformations.md@@ -0,0 +1,43 @@+# Transformations Review++Apply to graph passes, pattern matching, pass infrastructure, and their tests+in common code, frontends, and plugins. Use the owning component's guidance+alongside this reference.++## Graph rewrites++- Check that matching predicates and replacement preconditions cover the+ intended operation versions, types, shapes, and attributes. Consider dynamic+ inputs and multiple consumers when the rewrite relies on static values or+ exclusive ownership of a subgraph.+- Verify numerical semantics, output types and shapes, and required runtime+ metadata and tensor/friendly names after replacement. Preserve control+ dependencies and stateful behavior when the affected graph uses them.+- Connect and rewire graph edges using `ov::Output<ov::Node>` values so the+ producer's output index is preserved. Passing a node as an input implicitly+ selects its default output (normally output 0), which can miswire a+ multi-output producer or fail if it has no default output. Preserve the+ original output or explicitly select `node->output(i)`. Node access through+ `get_node_shared_ptr()` remains appropriate for matching, inspecting+ attributes, copying metadata, and other operations on the node itself.+- Check pass registration and ordering so the intended graph form reaches the+ matcher. Preserve applicable pass-disable and plugin callback behavior, and+ report whether the graph changed according to the pass API contract.+- Keep frontend transformations independent of hardware and plugins.+ Put device-specific rewrites in the relevant plugin pipeline.++## Regression coverage++- Verify that a positive test demonstrates the intended rewrite. Add negative+ coverage when changed preconditions must reject an unsafe match, such as an+ incompatible operation version or an additional consumer.+- Check that comparisons cover the property being changed. In+ `TransformationTestsF`, `ATTRIBUTES` and `CONST_VALUES` are not enabled by+ default; enable them when the regression involves those values.+- Do not disable metadata or name checks merely to make a test pass. Establish+ that any changed metadata or naming behavior is intentional.+- Request numerical comparison when structural checks cannot establish the+ required equivalence; account for existing plugin accuracy coverage.++Consult the [transformation testing guide](../../../../src/common/transformations/docs/writing_tests.md)+for fixture behavior, comparator flags, and test placement.diff --git a/.github/CODEOWNERS b/.github/CODEOWNERSindex 3598e32166a..013e886926d 100644--- a/.github/CODEOWNERS+++ b/.github/CODEOWNERS@@ -136,3 +136,10 @@/**/cmake/ @openvinotoolkit/openvino-ie-maintainers/**/*.cmake @openvinotoolkit/openvino-ie-maintainers/CMakeLists.txt @openvinotoolkit/openvino-ie-maintainers+/.claude/skills/code-review/ @openvinotoolkit/openvino-ci-maintainers+/.claude/skills/code-review/references/frontend.md @openvinotoolkit/openvino-common-frontend-maintainers+/.claude/skills/code-review/references/runtime.md @openvinotoolkit/openvino-ngraph-maintainers @openvinotoolkit/openvino-ie-transformations-maintainers+/.claude/skills/code-review/references/transformations.md @openvinotoolkit/openvino-ie-transformations-maintainers+/.claude/skills/code-review/references/plugins.md @openvinotoolkit/openvino-ie-maintainers+/.claude/skills/code-review/references/bindings.md @openvinotoolkit/openvino-ie-python-api-maintainers @openvinotoolkit/openvino-c-api-maintainers @openvinotoolkit/openvino-js-api-maintainers+/.claude/skills/code-review/references/ci.md @openvinotoolkit/openvino-ci-maintainersdiff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.mdindex ff0e683a0a1..d80357c8f12 100644--- a/.github/copilot-instructions.md+++ b/.github/copilot-instructions.md@@ -1,210 +1,70 @@-# OpenVINO Copilot Review Instructions--## Mission-You are an OpenVINO pull request reviewer. Prioritize **architectural consistency, correctness, performance, security, compatibility, and test impact** over style-only feedback.--Give high-signal review comments that help maintainers merge safely with minimal iteration.--## Copilot Review Model Constraints-- Copilot code review is a purpose-built system with limited context windows and non-zero hallucination risk.-- Optimize for **precision over recall**: fewer high-confidence comments are better than many speculative comments.-- Prefer comments tied to changed lines and immediate dependencies; avoid broad architectural speculation unless the diff clearly implies it.-- Do not duplicate the same issue across many files; report one representative location with clear scope. Before posting, verify no prior comment in the same review addresses the same root issue. If the same problem appears in N files, post once and state "same issue applies to N other locations."-- Do not assert specific runtime behavior of OpenVINO internal APIs (e.g., whether a method modifies input in-place vs returns a new object) unless the behavior is visible in the diff. If unsure about API semantics, ask a clarifying question instead of making a correctness claim.--## OpenVINO Context You Must Assume-- This repository is a large multi-component C++/Python project with strict CI and component ownership.-- Main areas: runtime core, transformations, plugins (CPU/GPU/NPU/AUTO/HETERO), frontends (ONNX/TF/TFLite/PyTorch/JAX/Paddle), bindings (Python/C/JS), tools, docs, and CI.-- Code ownership is enforced via `.github/CODEOWNERS`; CI scope is heavily label/component-driven.-- Pre-merge quality is enforced by extensive workflows in `.github/workflows` and merge queue.--## Review Priorities (in order)-1. **Functional correctness & regressions**-2. **Security and input-safety** (overflow, bounds checks, unchecked external input)-3. **Performance in hot paths** (extra copies, unnecessary allocations, expensive casts, cache/memory behavior)-4. **Public API and cross-language consistency** (C++ headers, Python/JS/C bindings, docs)-5. **Tests, GHA config changes if required, and CI coverage for changed behavior**-6. **Maintainability and readability**--## Review Activation Rules--### Default behavior-- Initiate automatic review for every non-suppressed PR upon opening and on each new push.-- On re-reviews triggered by new pushes, focus exclusively on newly changed or previously-flagged lines. Do not re-raise resolved issues or repeat the full review. If no new issues are found, a clean pass with zero comments is the correct outcome.--### Suppressed PRs-Automatic review is suppressed when **any** of the following conditions apply:-- PR is in **Draft** state.-- PR title contains **WIP** or **POC** (case-insensitive).-- PR carries the `do_not_review` label.--For suppressed PRs:-- Do not initiate automatic review.-- Review only when explicitly triggered by a user.-- Apply the same review protocol, quality criteria, and comment budget as for any regular PR. Suppression affects only activation timing, not review rigor.--### Re-activation on suppression removal-When a suppression condition is lifted (Draft → Ready for review, WIP/POC removed from title, or `do_not_review` label removed):-- Automatically initiate a full review as if the PR were newly opened.-- If prior review results exist from a manual trigger, do not duplicate previously reported observations; focus on areas not yet covered and on changes made since the prior review.--## Revert PRs-A revert PR restores a previously merged change. It is identified by the word "Revert" in the PR title or description, and typically references the original PR being reverted (e.g., `Reverts openvinotoolkit/openvino#NNNNN`).--- **Treat revert PRs with a lighter review posture.** A revert is not new code — it restores a prior known state. Do not evaluate it as a new change.-- **Focus the review on regression risk:** determine what the original PR fixed and whether reverting it re-introduces those issues (bugs, regressions, security fixes).-- Identify the original PR from the description or title. If possible, review its description and linked tickets to understand what it addressed.-- If the revert re-introduces a known prior issue, add a `[MEDIUM]` reminder comment noting the risk. Do **not** use `[BLOCKER]` — the author is likely aware, but a reminder is valuable.-- Do not request new tests, refactors, or style changes on revert PRs unless there is a clear correctness or security concern.-- Keep the comment budget minimal (1–2 comments). Prefer a concise review summary over line-level comments.-- If CI checks pass and no prior regression risk is identified, approve with a brief note.--## Review Protocol--For revert PRs, apply the lightweight protocol in the Revert PRs section instead of the full protocol below.--When reviewing a PR, always:-1. Determine changed component(s) by paths and labels (see `.github/labeler.yml`).-2. Validate that the change scope is focused and matches PR description/ticket.-3. Check for hidden side effects beyond edited files.-4. Verify impacted tests and CI jobs are represented.-5. For new third-party dependencies or public API changes, verify component labels are present when required by `.github/labeler.yml`.-6. Leave actionable comments with severity and concrete fix direction.--For PRs labeled `ExternalPR`, apply stricter evidence-based checks while keeping noise low:-1. Treat `ExternalPR` as a risk signal, not as proof of low quality.-2. Prioritize objective quality gates first: required CI status, build/test failures, and changed-path risk.-3. If validation checks have started, incorporate their results to increase review precision and value.-4. If buildability is in question, reference failing required checks and concrete failure symptoms; do not speculate.-5. Do not request extra local validation steps when required CI checks are green.-6. Keep comments focused on merge blockers, regressions, and security/performance risks; avoid style-only expansion.-7. Verify that all commits in the PR touch only files relevant to the stated PR description. If any commit modifies files outside the declared scope (e.g., CPU plugin changes in an ONNX FE PR), flag it as `[HIGH]` — accidental out-of-scope commits are a common ExternalPR issue.--Before posting any comment, apply this gate:-- **Evidence gate**: point to exact changed code and explain the failure mode.-- **Impact gate**: explain user/runtime/CI impact in OpenVINO terms.-- **Fix gate**: provide a concrete, minimal fix direction.-- If any gate fails, do not post a severity comment; ask a short clarifying question instead.--## Scope Control (Reduce False Positives)-- Review only PR diffs and directly impacted neighboring code.-- Do not raise style-only issues already enforced by CI (`clang-format`, naming checks, shellcheck) unless they hide correctness risk.-- Ignore purely formatting-only edits unless they alter semantics.-- Avoid review comments on unrelated legacy code not touched by the PR.-- Do not request large refactors in bug-fix PRs unless needed to prevent correctness/security regression.-- Highlight out-of-scope or accidental changes and request revert when they are not required for the stated fix.-- Do not comment on copyright header format — CI enforces the `Copyright (C) 2018-YYYY` convention automatically. Do not flag year ranges, header ordering, or boilerplate format.--## Ignore List for Automated Reviews-- Do not review vendored/third-party sources under `thirdparty/` unless the PR explicitly modifies integration or patch logic.-- Do not enforce component-specific runtime behavior rules on docs-only PRs.-- For generated or auto-updated files (for example stubs/version bumps), comment only if there is clear breakage risk.-- Python stub files (`.pyi`) under `src/bindings/python/` are auto-generated by a scheduled GitHub Actions workflow (`update_pyapi_stubs.yml`) using `pybind11-stubgen`. Do not request manual fixes to stub files.--## Component-Specific Expectations--### Runtime/Core/Transformations-- Favor minimal, deterministic transformations and guard against pattern-matching regressions.-- Watch for shape/dtype/attribute corner cases and cross-platform behavior differences.-- Require tests for bug fixes and transformation pattern updates.-- For stateful components (e.g., state helpers, cached parameters), verify that state is properly initialized, updated, and cleared across inference runs. Flag cases where state set in one call path is never reset in alternative paths.--### CPU/GPU/NPU Plugins-- Prioritize inference-path performance and memory correctness.-- Flag changes that may alter layout assumptions, memory reuse safety, threading behavior, or backend-specific semantics.-- Ask for targeted unit/functional tests reproducing the issue and preventing regressions.-- Prefer `ov::op::vX::OpName` namespace style over `opsetX::OpName` in new code.--### Frontends (ONNX/TF/TFLite/PyTorch/JAX/Paddle)-- Treat all model/input metadata as untrusted; require overflow-safe and bounds-safe logic.-- Ensure parser/import behavior changes include coverage for malformed/edge inputs.-- Check conversion output compatibility with existing frontend tests.--### Bindings and Public APIs-- For changes to existing public APIs, verify backward compatibility with previously released OpenVINO versions.-- If public C++ API changes, verify corresponding binding updates in `src/bindings/python`, `src/bindings/c`, and `src/bindings/js` when applicable.-- For Python API changes to operators, when corresponding files are in scope, verify docstrings, inputs, and typing align with Core implementation and binding behavior.-- For Python API and bindings changes, flag new avoidable C++↔Python data copies and unnecessary pure-Python wrappers around existing compiled bindings.-- Require docs updates for user-visible behavior changes (`docs/`, release notes when relevant).--### CI / Build / Dependencies-- For workflow changes, verify Smart CI conditions and runtime cost (avoid unnecessary precommit expansion).-- For dependency changes, enforce security/licensing expectations from `.github/dependency_review.yml`.-- Ensure branch/commit policy checks remain satisfied (`.github/workflows/check_pr_commits.yml`).--## Code Quality Rules to Enforce-- Flag debug/diagnostic print statements (`std::cout`, `std::cerr`, `printf`, `print()`, `LOG_DEBUG` used for temporary tracing) left in production or test code. This does not apply to PRs in Draft state or with titles/labels indicating WIP, POC, or "do not merge."-- For new or modified code, do not introduce `using namespace` in headers or in global/namespace scope of source files.-- Function-local `using` is acceptable when narrowly scoped and clearly improves readability (for example, `using std::swap; swap(a, b);` at the top of a function).-- Avoid unnecessary copying of large objects/tensors; prefer references or move semantics.-- Avoid hidden behavior changes and silent fallback/config mutation without explicit handling.-- Keep fixes minimal and root-cause oriented; avoid unrelated refactors.-- Prefer clear naming.-- Avoid duplicated logic; suggest usage of existing utilities for component, flag duplicated patterns, and suggest consolidation. Specifically watch for: identical or near-identical code in if/else branches, repeated computations inside loops that could be hoisted, and duplicated helper logic across functions in the same file.-- For constructor-heavy code, prefer proper initializer lists and explicit ownership semantics.--## Security Review Heuristics-- Treat arithmetic on sizes/offsets/indices as overflow-prone unless guarded.-- Flag implicit narrowing unconditionally.-- In bounds-sensitive code, flag unchecked casts and signed/unsigned mixing.-- Treat model metadata and file content as untrusted input in frontend/parser code paths.-- Prefer fail-fast validation to warning-only behavior for unsafe input states.--## Testing Expectations-- Every behavioral change should have corresponding tests in existing suites when possible.-- For bug fixes, actively verify that the PR includes a regression test exercising the specific fix scenario. If no such test is present, post a `[HIGH]` comment requesting one. This is the single most common gap in bug-fix PRs.-- For architecture-specific changes (x64/ARM64/RISCV, CPU/GPU/NPU), verify appropriate platform/test gating.-- If tests are skipped/disabled, require explicit rationale and limited scope.-- If required validation jobs fail, cite the exact failing job(s) and explain impact on merge readiness.--### CI Monitoring and Iterative Feedback-Proactively track GitHub Actions CI pipeline status for the PR under review. Deliver follow-up review iterations as new CI results become available.--**Continuous tracking rules:**-- When new CI results arrive after an initial review, post follow-up comments reflecting the latest CI state.-- If a prior CI analysis comment is outdated (e.g., a re-run resolved the failure), note the updated status concisely rather than leaving stale analysis.-- CI follow-up comments do not count toward the 5-comment review budget but must still pass the evidence/impact/fix gate.--**Failure analysis protocol:**-When a GitHub Actions job has failed:-- Inspect available failure logs to determine root cause.-- Classify the failure:- 1. **Infrastructure/environment** — flaky runner, network timeout, resource exhaustion, dependency mirror outage.- 2. **Pre-existing test issue** — known intermittent or broken test unrelated to the PR.- 3. **Change-induced** — the PR's code changes directly cause the failure.-- Post a follow-up comment with the category, failing job name, and concise root-cause explanation.-- For change-induced failures, provide actionable fix guidance tied to the diff; only post fix suggestions at high confidence.-- For infrastructure or pre-existing test issues, note that the failure appears unrelated to the PR.-- Apply the evidence/impact/fix gate. Do not post low-confidence CI analysis.--## How to Write Review Comments-- Use this severity prefix:- - `[BLOCKER]` must be fixed before merge: crash, silent data corruption, exploitable security vulnerability, incorrect inference results, or irreversible ABI/API breakage affecting already-released OpenVINO versions- - `[HIGH]` high-confidence likely regression, measurable performance degradation, unsafe assumption that could silently become a bug, missing regression test for a bug fix, or incomplete coverage of a safety-critical path- - `[MEDIUM]` maintainability, readability, or design concerns that may cause future defects- - `[LOW]` minor clarity or maintainability nit that is not tooling-enforced and does not affect merge readiness-- If severity is uncertain between `[BLOCKER]` and `[HIGH]`, use `[HIGH]`.-- Each comment should include:- 1. What is wrong/risky- 2. Why it matters in OpenVINO context- 3. Specific fix suggestion--Comment quality constraints:-- One issue per comment (no bundled laundry lists).-- Keep comments concise and implementation-ready.-- Include a code suggestion only when it is syntactically plausible and does not require unknown APIs.-- If confidence is low, ask one targeted question instead of asserting.--## Comment Budget-- Do not exceed 5 comments per review pass. All severity levels (`[BLOCKER]`, `[HIGH]`, `[MEDIUM]`, `[LOW]`) count toward this limit.-- Rank by severity and likely merge-blocking impact.-- Skip low-value nits when BLOCKER/HIGH issues are present.-- For `ExternalPR`, bias toward fewer, higher-confidence comments to avoid misleading contributors.-- Avoid low-value comments that conflict with auto-formatting or established project conventions.--## Output Requirements for Automated Reviews-- Focus only on issues materially affecting quality gates.-- Do not invent project rules; reference existing repository conventions and paths.-- If uncertain, state assumptions explicitly and ask for clarification rather than guessing.-- Provide a concise review summary of top risks, test/CI impact, and any unresolved questions.-- Prefer no comment over a low-confidence comment.\ No newline at end of file+# OpenVINO Copilot Instructions++## Scope++These instructions apply to changes in this repository. Follow more specific+instructions and skills when they are available for the files being changed.+Skills are available through `.agents/skills/` (a symlink to `.claude/skills/`)+and should be loaded when their description matches the task. Component-specific+documentation and local README files take precedence over general assumptions.+For code reviews, start with `.agents/skills/code-review/SKILL.md` and then+load the component references selected by its path-routing table. Ownership+and automatic maintainer review requests are defined separately in+`.github/CODEOWNERS`.++## Repository practices++- Inspect the relevant implementation, tests, build files, and documentation+ before editing.+- Keep changes focused on the requested behavior. Preserve unrelated local+ work and do not rewrite or revert changes outside the task.+- Follow existing APIs, naming, ownership, error-handling, localization, and+ test patterns. Prefer existing helpers over duplicated logic.+- Preserve type safety and public API compatibility. Treat model data, files,+ and other external input as untrusted.+- Report errors explicitly using the repository's established mechanisms.+ Do not hide failures behind broad catches, silent defaults, or fallback+ behavior that changes semantics.+- Update directly related documentation and tests for user-visible or+ behavioral changes.++## Validation++- Run the smallest relevant formatter, linter, build, or test command after+ editing. Expand validation when targeted checks reveal broader impact.+- Do not claim validation passed when a required dependency, build, or test was+ unavailable; state the limitation and the exact command or failure.+- Review the final diff for accidental files, generated-file changes, secrets,+ debug output, and temporary artifacts.++## Safety++- Never expose credentials or secrets. Share private data or repository+ content with external services only within the user's authorized scope;+ this permits authorized GitHub pull requests and review comments.+- Do not commit secrets or create destructive changes without explicit+ authorization.+- Use the repository's dedicated skills for specialized tasks such as code+ review, frontend review, CI workflows, or frontend conversion work.++## Useful documentation++- [Contributor and developer documentation](../docs/dev/index.md)+- [Build guide](../docs/dev/build.md)+- [Coding style](../docs/dev/coding_style.md)+- [Testing and coverage](../docs/dev/test_coverage.md)+- [Debug capabilities](../docs/dev/debug_capabilities.md)+- [CI overview](../docs/dev/ci/github_actions/overview.md)+- [Smart CI](../docs/dev/ci/github_actions/smart_ci.md)+- [CI security](../docs/dev/ci/github_actions/security.md)+- [Core documentation](../src/core/README.md)+- [Frontend documentation](../src/frontends/README.md)+- [Plugin documentation](../src/plugins/README.md)+- [Python bindings](../src/bindings/python/README.md)+- [C bindings](../src/bindings/c/README.md)+- [JavaScript bindings](../src/bindings/js/README.md)++When working in a component, first look for its nearest `README.md`,+developer documentation, tests, and build instructions. For frontend work,+use the [frontend index](../src/frontends/README.md) to find the relevant+documentation and source directory.diff --git a/.github/scripts/skills/requirements.txt b/.github/scripts/skills/requirements.txtnew file mode 100644index 00000000000..f62ce0c56db--- /dev/null+++ b/.github/scripts/skills/requirements.txt@@ -0,0 +1 @@+PyYAML==6.0.3diff --git a/.github/scripts/skills/test_validate.py b/.github/scripts/skills/test_validate.pynew file mode 100644index 00000000000..b8986057ade--- /dev/null+++ b/.github/scripts/skills/test_validate.py@@ -0,0 +1,84 @@+# Copyright (C) 2018-2026 Intel Corporation+# SPDX-License-Identifier: Apache-2.0++from pathlib import Path+import subprocess+import sys+import tempfile+import unittest++import validate+++class ValidateSkillsTests(unittest.TestCase):+ def setUp(self):+ temporary = tempfile.TemporaryDirectory()+ self.addCleanup(temporary.cleanup)+ self.repository = Path(temporary.name)+ self.skill = self.repository / ".claude/skills/example"+ self.skill.mkdir(parents=True)+ (self.repository / ".agents").mkdir()+ (self.repository / ".agents/skills").symlink_to("../.claude/skills", target_is_directory=True)+ self.write_skill()++ def write_skill(self, metadata=None, body="Review the proposed change."):+ if metadata is None:+ metadata = {"name": "example", "description": "Review a proposed change."}+ (self.skill / "SKILL.md").write_text(+ "---\n" + validate.yaml.safe_dump(metadata) + "---\n" + body, encoding="utf-8"+ )++ def test_valid_optional_metadata(self):+ self.write_skill({+ "name": "example", "description": "Review changes.", "license": "Apache-2.0",+ "compatibility": "Requires Python 3.10", "metadata": {"version": "1.0"},+ "allowed-tools": "Read",+ })+ self.assertEqual(validate.validate(self.repository), (1, []))++ def test_invalid_metadata(self):+ for field, value in (+ ("name", "Different"), ("name", "example--skill"), ("name", "a" * 65),+ ("description", ""), ("description", 42), ("description", "x" * 1025),+ ("compatibility", "x" * 501), ("metadata", {"version": 1}),+ ("allowed-tools", ["Read"]), ("unexpected", True),+ ):+ with self.subTest(field=field, value=value):+ metadata = {"name": "example", "description": "Review changes."}+ metadata[field] = value+ self.write_skill(metadata)+ self.assertTrue(validate.validate(self.repository)[1])++ def test_malformed_frontmatter_and_empty_body(self):+ for text in (+ "No frontmatter", "---\nname: example", "---\n[]\n---\nBody",+ "---\nname: [\n---\nBody",+ "---\nname: example\nname: duplicate\n---\nBody",+ "---\nname: example\ndescription: Review changes.\n---\n",+ ):+ with self.subTest(text=text):+ (self.skill / "SKILL.md").write_text(text, encoding="utf-8")+ self.assertTrue(validate.validate(self.repository)[1])++ def test_missing_entrypoint_fails_but_removing_whole_skill_passes(self):+ (self.skill / "SKILL.md").unlink()+ self.assertIn("missing SKILL.md", validate.validate(self.repository)[1][0])+ self.skill.rmdir()+ self.assertEqual(validate.validate(self.repository), (0, []))++ def test_cli_exit_status(self):+ command = [sys.executable, validate.__file__, "--repo-root", str(self.repository)]+ self.assertEqual(subprocess.run(command, capture_output=True).returncode, 0)+ self.write_skill(body="")+ result = subprocess.run(command, capture_output=True, text=True)+ self.assertEqual(result.returncode, 1)+ self.assertIn("SKILL.md: missing skill instructions", result.stdout)++ def test_entrypoint_misplaced_at_collection_root(self):+ (self.skill / "SKILL.md").rename(self.skill.parent / "SKILL.md")+ self.skill.rmdir()+ self.assertIn("each skill must have its own directory", validate.validate(self.repository)[1][0])+++if __name__ == "__main__":+ unittest.main()diff --git a/.github/scripts/skills/validate.py b/.github/scripts/skills/validate.pynew file mode 100644index 00000000000..a0fb94d9a75--- /dev/null+++ b/.github/scripts/skills/validate.py@@ -0,0 +1,121 @@+# Copyright (C) 2018-2026 Intel Corporation+# SPDX-License-Identifier: Apache-2.0++"""Validate .claude/skills metadata and structure without executing skills."""++import argparse+from pathlib import Path++import yaml+++class UniqueKeyLoader(yaml.SafeLoader):+ """Reject duplicate YAML keys instead of silently overwriting metadata."""++ def construct_mapping(self, node, deep=False):+ mapping = {}+ for key_node, value_node in node.value:+ key = self.construct_object(key_node, deep=deep)+ if not isinstance(key, str) or key in mapping:+ raise yaml.constructor.ConstructorError(+ None, None, "mapping keys must be unique strings", key_node.start_mark+ )+ mapping[key] = self.construct_object(value_node, deep=deep)+ return mapping+++def split_frontmatter(text):+ lines = text.splitlines()+ if not lines or lines[0] != "---":+ raise ValueError("SKILL.md must start with YAML frontmatter (---)")+ try:+ end = lines.index("---", 1)+ except ValueError as error:+ raise ValueError("missing closing --- for YAML frontmatter") from error+ return yaml.load("\n".join(lines[1:end]), Loader=UniqueKeyLoader), "\n".join(lines[end + 1:])+++def metadata_errors(metadata, directory_name):+ """Check fields defined by https://agentskills.io/specification."""+ if not isinstance(metadata, dict):+ return ["frontmatter must be a mapping"]++ errors = []+ fields = {"name", "description", "license", "compatibility", "metadata", "allowed-tools"}+ for field in sorted(metadata.keys() - fields):+ errors.append(f"unknown frontmatter field: {field}")++ name = metadata.get("name")+ if not isinstance(name, str) or not 1 <= len(name) <= 64:+ errors.append("name must be a string of 1-64 characters")+ else:+ valid_characters = all((char.isalnum() and char == char.lower()) or char == "-" for char in name)+ if not valid_characters or name.startswith("-") or name.endswith("-") or "--" in name:+ errors.append("name must contain lowercase letters, numbers, and single internal hyphens")+ if name != directory_name:+ errors.append(f"name must match skill directory '{directory_name}'")++ for field, limit in (("description", 1024), ("compatibility", 500)):+ if field == "compatibility" and field not in metadata:+ continue+ value = metadata.get(field)+ if not isinstance(value, str) or not value.strip() or len(value) > limit:+ errors.append(f"{field} must be a non-empty string of at most {limit} characters")++ for field in ("license", "allowed-tools"):+ if field in metadata and not isinstance(metadata[field], str):+ errors.append(f"{field} must be a string")+ if "metadata" in metadata:+ value = metadata["metadata"]+ if not isinstance(value, dict) or any(+ not isinstance(key, str) or not isinstance(item, str) for key, item in value.items()):+ errors.append("metadata must map string keys to string values")+ return errors+++def validate(repository):+ repository = repository.resolve()+ root = repository / ".claude/skills"+ errors = []+ count = 0+ # Removing the last skill is a valid change.+ if not root.exists():+ return count, errors+ if (root / "SKILL.md").exists():+ errors.append(".claude/skills/SKILL.md: each skill must have its own directory")++ for directory in sorted(path for path in root.iterdir() if path.is_dir()):+ skill = directory / "SKILL.md"+ if not skill.is_file():+ errors.append(f"{skill.relative_to(repository)}: missing SKILL.md")+ else:+ count += 1++ for source in sorted(directory.rglob("SKILL.md")):+ relative = source.relative_to(repository)+ try:+ text = source.read_text(encoding="utf-8")+ metadata, text = split_frontmatter(text)+ errors.extend(f"{relative}: {error}" for error in metadata_errors(metadata, source.parent.name))+ if not text.strip():+ errors.append(f"{relative}: missing skill instructions")+ except (OSError, UnicodeError, ValueError, yaml.YAMLError) as error:+ errors.append(f"{relative}: {error}")+ return count, errors+++def main():+ parser = argparse.ArgumentParser(description=__doc__)+ parser.add_argument("--repo-root", type=Path, default=Path(__file__).resolve().parents[3])+ args = parser.parse_args()+ if not args.repo_root.is_dir():+ parser.error("--repo-root must be an existing directory")+ count, errors = validate(args.repo_root)+ for error in errors:+ print(f"ERROR: {error}")+ print(f"Checked {count} skill(s); {len(errors)} error(s).")+ return bool(errors)+++if __name__ == "__main__":+ raise SystemExit(main())diff --git a/.github/workflows/build_doc.yml b/.github/workflows/build_doc.ymlindex bf60f33ede4..2801a1bfecf 100644--- a/.github/workflows/build_doc.yml+++ b/.github/workflows/build_doc.yml@@ -71,6 +71,7 @@ jobs:needs: Smart_CIif: ${{ github.repository_owner == 'openvinotoolkit' }}runs-on: ubuntu-latest+ timeout-minutes: 15defaults:run:shell: bash@@ -78,6 +79,30 @@ jobs:- name: Clone OpenVINOuses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0+ - name: Detect skill changes+ id: skill_changes+ env:+ BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha }}+ run: |+ git fetch --no-tags --depth=1 origin "$BASE_SHA"+ changed_files=$(git diff --name-only "$BASE_SHA" HEAD -- .claude/skills/ .agents/skills)+ if [[ -n "$changed_files" ]]; then+ echo "changed=true" >> "$GITHUB_OUTPUT"+ fi++ - name: Setup Python for skill validation+ if: steps.skill_changes.outputs.changed == 'true'+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0+ with:+ python-version: '3.10'++ - name: Validate skill metadata+ if: steps.skill_changes.outputs.changed == 'true'+ run: |+ python -m pip install -r .github/scripts/skills/requirements.txt+ python -m unittest discover -s .github/scripts/skills -p 'test_*.py'+ python .github/scripts/skills/validate.py+- name: Check relative links in Markdown filesuses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0with:diff --git a/docs/dev/ci/github_actions/adding_tests.md b/docs/dev/ci/github_actions/adding_tests.mdindex ab28d20c729..0463aad4ac7 100644--- a/docs/dev/ci/github_actions/adding_tests.md+++ b/docs/dev/ci/github_actions/adding_tests.md@@ -8,6 +8,7 @@ This document explains how to create new workflows and add tests.## Table of Contents+* [Skill Validation](#skill-validation)* [Adding Tests to an Existing Workflow](#adding-tests-to-an-existing-workflow)* [Adding Tests to an Existing Test Suite](#adding-tests-to-an-existing-test-suite)* [Creating a Step in a Job](#creating-a-step-in-a-job)@@ -18,6 +19,31 @@ This document explains how to create new workflows and add tests.* [Adding a Job](#adding-a-job)* [Adding a Workflow](#adding-a-workflow)+## Skill Validation++The [Documentation workflow](../../../../.github/workflows/build_doc.yml) validates+skill metadata in its existing `Check_Doc_Links` job. The validation step runs only+when the pull request or merge-group diff changes `.claude/skills/**` or the+`.agents/skills` symlink, and checks all skills in `.claude/skills/`. Agents access+the same collection through `.agents/skills/`. Validation follows the documentation+workflow's existing Smart CI and draft-PR conditions. The `.github/agents-prototype/skills`+collection is outside this metadata check's scope.++The validator checks [Agent Skills metadata](https://agentskills.io/specification),+directory/name agreement, duplicate YAML keys, and non-empty instructions.+The existing Lychee step checks Markdown links, including skill references.+Skill scripts are not executed; instruction quality and agent behavior still need+review.++Run from the repository root (also when changing the validator or workflow itself+without skill changes, since metadata validation will be skipped in CI):++```sh+python -m pip install -r .github/scripts/skills/requirements.txt+python -m unittest discover -s .github/scripts/skills -p 'test_*.py'+python .github/scripts/skills/validate.py+```+## Adding Tests to an Existing Workflow### Adding Tests to an Existing Test Suitediff --git a/src/frontends/README.md b/src/frontends/README.mdindex eb43b09328d..2d9fd512ff2 100644--- a/src/frontends/README.md+++ b/src/frontends/README.md@@ -2,12 +2,16 @@OpenVINO Frontends allow converting models from the native framework to OpenVINO representation.-Below is the full list of supported frontends:+Frontend documentation and source directories:+ * [GGUF](./gguf/README.md)* [IR](./ir/README.md)+ * [JAX](./jax/)* [ONNX](./onnx/README.md)- * [Paddle](./paddle)+ * [Paddle](./paddle/README.md)+ * [PyTorch](./pytorch/README.md)* [TensorFlow](./tensorflow/README.md)+ * [TensorFlow Lite](./tensorflow_lite/)## See also* [OpenVINO™ README](../../README.md)diff --git a/src/frontends/gguf/README.md b/src/frontends/gguf/README.mdnew file mode 100644index 00000000000..018dc8aae70--- /dev/null+++ b/src/frontends/gguf/README.md@@ -0,0 +1,75 @@+# OpenVINO GGUF Frontend++The GGUF frontend converts native `.gguf` model files and graphs supplied through+the `GgufDecoder` interface into `ov::Model` objects. It supports two input paths:++* **Native GGUF:** parses the file's metadata and weights, selects a model builder+ from the architecture registry, and constructs a graph for conversion.+* **Supplied decoder:** consumes a `GgufDecoder`, such as the graph decoder used by+ the llama.cpp OpenVINO backend.++Both paths use the same operation translators. Their architecture coverage is+validated separately; consult [supported models and limitations](docs/supported_models.md)+for verified configurations and experimental support.++## Loading a model++Select this frontend explicitly by name:++```python+from openvino.frontend import FrontEndManager++manager = FrontEndManager()+frontend = manager.load_by_framework("gguf")+input_model = frontend.load("model.gguf")+model = frontend.convert(input_model)+```++The GGUF frontend is currently hidden from automatic frontend discovery, so+`ov.Core.read_model()` does not select it for `.gguf` files. See the+[frontend manager](../common/src/manager.cpp) and+[GGUF frontend implementation](src/frontend.cpp).++Conversion produces a stateless graph by default. Callers that need an OpenVINO+KV cache can register a decoder transformation extension using+[`GGUFMakeStateful`](include/openvino/frontend/gguf/make_stateful.hpp).+The [frontend API](include/openvino/frontend/gguf/frontend.hpp) documents supported+extensions; [internal operation guidance](docs/internal_ops.md) describes lowering+and serialization constraints.++## Source layout++| Location | Purpose |+| --- | --- |+| [include](include/openvino/frontend/gguf/) | Frontend, decoder, tokenizer metadata, and conversion-pass interfaces |+| [dev_api](dev_api/openvino/frontend/gguf/) | Model-builder and architecture-extension APIs; compatibility across releases is not guaranteed |+| [src/builder](src/builder/) | Architecture registry, native model builders, and graph construction |+| [src/quant](src/quant/) | GGUF parsing, weight loading, and quantization handling |+| [src/op](src/op/) and [op_table.cpp](src/op_table.cpp) | Operation translators and their registration |+| [src/pass](src/pass/) | Stateful conversion, GenAI adaptation, and graph cleanup |+| [tests](tests/) | Operation, architecture, quantization, and extension tests and fixtures |+| [examples](examples/) | Architecture-extension example |++## Development guides++* [Add an operation translator](docs/how_to_add_op.md).+* [Add a built-in architecture](docs/adding_an_architecture.md).+* [Port a llama.cpp model or build an external architecture extension](docs/porting_a_llama_cpp_model.md).+* [Debug accuracy differences](docs/debugging_accuracy.md).+* [Generate architecture accuracy fixtures](tests/test_data/arch_accuracy/README.md).++## Building and testing++Follow the repository [build guide](../../../docs/dev/build.md) for prerequisites.+The frontend is controlled by `ENABLE_OV_GGUF_FRONTEND`. From the repository root,+configure a shared-library build with tests enabled:++```sh+cmake -S . -B build -DENABLE_OV_GGUF_FRONTEND=ON -DENABLE_TESTS=ON -DBUILD_SHARED_LIBS=ON+cmake --build build --target openvino_gguf_frontend ov_gguf_frontend_tests+```++The GGUF frontend unit-test target is unavailable in static builds. See+[test configuration](tests/CMakeLists.txt) for fixture requirements and the+[operation testing guide](docs/how_to_add_op.md#test-and-the-coverage-gate) for+reference generation and coverage checks.