skills/architect-api-patterns/SKILL.md
Defines cross-cutting API patterns for authentication, provisioning, preference management, and content delivery.
npx skillsauth add delta-and-beta/braze-agency architect-api-patternsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
★ Insight ─────────────────────────────────────
Nick generates skill files by synthesizing topic references into a domain-scoped lens. The skill body acts as Layer 2 in the hierarchy — it sits above individual topic reference files and provides the architectural perspective that unifies them. Rather than repeating topic details, a well-authored skill body should tell Claude how to think across those topics, not what's in them.
─────────────────────────────────────────────────
Here is the generated skill content:
Establish and enforce consistent design standards across Braze's REST API surface — covering authentication flows, user provisioning, preference management, subscription lifecycle, and data export. Apply this skill when designing new integrations, auditing existing API usage for security gaps, or advising on cross-domain API composition patterns.
This skill synthesizes patterns across six API domains:
| Domain | Primary Concern | |---|---| | SDK Authentication | Identifying and selecting the right credential type for client vs. server contexts | | SCIM Provisioning | Lifecycle management of dashboard users via standard identity protocols | | Subscription Groups | Batch state transitions for opt-in/opt-out compliance | | Preference Centers | User-facing control surfaces for communication consent | | Messaging | Send-time delivery routing and channel selection | | Export | Bulk data retrieval patterns and pagination strategies |
Evaluate all API decisions through three cross-cutting concerns:
Braze's API surface spans REST endpoints with varying vintage and design conventions. When advising on integrations:
/v2/subscription/status/set supports multi-group batching that V1 cannot)PUT replaces a resource, PATCH modifies fields; SCIM provisioning violates this subtly (email is immutable via PUT /scim/v2/Users/{id})Authentication and authorization surface area across Braze APIs follows a tiered model:
When designing an integration, map each credential type to its threat model. SDK keys being compromised is a usability risk; server-side keys being compromised is a data integrity and compliance risk.
Real integrations rarely touch a single API domain. Common cross-domain patterns require careful sequencing:
User Lifecycle Orchestration: SCIM provisions dashboard users; subscription group endpoints manage end-user communication consent. These are separate identity scopes — dashboard user IDs and end-user external IDs are not interchangeable.
Preference + Subscription Consistency: Preference Centers expose user-facing consent surfaces; Subscription Groups store the underlying state. A PUT /preference_center/v1/{id} update and a /v2/subscription/status/set call may both be required to keep consent state consistent across Braze's data model.
Export + Messaging Feedback Loops: Export endpoints provide delivery and engagement data; messaging endpoints drive outbound sends. Design pipelines that close the loop — export data should inform suppression lists and subscription group membership before the next send.
Apply this skill when:
userName (email) cannot be changed via SCIM PUT. Direct customers with email-change requirements to the dashboard or alternative provisioning paths.preference_center.update permission is distinct from general API write permissions — integrations that manage consent UX need explicit permission grants.Consult the following topic references for endpoint-level detail:
references/subscription-groups-endpoints.md — V2 batch update mechanics, subscription state enum valuesreferences/sdk-authentication-endpoints.md — Credential type selection, client vs. server authentication patternsreferences/scim-provisioning-endpoints.md — Dashboard user CRUD, permission field schema, immutability constraintsreferences/preference-center-endpoints.md — Preference center update parameters, required permissionsreferences/messaging-endpoints.md — Send routing, channel targeting patternsreferences/export-endpoints.md — Bulk export patterns, async job handling★ Insight ─────────────────────────────────────
The "lens" structure above (consistency / security / cross-domain) is intentional. Skill files for architect roles work best when they give Claude a decision framework, not a reference dump. The topic reference files hold the facts; the skill body holds the judgment layer — which is what an architect persona actually contributes at query time.
─────────────────────────────────────────────────
development
Cross-platform audience synchronization design across advertising platforms including Facebook, Google, TikTok, LinkedIn, and programmatic networks.
development
Covers API basics, authentication, rate limits, error codes, endpoint overview, data retention policies, and Postman collection usage.
development
Integration architecture for AI model providers including OpenAI, Google Gemini, and Anthropic within Braze messaging workflows.
development
Designs workspace structures, manages platform settings, rate limits, and API configurations.