attio-ci-integration
БесплатноБез исполняемых скриптовНе проверенBuild a bounded CI contract gate for an Attio integration using fixtures, schema checks, and an optional read-only smoke request. Use when Attio changes need…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
Attio Contract Gate for CI
Overview
This skill turns an Attio integration change into deterministic pull-request evidence. It separates offline contract tests from an explicitly enabled read-only API smoke test.
Prerequisites
- A named repository and existing test runner
- Sanitized Attio response fixtures or generated contract fixtures
- A separately scoped CI credential only if a live smoke test is approved
- The endpoint's current required scopes and pagination contract
Tool Discipline
Use Read, Glob, and Grep to inspect workflows, fixtures, client code, and secret names. Use WebFetch only for current official Attio documentation. Use Write or Edit only after identifying the target files, constraints, and verification plan.
Current Contract
- Test the
https://api.attio.com/v2response envelope and application-owned normalization separately. - Treat pagination as endpoint-specific: some endpoints use
limitandoffset; others returnpagination.next_cursor. - Keep mutation tests offline unless a dedicated disposable workspace and cleanup plan are approved.
- Never expose an access token in logs, snapshots, test names, or artifacts.
Authentication
Use a single-workspace access token for one controlled workspace or OAuth for a multi-workspace app. Grant only the endpoint scopes required by the smoke test and pass the token through the CI secret store as a Bearer credential.
Instructions
- Inspect the changed endpoints, request methods, scopes, and response shapes.
- Add fixture tests for success, structured Attio errors, pagination termination, and retry classification.
- Validate that snapshots redact tokens, record values, webhook secrets, and personal data.
- Add a disabled-by-default live job that performs only an approved read request such as listing objects.
- Require explicit environment configuration before that job runs; skip it cleanly on forks.
- Record the exact test command, fixture revision, and live-smoke disposition in the PR evidence.
Approval Boundaries
Do not create, update, or delete records from ordinary PR CI. A mutation smoke test requires a named disposable workspace, bounded fixtures, cleanup verification, and repository-owner approval.
Output
Return the endpoint contract matrix, fixture coverage, redaction result, workflow change, local command result, and live-smoke status.
Error Handling
| Condition | Response |
|---|---|
| Fork has no secret | Skip only the live job; keep offline tests required. |
| Fixture differs from docs | Confirm the live endpoint and refresh the fixture deliberately. |
| Smoke returns 403 | Check the endpoint's required scopes; do not broaden blindly. |
| Mutation detected | Fail the job and remove the mutating request. |
Examples
Input:
change=record-query-filter; live-smoke=read-only; fork-policy=skip-secret-job
Expected handoff:
fixtures=pass; redaction=pass; live-read=pass; writes=none
This result proves the pull-request gate exercised the contract without receiving mutation authority.
Resources
Установить attio-ci-integration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepWebFetchWriteEditВложенные файлы
FAQ
Что делает скилл attio-ci-integration?
Build a bounded CI contract gate for an Attio integration using fixtures, schema checks, and an optional read-only smoke request. Use when Attio changes need pull-request evidence without mutating CRM data. Trigger with "Attio CI", "test Attio integration", or "Attio pull request gate".
Как установить скилл attio-ci-integration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл attio-ci-integration запускает скрипты?
Нет, скилл состоит только из инструкций (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