constraint-write
/constraint-write
Pomaga zapisać ograniczenie projektu na podstawie sformułowań o zakazie, obowiązku lub niezmienniku, takim jak idempotentność czy roundtrip, i sugeruje zapis, gdy takie sformułowania pojawią się w rozmowie.
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 19.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pomaga zapisać ograniczenie projektu na podstawie sformułowań o zakazie, obowiązku lub niezmienniku, takim jak idempotentność czy roundtrip, i sugeruje zapis, gdy takie sformułowania pojawią się w rozmowie.
Wyzwalacze z opisu
Oryginalny opis (EN)
Use when the user asks to "/constraint-write", "write constraint", "define constraint", "幫我寫 constraint", "定義 constraint", or when the agent detects prohibition ("不能", "禁止", "must not"), obligation ("必須", "一定要", "always"), or invariant ("roundtrip", "idempotent") language in conversation and wants to suggest writing a constraint.
Jak działa
- Workflow
- Proactive Suggestion
- Property Patterns
Podgląd SKILL.md
---
name: constraint-write
description: >-
Use when the user asks to "/constraint-write", "write constraint",
"define constraint", "幫我寫 constraint", "定義 constraint", or when
the agent detects prohibition ("不能", "禁止", "must not"), obligation
("必須", "一定要", "always"), or invariant ("roundtrip", "idempotent")
language in conversation and wants to suggest writing a constraint.
---
# Constraint Write
You are helping the user articulate and document constraints in structured
natural language. Constraints are the user's laws; deterministic tools are
the judges.
## Workflow
1. If the user describes a rule, use dialogue to clarify the constraint
one section at a time: Given → When → Then → Unless → Examples → Properties
2. Read `references/constraint-format.md` for the canonical format
3. Scan existing `constraints/*.md` to determine the next available
RULE_ID number for the domain
4. Each constraint **must** have at least 3 rows in the Examples table —
no examples = no enforcement
5. Write the constraint to `constraints/<RULE_ID>-<slug>.md`
6. Create the `constraints/` directory if it doesn't exist
7. After writing, suggest running `/constraint-generate` to produce test artifacts from the new constraint.
## Proactive Suggestion
When the user uses prohibition ("不能", "禁止", "must not"), obligation
("必須", "一定要", "always"), or invariant ("roundtrip", "idempotent")
language in conversation, propose writing a constraint to capture that rule.
## Property Patterns
Consult `references/property-patterns.md` when helping the user write the
Properties section of a constraint.
Pliki w paczce (4)
- README.md 1 KB
- SKILL.md 2 KB
- references/constraint-format.md 7 KB
- references/property-patterns.md 6 KB
Wersje
W bazie nie ma innych skilli o nazwie constraint-write.
Migawka bazy z 13.11.2026 · wersja paczki ec631699dea8 (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
- 100constraint-generate
Czyta pliki constraints/*.md i generuje deterministyczne artefakty testowe dla zdefiniowanych ograniczeń projektu. - 90ecto-constraint-debug
Diagnozuje naruszenia ograniczeń Ecto: śledzi wyzwalacze i sprawdza migracje, gdy pojawia się błąd unique_constraint. - 90s4h-constraint
Kieruje do właściwego skilla pracy z ograniczeniami, gdy trzeba sprawdzić, czy limit jest naprawdę stały, wykorzystać ograniczenie albo znaleźć wersję minimalną. - 90constraint-enforce
Uruchamia czteropoziomowy potok deterministycznego egzekwowania na wygenerowanych artefaktach ograniczeń. - 100constraint-design
Pomaga projektować ograniczenia w sekcji Constraints pliku HARNESS.md: pisze reguły harnessu, dobiera typ egzekwowania, promuje ograniczenia i konfiguruje sloty weryfikacji. - 100constraint-bug-description
Przygotowuje zwięzły opis błędu Jira, gdy ograniczenie na poziomie buildera blokuje najnowszą wersję pakietu PyPI na produkcyjnym indeksie AIPCC, z linią repozytorium wymaganą przez narzędzia autofix.