---
name: salesloft-ci-integration
description: >-
  Gate Salesloft integration changes with offline contract fixtures and an optional fork-safe read-only smoke lane. Use when wiring CI for auth, pagination, errors, rate limits, or webhooks. Trigger with "Salesloft CI", "Salesloft contract tests", or "Salesloft GitHub Actions".
argument-hint: "[repository-path] [ci-provider]"
allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit
version: 1.6.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
tags:
- saas
- salesloft
- ci
model: inherit
effort: medium
compatibility: Designed for Claude Code
---
# Salesloft Contract CI

## Overview

This skill keeps pull-request validation deterministic and secretless while retaining a separately authorized live smoke check. It prevents CI from creating people or cadence memberships as a connectivity test.

## Prerequisites

- A repository with a test runner and identified HTTP adapter
- Sanitized success and failure fixtures
- Protected CI environment for any live credential
- Named owner for contract drift and smoke failures

## Tool Discipline

Use `Read`, `Glob`, and `Grep` to inspect workflows, test commands, adapters, and secret references. Use `WebFetch` only for official Salesloft contracts. Use `Write` or `Edit` after confirming the CI file and repository conventions.

## Current Contract

- Offline fixtures cover `data`, list `metadata`, singular `error`, field-keyed `errors`, and rate headers.
- Webhook tests sign exact raw bytes with SHA-1 HMAC and the fixture callback token.
- Untrusted fork workflows receive no Salesloft secret.
- The optional live lane performs one bounded read such as `GET /v2/me` and logs no response body.

## Authentication

Store a least-privilege read credential only in a protected environment. Pin it to a non-production or explicitly approved team and rotate it through the owning Salesloft flow.

## Instructions

1. Map required unit, contract, security, and static checks to CI jobs.
2. Run sanitized fixture tests on every pull request with no external dependency.
3. Assert secret redaction, tenant binding, pagination termination, bounded retries, and raw-body signature behavior.
4. Disable live jobs for fork-originated and untrusted events.
5. Run the live read-only smoke only after protected-environment authorization.
6. Make contract drift and live failures visible without leaking body or credential data.

## Approval Boundaries

Do not expose repository secrets to fork code, print API responses, or perform Salesloft writes from the default CI lane. A new live environment or scope needs owner approval.

## Output

Return workflow paths, trigger matrix, fixture coverage, secret boundary, live-lane guard, commands, results, and unresolved failures.

## Error Handling

| Condition | Response |
|---|---|
| Fork requests secret | Skip the live lane and run fixtures only. |
| Live 401/403 | Fail clearly and rotate or correct scope outside the log. |
| Live 429 | Stop; do not turn CI into a retry storm. |
| Fixture drift | Update contract and consumer together with an official-source receipt. |

## Examples

The example below shows the minimum redacted evidence expected from a successful invocation of this operator workflow.

```text
pr-fixtures=pass; fork-secrets=0; live-smoke=protected; writes=0
```

## Resources

- [Skill-specific official documentation](references/official-docs.md)
- [Request and response format](https://developers.salesloft.com/docs/platform/api-basics/request-response-format/)
- [Webhook delivery headers](https://developers.salesloft.com/docs/platform/webhooks/delivery-headers/)


---
Source attribution: jeremylongshore
Original project: https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/ab85a061f7bcc039dac13ee193de7a4cd4388571/plugins/saas-packs/salesloft-pack/skills/salesloft-ci-integration/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2025 Jeremy Longshore

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: jeremylongshore
Original project: https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/ab85a061f7bcc039dac13ee193de7a4cd4388571/plugins/saas-packs/salesloft-pack/skills/salesloft-ci-integration/SKILL.md
Attribution basis: Source repository record

Fields of work: Marketing, Sales
Roles: Business Development, Growth Marketer, Sales Engineer, Sales Operations, Sales Development Rep (SDR)
Specialties: API, Testing
Tools: GitHub, Git
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 07df6dd7b88dfe247670f34491831181905a655879a80343959b3787d8fedfa0
