clari-local-dev-loop
БесплатноБез исполняемых скриптовНе проверенBuild and test a Clari integration locally with redacted fixtures and a deterministic job simulator. Use when developing without spending quota or exposing…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
Clari Offline Contract Development Loop
Overview
Make offline development the default and live provider calls an explicit integration stage. Model the provider’s authentication headers, job transitions, pagination, error objects, and schema drift without storing secrets or production records.
Prerequisites
- Chosen Clari surface and pinned contract version or fingerprint
- Synthetic fixtures covering success, empty, partial, and failure responses
- Local secret scanning and test-data classification rules
Instructions
Step 1: Define the contract boundary
List endpoints, headers, request fields, response fields, job states, and pagination semantics used by the integration.
Step 2: Build synthetic fixtures
Create minimal payloads that preserve shapes and identifiers while containing no real people, accounts, calls, forecasts, or deal values.
Step 3: Simulate state transitions
Make the test server move deterministically through queued, running, completed, aborted, rate-limited, and timed-out paths.
Step 4: Exercise adapters
Run parser, schema, retry, pagination, idempotency, and redaction tests against the simulator with network access disabled.
Step 5: Add one gated live smoke test
Use a dedicated non-production identity and the smallest read-only request; skip it unless credentials and explicit integration-test approval are present.
Step 6: Refresh deliberately
When the provider contract changes, review the diff, update fixtures and assertions together, and retain the old failing fixture as migration evidence.
Authentication
Offline tests must use obvious dummy values. A gated live test may read credentials from the approved secret manager at runtime, but must never serialize headers or provider payloads into test output.
Tool Discipline
Use Read and Grep to inspect configuration, provider contracts, fixtures, logs, schemas, and existing tests before proposing a change. Use Write or Edit only for the approved plan, implementation, test, or redacted receipt; do not issue, rotate, revoke, create, update, cancel, delete, export, ingest, or publish provider data without explicit operator approval.
Output
- Pinned endpoint and schema contract manifest
- Synthetic fixture set with provenance and data-classification receipt
- Offline test report plus separately identified live-smoke result
Return the exact surface, environment, resource or job identifiers, contract fingerprint, evidence, unresolved risks, and final decision without exposing credentials or sensitive customer data.
Examples
A local export client receives synthetic SCHEDULED, STARTED, and DONE responses, then a 429 and an ABORTED job. CI proves bounded retry and redaction without consuming a Clari export.
Error Handling
| Failure | Response |
|---|---|
| Fixture contains real customer data | Quarantine and remove it, rotate any exposed credential, and replace it with generated values. |
| Mock diverges from the provider contract | Pin the current contract fingerprint and add a regression fixture for the observed delta. |
| Live smoke runs unexpectedly | Fail closed unless an explicit environment gate and non-production credential are both present. |
Resources
Установить clari-local-dev-loop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepWriteEditВложенные файлы
FAQ
Что делает скилл clari-local-dev-loop?
Build and test a Clari integration locally with redacted fixtures and a deterministic job simulator. Use when developing without spending quota or exposing customer data. Trigger with: "mock Clari locally", "build Clari fixtures", "test Clari offline".
Как установить скилл clari-local-dev-loop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл clari-local-dev-loop запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic