Skip to content
Back to skills

Lint Cdc

ASecurity

Check RTL lint and clock-domain crossings with SpyGlass, evaluate violations and justified waivers, and close the current assessment.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentspythonbashaws

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned September 21, 2026

npx -y skills add chipweaver/veripower --skill lint-cdc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lint Cdc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lint Cdc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chipweaver-lint-cdc/badge)](https://www.skillsdirectory.com/skills/chipweaver-lint-cdc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lint-cdc
description: Check RTL lint and clock-domain crossings with SpyGlass, evaluate violations and justified waivers, and close the current assessment.
---

# Lint and CDC

Assess the RTL against the task's lint and CDC requirements. Read `dispatch.json`, original intent,
requirements, RTL, constraint annotations and specification SGDC. Use carried evidence when its
implementation, setup and scope still apply; choose the checks the current task needs.

Write under `{workdir}`; upstream inputs remain read-only. The framework carries published setup
and reports into this directory, without the old verdict. Keep useful analysis in `evidence/`.

## Prepare and check

`<skill>` is this skill's directory:

```bash
python3 <skill>/scripts/lintcdc/__main__.py bootstrap --workdir {workdir}
```

Bootstrap installs missing setup without overwriting authored files and refreshes the file list
and generated SGDC. `constraint-annotations.json`
supplies synchronizer, reset, case-analysis and quasi-static declarations. Check inherited
`scripts/local.sgdc` and `scripts/waiver.tcl` against the current design. Correct invalid input
declarations at their source.

Run `make lint`, `make cdc`, or `make all` from the prepared workdir; `all` shares elaboration.
The entrypoint withdraws the selected check's old summaries before execution. Wait for completion,
read the reports and inspect both reported and waived violations. The reports include native
waiver details when messages were waived. Record the basis in `-comment`, with evidence references
where needed; assess it against the requirements, including whether limits apply before or after waivers.
Repair local setup errors and rerun the affected checks.

## Judge and close

```bash
python3 <skill>/scripts/lintcdc/__main__.py finalize --workdir {workdir} \
  [--requirements '[{"id":"R-1","met":true,"actual":"observed result","measured":"report and scope"}]'] \
  [--fail-reason "unresolved cause"] [--fix-owner <rule>]
```

Declare a judgment for every lint-cdc requirement using the reports and the actual waiver policy.
`finalize` reads `lint-violations.json` and `cdc-violations.json`; it does not judge waiver reasoning.
Use `--fail-reason` for unjustified waivers or invalid/incomplete checks, even when counts are zero. Name
the repair owner from the defect, including this stage for its own setup; do not infer ownership
from the path of an error. [Attribution guidance](references/attribution-rules.md) describes the constraint sources to check.
Acceptance changes follow the user's actual authorization.

Finalize withdraws the previous result before judging. Exit 0 means a pass/fail result was written;
return `STATUS: DONE`. On a nonzero exit, resolve the cause or return `STATUS: BLOCKED <cause>`.

Files in this skill

  • SKILL.md8 KB
  • references/attribution-rules.md3.4 KB
  • references/result.schema.json2.4 KB
  • scripts/lintcdc/__main__.py2.8 KB
  • scripts/lintcdc/bootstrap.py11.6 KB
  • scripts/lintcdc/result.py10.2 KB
  • templates/Makefile2.9 KB
  • templates/README.md1 KB
  • templates/env.sh792 B
  • templates/scripts/collect_report.py12 KB
  • templates/scripts/local.sgdc1 KB
  • templates/scripts/run.tcl1.9 KB
  • templates/scripts/run_spyglass.sh1.2 KB
  • templates/scripts/spyglass_lint.prj1 KB
  • templates/scripts/waiver.tcl1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.