Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

claims

/claims

Pilnuje obietnic systemu wobec osób z zewnątrz, takich jak regulator lub klienci, i sprawdza, czy są dotrzymywane w kodzie.

Repozytorium
agent-pace ↗
Licencja
MIT
Ostatnia zmiana repozytorium
10.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pilnuje obietnic systemu wobec osób z zewnątrz, takich jak regulator lub klienci, i sprawdza, czy są dotrzymywane w kodzie.

Wyzwalacze z opisu

customer data never leaves the EU regionwe never store card numbersno payout runs without a human approvalmedical codes never change without clinician sign-offdo we still keep our promises?what have we already promised?harvest claims from our specs/docspace: continuity break
Oryginalny opis (EN)

Use when the user states a promise the system must keep true for someone outside the code (a regulator, customers, a partner, a cofounder) - for example "customer data never leaves the EU region", "we never store card numbers", "no payout runs without a human approval", "medical codes never change without clinician sign-off" - or asks to add, compile or check a claim, asks "do we still keep our promises?", wants to adopt pace in an existing codebase ("what have we already promised?", "harvest claims from our specs/docs"), or when a "pace: continuity break" message appears. Works only in a proj

Jak działa

  1. Rules (the hook enforces them)
  2. Add a claim
  3. Adopt in an existing codebase (brownfield)
  4. On a continuity break
  5. Check status
Sekcje z nagłówków SKILL.md, w oryginale · 46 linii, 732 słów
Podgląd SKILL.md
---
name: claims
description: Use when the user states a promise the system must keep true for someone outside the code (a regulator, customers, a partner, a cofounder) - for example "customer data never leaves the EU region", "we never store card numbers", "no payout runs without a human approval", "medical codes never change without clinician sign-off" - or asks to add, compile or check a claim, asks "do we still keep our promises?", wants to adopt pace in an existing codebase ("what have we already promised?", "harvest claims from our specs/docs"), or when a "pace: continuity break" message appears. Works only in a project with pace.toml.
---

# Claims ledger

`pace.toml` lists the promises the user has made outside the code. Each claim has a check. When an agent commits, pushes, merges or opens a PR, the pace hook runs every check. A failing check is a **continuity break**: the system now contradicts a promise. That is the only reason this plugin interrupts the user.

The script is `scripts/pace.py`, two folders above this skill's base directory: `python3 <base>/../../scripts/pace.py check`.

## Rules (the hook enforces them)
- `pace.toml` is owner-only. Never edit it. Show changes as a TOML block for the user to paste.
- Never edit an existing file in `claims/checks/`. A check that fails is news, not a bug to fix.
- Never set `mode`. Only the user moves observe to enforce.

## Add a claim
1. Quote the user's sentence exactly. If one word changes what the check must test (for example "never leaves the EU": stored only, or processed too?), ask that one question. Otherwise continue.
2. Pick the cheapest check that is faithful to the sentence, in this order: an existing test or script; a grep or Semgrep rule over the code; a config assertion (for example a Terraform region); a probe against the running app.
3. Write it as a **new** file `claims/checks/<id>.sh` or `.py` with the Write tool. Exit 0 = holds. Non-zero = break, after printing one line that says what broke.
4. Prove it bites. In a throwaway git worktree, make a small change that violates the claim, run the check, and confirm it fails. Remove the worktree, run the check on the real tree, and confirm it passes. Report both outputs. If you cannot make it fail, call it a **weak check** and say so; never present it as protection.
5. Print the TOML block for the user:
   ```toml
   [[claim]]
   id = "C2"
   said = "<the user's exact sentence>"
   to = "<who it was promised to>"
   since = "<YYYY-MM-DD>"
   cosign = ""   # someone who must agree to this claim, for example a domain expert
   ```
   The check is found by id: `claims/checks/<id>.sh` or `.py`. There is no `check` field.
6. After the user pastes it, run `pace.py check` and report the line for the new claim.

## Adopt in an existing codebase (brownfield)
Existing projects already hold promises in specs, security and privacy docs, compliance notes, ADRs and README files. Start from those, not from a blank ledger.
1. Run `pace.py harvest`. It lists sentences with strong promise wording (never, must not, shall, guarantee, no X without), spec-tool files first, and marks ones already in the ledger. `--all` adds weaker wording (must, always, only). It writes nothing.
2. Group the candidates by who the promise was made to (regulator, customers, partners, the team) and drop internal coding conventions; those belong in rules files, not the ledger. Ask the user one question that lists at most 10 and asks which ones they have actually promised.
3. Add each chosen one with the steps in "Add a claim". Prefer existing tests and scripts as checks: in an existing codebase most promises already have a test somewhere.
4. Run `pace.py check` on the current main branch. A claim that already fails on existing code is not a new break. Tell the user and offer two choices: fix it first, or add `known_break = "<why, and the ticket>"` to the claim. A known break is reported on every check but never blocks; when its check starts passing, `check` says so and the user removes the line.
5. Keep `mode = "observe"` for the first two weeks, then let the user decide on enforce from `pace.py stats`.

## On a continuity break
1. Do not change the claim, the check, or the mode.
2. Find the change that caused it (`git diff`, `git log -p` on the files the check reads).
3. Tell the user in one line: claim id, the sentence, the change that broke it. Then stop.
4. The user decides: revert the change, or change the claim. A changed claim means the promise changes, so the user tells whoever it was made to.

## Check status
`pace.py check` prints one line per claim: `holds`, `BREAK`, `known-break` (an existing violation the user accepted; never blocks), `error` (the check could not run or timed out; does not block) or `uncompiled` (no check yet). Report it as it is, in 100 words or fewer.

Wersje

RepozytoriumWynikLicencja
Ta strona · salismt/agent-pace100MIT
ruvnet/ruflo100MIT
fdu-ins/insurance-skills90Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki a76a4d8b1247 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100claim
    Rozkłada twierdzenie o produkcie na podtwierdzenia, sprawdza je w kodzie i testach i raportuje wszystkie luki.
  • 100custom-claims
    Wspiera tworzenie i zmiany funkcji Custom Claims: mapowanie claims i scope oraz verified_claims.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.