AGENT SKILL

highlevel-crm

Integrates with the HighLevel (GoHighLevel) CRM API v2 and its automation engine. Use when synchronizing data via OAuth 2.0, building custom widgets, handling sub-account `locationId` scoping, or implementing webhook-driven workflows with rate-limit-aware retries.

License 许可
MIT
最近更新
2026-05-27
Stars
★ 0
Forks
0

01 前言 Front Matter

name
highlevel-crm
vendor
highlevel
description
Integrates with the HighLevel (GoHighLevel) CRM API v2 and its automation engine. Use when synchronizing data via OAuth 2.0, building custom widgets, handling sub-account `locationId` scoping, or implementing webhook-driven workflows with rate-limit-aware retries.

03 SKILL.md 正文

Skill: HighLevel CRM (GoHighLevel)

Policy Capsule

  • Integrate with HighLevel exclusively through API v2 over OAuth 2.0; never hardcode credentials.
  • Manage access_token and refresh_token rotation in code — assume tokens expire and refresh proactively.
  • Include locationId on every API request to scope writes to the correct sub-account.
  • Prefer HighLevel's native automation engine; reach for custom code only when native workflows cannot express the requirement.
  • Implement exponential-backoff retry to respect HighLevel's API rate limits.
  • Use email as the primary key for contact deduplication; do not rely on CRM-internal IDs for cross-system joins.
  • Drive event-driven flows through HighLevel webhooks rather than polling.
  • Test integrations against a sandbox sub-account before pointing them at live data.

Protocols for integrating with the HighLevel CRM API (v2) and building custom widgets/automations.

1. Core Principles

  • API-First Integration: Use the HighLevel API v2 for all data synchronization, focusing on OAuth 2.0 security.
  • Workflow Automation: Leverage HighLevel's internal automation engine effectively; only use custom code when native workflows are insufficient.
  • Data Integrity: Ensure all custom fields, tags, and contacts are mapped accurately to prevent data corruption.

2. Technical Standards

  • OAuth 2.0: Securely manage access_token and refresh_token flows. Never hardcode credentials.
  • Webhooks: Use webhooks to trigger application logic when events occur in CRM (e.g., contact created, opportunity moved).
  • Rate Limiting: Implement exponential backoff and retry logic to respect HighLevel's API rate limits.
  • Location Context: Always include the locationId in your API requests to ensure data is scoped to the correct sub-account.

3. Best Practices

  • Custom Fields: Use unique, descriptive names for custom fields and mapping keys to avoid collisions.
  • Contact Sync: Use email addresses as the primary identifier for contact deduplication.
  • Testing: Always use a sandbox/test sub-account in HighLevel before deploying integrations to live accounts.

04 同仓库更多 Skills

chrisbarrantes
chrisbarrantes/mandrel

no-capsule-skill

Fixture without a Policy Capsule section.

★ 0
chrisbarrantes
chrisbarrantes/mandrel

backend-security-patterns

Combined backend protocols for authentication (Clerk JWT verification) and PII-safe observability. Use when handling auth on the server, verifying Clerk webhooks via `svix`, scoping metadata via `publicMetadata`/ `privateMetadata`, or sanitizing logs to keep emails, tokens, and request bodies out of telemetry.

★ 0
chrisbarrantes
chrisbarrantes/mandrel

vitest

Writes fast, isolated unit and integration tests with Vitest. Use when each test must run on file-save without shared state — `vi.mock()` for external deps, `vi.spyOn()` for call monitoring, AAA structure, and edge-case coverage for null/undefined/boundary inputs.

★ 0
chrisbarrantes
chrisbarrantes/mandrel

playwright

Robust E2E browser testing with Playwright. Use when writing browser-driven tests — leverage auto-waiting (no `waitForTimeout`), prefer user-visible locators (`getByRole`, `getByText`, `getByLabel`) over CSS/XPath, reuse `storageState` for auth, and enable trace-on-first-retry for CI debugging.

★ 0
chrisbarrantes
chrisbarrantes/mandrel

playwright-bdd

Wires Gherkin `.feature` files to Playwright via the `playwright-bdd` library. Use when running BDD scenarios on a Playwright runtime — pairs with the `gherkin-authoring` skill (scenario prose) and the `playwright` skill (browser conventions). Drives execution by tag expression with trace-first debugging and Playwright-native sharding.

★ 0
chrisbarrantes
chrisbarrantes/mandrel

lighthouse-baseline

Codifies the capture-and-check baseline pattern for long-running quality signals (Lighthouse scores, bundle size, p95 latency, runtime memory). Use when wiring a new metric that needs a baseline file, paired :capture / :check npm scripts, a tolerance-bounded gate, and a weekly refresh cadence — the goal is a hard CI signal that ratchets only with intent.

★ 0