Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-normattiva

БесплатноБез исполняемых скриптовНе проверен

Italian law in your terminal: resolve citations, read any article at any date, diff versions and track amendments. Trigger phrases: `leggi l'articolo 2043 del…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Normattiva — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the normattiva-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install normattiva --cli-only
    
  2. Verify: normattiva-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.10 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/productivity/normattiva/cmd/normattiva-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Type citations the way lawyers write them ("art. 2043 c.c.", "d.lgs. 196/2003 art. 13") and get the authoritative Normattiva text as clean text (or Markdown with --formato markdown), at today's date or any past date. On top of search and reading: verifica checks citations in a draft, diff shows how an article changed, novita reports changes to the acts you follow with segui add, and fascicolo builds date-pinned context packs for filings and AI agents.

When to Use This CLI

Use this CLI when an agent or a person needs the authoritative text of Italian national legislation (laws, decrees, codes, the Constitution), possibly as in force on a specific date, or needs to check that cited norms exist and are current. It is the right tool for citation verification, point-in-time reading, article diffs and amendment monitoring.

Anti-triggers

Do not use this CLI for:

  • Case law and court rulings (use a giurisprudenza tool such as giustizia-amministrativa)
  • Regional laws and EU regulations, which are outside Normattiva's State-law corpus
  • Legal advice or interpretation: the CLI returns text, not opinions

Unique Capabilities

Citation checking and context packs

  • verifica — Check every Italian law citation in a draft or an AI answer: does it exist, and was it in force on a given date?

    Reach for this before trusting any generated legal citation; non-zero exit means at least one citation is wrong or no longer in force.

    normattiva-pp-cli verifica "art. 2043 c.c." "art. 3 L. 241/1990" --al 2024-01-01 --agent
    
  • fascicolo — Assemble several articles from different laws, all pinned to one reference date, into one Markdown document.

    Use it to give an agent or a filing the exact text of every relevant norm as of one date.

    normattiva-pp-cli fascicolo "art. 2043 c.c." "art. 3 L. 241/1990" --al 2021-05-10
    

Law across time

  • diff — See word by word what an article said on one date versus another, or versus its original text.

    Use it when the applicable version of a norm depends on the date of the facts (tempus regit actum).

    normattiva-pp-cli diff "d.lgs. 196/2003" --articolo 2-ter --dal 2019-01-01
    
  • novita — Follow the acts you care about (segui add) and get a report of which ones and which articles changed since your last check.

    Use it for recurring compliance monitoring instead of scanning the whole national updates feed.

    normattiva-pp-cli novita --agent
    

Command Reference

collezioni — Prebuilt collections of acts (e.g. Codici)

  • normattiva-pp-cli collezioni — List prebuilt collections with their act counts

dettaglio — Raw act and article detail endpoints (use 'testo' and 'atto' for rendered text)

  • normattiva-pp-cli dettaglio gazzetta — Read an act by Gazzetta Ufficiale coordinates (current text only)
  • normattiva-pp-cli dettaglio urn — Read an act or article by URN:NIR (supports ~artN, @originale, !vig=YYYY-MM-DD)

esportazioni — Bulk exports of acts as ZIP archives

  • normattiva-pp-cli esportazioni <token> — Check the status of an asynchronous export request

ricerca — Search Italian legislation (raw search endpoints; prefer cerca)

  • normattiva-pp-cli ricerca aggiornati — Acts whose consolidated text changed between two dates (max 12 months)
  • normattiva-pp-cli ricerca avanzata — Advanced search by act type, title, text, dates, vigenza and
Полный SKILL.md на GitHub

Установить pp-normattiva в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-normattiva?

Italian law in your terminal: resolve citations, read any article at any date, diff versions and track amendments. Trigger phrases: `leggi l'articolo 2043 del codice civile`, `verifica queste citazioni normative`, `cosa diceva l'articolo nel 2019`, `quali leggi sono cambiate questa settimana`, `use normattiva`, `run normattiva`.

Как установить скилл pp-normattiva?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-normattiva запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-normattiva с