SKILL5.9K installs7.8K

Spec To Code Compliance

Check code against the documentation that specifies it - which requirements hold, which the code contradicts, which are absent, and what the code does that no document mentions. Use when comparing an implementation against a whitepaper, protocol spec, or design document.

Type
Skill
Author
trailofbits
Category
Code Review
GitHub stars
7.8K
Installs
5.9K
Last updated
October 28, 2026

Install

npx skills add https://github.com/trailofbits/skills --skill spec-to-code-compliance

Use cases


Frequently Asked Questions

What does it report about each requirement?

Whether the requirement holds, the code contradicts it, or it is absent — plus behavior the code has that no document mentions.

What documents can I compare code against?

Whitepapers, protocol specs, and design documents.

Who is this aimed at?

Security and review work where spec drift matters.


About this skill

Checks code against the documentation that specifies it, identifying which requirements hold, which the code contradicts, which are absent, and what the code does that no document mentions. Use it when comparing an implementation against a whitepaper, protocol spec, or design document. It's aimed at security and review work where spec drift matters.

Summary written with AI assistance from the project's public description.


Categories


More from trailofbits


Similar Skills