ucp-conformance
/ucp-conformance
Uruchamia i pisze testy zgodności UCP: waliduje implementację względem oficjalnego zestawu testów, obejmującego checkout, zamówienia, realizację, płatności, idempotencję, webhooki i bezpieczeństwo.
- Autor
- OrcaQubits ↗
- Repozytorium
- agentic-commerce-skills-plugins ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 14.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 14.09.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
Uruchamia i pisze testy zgodności UCP: waliduje implementację względem oficjalnego zestawu testów, obejmującego checkout, zamówienia, realizację, płatności, idempotencję, webhooki i bezpieczeństwo.
Oryginalny opis (EN)
Run and write UCP conformance tests — validate a UCP implementation against the official test suite covering checkout lifecycle, orders, fulfillment, payments, idempotency, webhooks, and security. Use when testing or validating a UCP implementation.
Jak działa
- Before running tests
- Conceptual Architecture
Podgląd SKILL.md
--- name: ucp-conformance description: Run and write UCP conformance tests — validate a UCP implementation against the official test suite covering checkout lifecycle, orders, fulfillment, payments, idempotency, webhooks, and security. Use when testing or validating a UCP implementation. disable-model-invocation: true allowed-tools: Read, Write, Edit, Bash, Grep, Glob, WebSearch, WebFetch --- # UCP Conformance Testing ## Before running tests **Fetch the latest test suite**: Web-search `github Universal-Commerce-Protocol conformance` and fetch the README for current setup instructions, test data format, and CLI flags. Repository: https://github.com/Universal-Commerce-Protocol/conformance ## Conceptual Architecture ### What the Conformance Suite Tests The official suite contains ~13 test files covering: | Test File | What It Validates | |-----------|-------------------| | Checkout lifecycle | Full create → update → complete → verify flow | | Order management | Order creation, status transitions, data integrity | | Fulfillment | Shipping/pickup methods, group selection, option validation | | Card credentials | Payment credential format, tokenization | | Webhooks | Delivery, retry, signature verification | | Idempotency | Duplicate request handling, cache behavior | | Invalid input | Error responses for malformed requests | | Protocol compliance | Headers, TLS, version negotiation | | Data validation | Schema compliance, required fields, type correctness | | Service bindings | REST/MCP/A2A transport correctness | | Business logic | Totals calculation, tax, discount application | | AP2 integration | Mandate generation, signing, verification | | Security (simulation URLs) | URL validation, injection prevention | ### How to Run 1. Clone the conformance repo 2. Install dependencies with `uv sync` 3. Start your UCP server locally 4. Run tests pointing at your server: ```bash uv run checkout_lifecycle_test.py \ --server_url=http://localhost:8182 \ --simulation_secret=your-secret \ --conformance_input=test_data/your_store/conformance_input.json ``` ### Test Data Tests require a `conformance_input.json` file that describes your store's products, prices, and expected behaviors. Check the sample test data in the repo for the format. ### Writing Custom Conformance Tests When extending UCP with custom capabilities: 1. Use the same test patterns as the official suite 2. Test capability negotiation (extension present/absent) 3. Test schema validation against your custom schemas 4. Test error cases specific to your extension 5. Test idempotency for all mutating operations ### Integration with CI/CD - Run conformance tests as part of your CI pipeline - Use the `--server_url` flag to point at staging environments - Track test pass rates as a quality gate for deployments Always fetch the latest test suite before running — new tests are added as the spec evolves.
Wersje
W bazie nie ma innych skilli o nazwie ucp-conformance.
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki 3923938c0e3c (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90ucp-fulfillment
Implementuje rozszerzenie UCP Fulfillment: metody dostawy i odbioru, adresy, grupy realizacji, opcje do wyboru i szacowany czas dostawy w checkout UCP. - 100ucp-dev-patterns
Opisuje wzorce programowania UCP: algorytmy negocjacji możliwości, idempotencję, pętle rozwiązywania błędów, serwery wielowiązaniowe i architekturę produkcyjną. - 100ucp-runtime-debugging
Sprawdza, co robi działający projekt Unity: logi, testy, profilowanie klatek i hot-reload metod z terminala. - 100ucp-assets
Zarządza zasobami projektu Unity z terminala: wyszukuje i przenosi assety, edytuje materiały i sprawdza referencje. - 100ucp-checker
Wyszukuje sklepy obsługujące zakupy agentów AI i sprawdza, czy domena spełnia protokół UCP. - 100ucp
Obsługuje UCP CLI do wyszukiwania, porównywania, kupowania i śledzenia produktów u internetowych sprzedawców oraz konfiguracji i diagnostyki lokalnego profilu UCP, koszyka, checkoutu i zamówień.