Designing Tests
CloudAI-X/opencode-workflow
Guides test strategy, TDD/BDD approaches, test coverage planning, and testing best practices.
UVM-based functional verification — testbench architecture, test planning, directed and constrained-random stimulus, functional and code coverage closure, formal assist, and regression sign-off.
$ npx skills add hdl-tools/digital-chip-design-agents --skill functional-verification -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents functional-verification --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/verification/skills/functional-verification .claude/skills/functional-verification && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "functional-verification" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/verification/skills/functional-verification into .claude/skills/functional-verification/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "functional-verification", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/verification/skills/functional-verificationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add hdl-tools/digital-chip-design-agents --skill functional-verification -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents functional-verification --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/verification/skills/functional-verification .agents/skills/functional-verification && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "functional-verification" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/verification/skills/functional-verification into .agents/skills/functional-verification/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "functional-verification", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hdl-tools/digital-chip-design-agents --skill functional-verification -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents functional-verification --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/verification/skills/functional-verification .cursor/skills/functional-verification && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "functional-verification" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/verification/skills/functional-verification into .cursor/skills/functional-verification/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "functional-verification", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/hdl-tools/digital-chip-design-agents.git --path plugins/verification/skills/functional-verification--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add hdl-tools/digital-chip-design-agents --skill functional-verification -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents functional-verification --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/verification/skills/functional-verification .gemini/skills/functional-verification && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "functional-verification" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/verification/skills/functional-verification into .gemini/skills/functional-verification/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "functional-verification", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install hdl-tools/digital-chip-design-agents functional-verificationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add hdl-tools/digital-chip-design-agents --skill functional-verification -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/verification/skills/functional-verification .github/skills/functional-verification && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "functional-verification" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/verification/skills/functional-verification into .github/skills/functional-verification/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "functional-verification", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hdl-tools/digital-chip-design-agents --skill functional-verification -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents functional-verification --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/verification/skills/functional-verification .opencode/skills/functional-verification && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "functional-verification" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/verification/skills/functional-verification into .opencode/skills/functional-verification/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "functional-verification", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
functional-verificationUVM-based functional verification — testbench architecture, test planning, directed and constrained-random stimulus, functional and code coverage closure, formal assist, and regression sign-off.
Functional Verification is an agent skill from hdl-tools/digital-chip-design-agents. UVM-based functional verification — testbench architecture, test planning, directed and constrained-random stimulus, functional and code coverage closure, formal assist, and regression sign-off. Use when building a UVM testbench, writing tests, analysing coverage, or managing a verification regression.
Its SKILL.md is about 4.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Test strategy and Test coverage. The repository describes itself as: Digital HDL Design Full-stack Agents. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 38736b1. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteBashFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Functional Verification loads about 4.5k tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 2,197 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Write, BashAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from hdl-tools/digital-chip-design-agents at commit 38736b1, republished under its MIT licence (© hdl-tools). 2,197 words, ~4,460 tokens.
.claude/skills/functional-verification/SKILL.md (or your agent's skills folder).When this skill is loaded and a user presents a verification task, do not
execute stages directly. Immediately spawn the
digital-chip-design-agents:verification-orchestrator agent and pass the full
user request and any available context to it. The orchestrator enforces the stage
sequence, loop-back rules, and sign-off criteria defined below.
Use the domain rules in this file only when the orchestrator reads this skill mid-flow for stage-specific guidance, or when the user asks a targeted reference question rather than requesting a full flow execution.
Before executing or advising on any stage, read the following files if they exist:
memory/verification/knowledge.md — known failure patterns, successful tool flags, PDK/tool quirks.
Incorporate its guidance into every stage decision. If absent, proceed without it.memory/verification/run_state.md — current run identity (run_id, design_name, tool,
last_stage). Use this to resume correctly after interruption. If absent, a new run
is starting; the orchestrator will create this file before the first stage.This pre-run read applies whether this skill is loaded by a user or called by the orchestrator mid-flow. It ensures the fix database is consulted before any diagnosis step.
Guide the complete UVM functional verification flow from testbench architecture through coverage-closed regression sign-off. Produces a verified RTL package with documented coverage and a clean regression.
verilator) — fast cycle-accurate simulator; UVM support via verilator+UVMiverilog) — event-driven simulation for quick testbench checkspip install cocotb)vcs, dialect synopsys) — industry-standard SV/UVM simulatorxrun, dialect cadence) — multi-language simulator with coverage enginevsim / vlog / vcom, dialect siemens) — mixed-language simulation with UVM supportuvm_test
└─ uvm_env
├─ agent_A (active) driver + monitor + sequencer
├─ agent_B (passive) monitor only
├─ scoreboard
├─ coverage_collector
└─ virtual_sequencerready low for many cycles) and maximum-rate input with no gapsWIDTH=1,
DEPTH=1 and 2, N=1, and a non-power-of-two value. A value the RTL is meant to
reject gets a test that it refuses to elaboratedesign_state.rtl.unverified[] (claims
the RTL flow concluded without a tool run) gets a test or is marked as assigned to formal.
cdc and reset entries cannot be closed by functional simulation — record them as
needing a CDC/RDC tool run rather than as coveredfeature_id: F001
description: AXI write burst handling
tests: [direct_single_write, burst_len_256, narrow_transfer]
assertions: [axi_valid_stable, axi_handshake_check]
covergroups: [burst_len_cg, burst_type_cg]
priority: P0Testbench code is exempt from the RTL synthesis rules — initial, #delay and blocking
assignments are correct here — but it is still SystemVerilog that has to elaborate the same
way in every simulator.
`default_nettype none at the top of every testbench, interface and bind file, restored
with `default_nettype wire at the end so library code compiled after it is unaffected;
a typo in a DUT connection must be an error, not an implicit one-bit net#(.WIDTH(8))), never positional — a positional connection mis-wires silently when a
port list is reorderedint unsigned, logic [W-1:0]). An untyped parameter
and a size-cast bare literal (WIDTH'(1)) are signed; in a scoreboard comparison that
yields a false pass or a false mismatch on values with the top bit set!== so
an X or Z on the DUT output is a mismatch, not a silent passvalid without
waiting for ready, then hold valid and the payload stable until the beat is accepted. As
a sink: ready may depend on valid. A driver that waits for ready before asserting
valid deadlocks against a DUT that waits for valid, and hides DUT bugs that only appear
under back-pressurevalid && ready; valid not retracted before the beat is accepted; payload stable while
valid && !ready; valid and ready deasserted (not X) in resetImplement one directed test per V-plan entry — tests must be deterministic
Each test: verify the exact functional requirement it targets (no catch-all tests)
Error/exception paths: explicit stimulus to trigger each one
Corner cases: boundary values, max/min, overflow, underflow — one test each
Reset during active transaction: at least one test per interface
P0 tests must all pass before constrained-random phase begins
DUT bug found during directed test: write a fix_request entry to design_state.fix_requests[] per the schema in the verification-orchestrator Design State section; terminate with decision=escalate. The pipeline-orchestrator (chip-design-meta) handles RTL re-invocation — do not loop locally or wait for user confirmation.
Before filing, classify the failure as DUT bug or testbench bug, and name the mechanism,
not just the location — the reported symptom is not necessarily the bug. Set
suspected_rtl.basis to traced only when you followed the mismatch back to that signal
in the waveform; otherwise hypothesis. Start from the symptom:
| Symptom | Look first at |
|---|---|
| Intermittent, rate scales with clock ratio | Clock-domain crossing |
| Fails at bring-up, fine once running | Reset release and reset values |
| Hangs until reset | FSM state with no exit, protocol wait-for cycle |
| Wrong only for large values | Width truncation, arithmetic overflow |
| Wrong only for negative values | Signed/unsigned mix |
| Fails only under sustained load | Arbitration fairness, retracted valid, unstable payload |
| Passes in RTL sim, fails in gate sim | Blocking assignment in clocked block, incomplete sensitivity list, X-optimism |
| Degrades slowly over a long run | Leaked credit or token |
Never make a failing test pass by weakening the check: do not loosen the scoreboard comparison, disable or waive an assertion, or constrain stimulus away from the failing case unless that stimulus was illegal per the spec. A fix to the testbench must leave every other test's checking at least as strict as before
directed_tests rule 8| Type | Target | Priority |
|---|---|---|
| Functional (V-plan) | design_state.constraints.coverage.functional_pct% (default: 100%) | P0 |
| Code Line | ≥ design_state.constraints.coverage.line_pct% (default: 95%) | P1 |
| Code Branch | ≥ design_state.constraints.coverage.branch_pct% (default: 90%) | P1 |
| Code Toggle | ≥ design_state.constraints.coverage.toggle_pct% (default: 85%) | P2 |
| FSM State | design_state.constraints.coverage.fsm_state_pct% (default: 100%) | P0 |
| FSM Transition | ≥ design_state.constraints.coverage.fsm_transition_pct% (default: 95%) | P0 |
| Assertion triggered | design_state.constraints.coverage.assertion_pct% (default: 100%) | P1 |
| Tier | Trigger | Duration | Contents |
|---|---|---|---|
| Smoke | Every RTL commit | < 30 min | P0 directed tests |
| Nightly | Every night | < 8 hr | All directed + 100 random seeds |
| Weekly | Weekly gate | < 48 hr | Full suite, 1000 seeds |
| Sign-off | Tape-out gate | Unlimited | Full suite, 10,000 seeds |
coverage_analysis targets; driven by design_state.constraints.coverage.*)See plugins/meta/skills/pipeline-orchestration/SKILL.md §Constraints Schema for the authoritative schema and stage-entry validation rule.
No required keys for functional verification — all constraints in this domain are optional with schema defaults.
Optional (schema defaults apply when absent):
constraints.coverage.functional_pct (default: 100) — functional/V-plan coverage target %constraints.coverage.line_pct (default: 95) — code line coverage target %constraints.coverage.branch_pct (default: 90) — code branch coverage target %constraints.coverage.toggle_pct (default: 85) — toggle coverage target %constraints.coverage.fsm_state_pct (default: 100) — FSM state coverage target %constraints.coverage.fsm_transition_pct (default: 95) — FSM transition coverage target %constraints.coverage.assertion_pct (default: 100) — assertion trigger coverage target %Tag constraint_ref in history entries when evaluating QoR against these values (e.g. "coverage.functional_pct").
After each stage completes (regardless of whether an orchestrator session is active),
write or overwrite one JSON record in memory/verification/experiences.jsonl keyed by
run_id. This ensures data is persisted even if the flow is interrupted or called
without full orchestrator context.
Use run_id = verification_<YYYYMMDD>_<HHMMSS> (set once at flow start; reuse on each
stage update). Set signoff_achieved: false until the final sign-off stage completes.
Write memory/verification/run_state.md as the first action before launching any tool:
run_id: verification_<YYYYMMDD>_<HHMMSS>
design_name: <design>
tool: <primary tool>
start_time: <ISO-8601>
last_stage: <first stage name>Update last_stage after each stage completes. This file lets wakeup-loop prompts
and resumed sessions identify the correct run without relying on in-memory state.
Create the file and parent directories if they do not exist.
If mcp__plugin_ecc_memory__add_observations is available in this session, emit each
applied fix as an observation to entity chip-design-verification-fixes after writing to
experiences.jsonl. Skip silently if the tool is absent — JSONL is the canonical record.
© hdl-tools, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/verification/skills/functional-verification of hdl-tools/digital-chip-design-agents.
Open the folder on GitHubat commit 38736b1
Functional Verification next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Functional Verification this skillhdl-tools/digital-chip-design-agents | 211 | — | ~4.5k | Automated safety check: Notes | MIT | |
| Designing TestsCloudAI-X/opencode-workflow | 275 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Go TestingGentleman-Programming/gentle-ai | 7.6k | — | ~550 | Automated safety check: Pass | Apache-2.0 | |
| Automated Test Planningtestdouble/han | 279 | — | ~6.7k | Automated safety check: Pass | MIT | |
| Test Coveragethedaviddias/Front-End-Checklist | 74k | — | ~407 | Automated safety check: Pass | MIT | |
| QA LeadIbrahim-3d/orchestrator-supaconductor | 380 | — | ~2.5k | Automated safety check: Pass | AGPL-3.0 |
CloudAI-X/opencode-workflow
Guides test strategy, TDD/BDD approaches, test coverage planning, and testing best practices.
Gentleman-Programming/gentle-ai
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files.
testdouble/han
Produce a standalone test plan by analyzing code for test coverage gaps and edge cases.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing CI coverage, automated checks, or test strategy related to Maintain test coverage thresholds.
Ibrahim-3d/orchestrator-supaconductor
Quality assurance consultation for Conductor orchestrator. An agent skill from Ibrahim-3d/orchestrator-supaconductor.
bitwarden/ai-plugins
A skill your agent uses when determining what test coverage ALREADY exists for a specific change (a PR, Jira key, Tech Breakdown doc, Testmo CSV, changed paths, or named component).
hdl-tools/digital-chip-design-agents
Microarchitecture exploration, PPA estimation, risk assessment, and architecture sign-off for digital chip design.
hdl-tools/digital-chip-design-agents
Compiler toolchain development for custom processor ISAs — LLVM/GCC backend, assembler, linker scripts, runtime libraries, and regression validation.
hdl-tools/digital-chip-design-agents
Design for Test — scan architecture planning, scan insertion, ATPG pattern generation, MBIST for embedded memories, and JTAG boundary scan.
hdl-tools/digital-chip-design-agents
Embedded firmware and device drivers — BSP development, peripheral driver implementation (UART, SPI, I2C, GPIO, DMA, Timer), RTOS integration (FreeRTOS, Zephyr), and system validation.
hdl-tools/digital-chip-design-agents
Formal property verification (FPV) and logical equivalence checking (LEC).
hdl-tools/digital-chip-design-agents
FPGA prototyping — ASIC-to-FPGA RTL adaptation, multi-FPGA partitioning, synthesis and timing closure on FPGA, hardware bring-up, and software validation on the prototype.
Categories
UVM-based functional verification — testbench architecture, test planning, directed and constrained-random stimulus, functional and code coverage closure, formal assist, and regression sign-off. Functional Verification is an agent skill from hdl-tools/digital-chip-design-agents. UVM-based functional verification — testbench architecture, test planning, directed and constrained-random stimulus, functional and code coverage closure, formal assist, and regression sign-off.
Functional Verification fits situations like: building a UVM testbench; analysing coverage; managing a verification regression.
Run `npx skills add hdl-tools/digital-chip-design-agents --skill functional-verification -a claude-code`. Or copy the skill folder (plugins/verification/skills/functional-verification in hdl-tools/digital-chip-design-agents) into .claude/skills/functional-verification in your project. Claude Code loads it when a task matches its description.
Run `npx skills add hdl-tools/digital-chip-design-agents --skill functional-verification -a codex`. Or copy the skill folder (plugins/verification/skills/functional-verification in hdl-tools/digital-chip-design-agents) into .agents/skills/functional-verification in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hdl-tools/digital-chip-design-agents --skill functional-verification -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/functional-verification, .gemini/skills/functional-verification, .github/skills/functional-verification and .opencode/skills/functional-verification in your project.
Going by SKILL.md and its folder, Functional Verification needs the command-line tools its instructions call (pip). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Bash.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Functional Verification is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.5k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Functional Verification: Designing Tests (CloudAI-X/opencode-workflow, 275 stars), Go Testing (Gentleman-Programming/gentle-ai, 7.6k stars), Automated Test Planning (testdouble/han, 279 stars) and Test Coverage (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
hdl-tools (a GitHub organization) maintains it in hdl-tools/digital-chip-design-agents, which has 211 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 3, 2026.
Source: hdl-tools/digital-chip-design-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.