midnight-verify:verify-by-source

Verify Compact or Midnight claims by reading source code across repositories.

37|9|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/devrelaicom/midnight-expert --skill midnight-verify-verify-by-source
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: midnight-verify:verify-by-source
Source: https://github.com/devrelaicom/midnight-expert/tree/main/plugins/midnight-verify/skills/verify-by-source
Command: npx skills add https://github.com/devrelaicom/midnight-expert --skill midnight-verify-verify-by-source

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This approach verifies claims about Compact or Midnight by reading the actual source code rather than relying on compilations or docs, enabling evidence-based validation of architectural or implementation claims.

Core Features & Use Cases

  • Source-code driven verification: Inspect compiler, ledger, node, and SDK sources to confirm or refute claims about language features, protocols, or implementations.
  • Cross-repo routing: Identify the primary repository that best fits the claim (e.g., compiler for language semantics, ledger for transaction structure, node for on-chain execution) and pull relevant evidence.
  • Evidence synthesis: Compile code excerpts, tests, and primary docs into a concise conclusion with references.
  • Use Case: Validate a claim such as "the Compact compiler source exports 57 primitives" by locating and quoting the exact source definitions.

Quick Start

Prompt the AI to locate primary sources and compare the claim against repository code across the ecosystem.

Frequently Asked Questions about midnight-verify:verify-by-source

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

FAQPage Schema
How do I verify claims about Compact or Midnight language features by inspecting source code?

Source code verification inspects primary repositories—compiler, ledger, node, and zk—to confirm or refute claims about Compact or Midnight. It routes investigations across the ecosystem and evaluates evidence directly from code, tests, and docs to synthesize accurate conclusions.

Can I validate an implementation claim about the Midnight blockchain without compiling and running code?

Yes, you can validate Midnight claims without compiling by reading source code directly. This process clones repositories when needed and evaluates evidence from code excerpts and tests to confirm architectural claims that cannot be tested by simply running code.

Which repository should I check to verify a claim about transaction structure in the Midnight ecosystem?

Check the ledger repository to verify transaction structure claims. The process routes investigations across the Midnight ecosystem to the best-fitting repository, selecting the compiler for language semantics, the node for on-chain execution, or the ledger for transaction structures.

What is the best way to confirm a specific claim about the number of primitives exported by the Compact compiler?

Locate and quote exact source definitions to confirm claims about Compact compiler primitives. This source-code driven verification approach inspects compiler sources directly, prioritizing primary source evidence over generated docs to validate specific numerical or architectural claims.

Does source code verification prioritize primary repository evidence over generated documentation for Compact?

Yes, source code verification prioritizes primary sources over generated documentation. When evaluating claims about Compact or Midnight, the process synthesizes findings with caution, ensuring that evidence from actual code, tests, and primary docs takes precedence over secondary materials.

When should I not rely on source code verification for analyzing the Midnight SDK ecosystem?

Avoid source code verification when claims can be tested by compiling and running code. This approach is specifically designed for claims that cannot be validated through execution and require deep inspection of primary repository sources across the Midnight and Compact ecosystems.