---
name: mindtickle-reference-architecture
description: 'Design a secure, tenant-scoped architecture for Mindtickle identity, managed connectors, APIs, data processing, and operations. Use when designing or reviewing an integration. Trigger with "design Mindtickle architecture".'
argument-hint: "[architecture-brief] [environment]"
allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit
version: 1.8.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
tags: [ saas, mindtickle, architecture, tenancy, integration ]
model: inherit
effort: high
compatibility: Designed for Claude Code; architecture approval belongs to customer security, data, identity, platform, and business owners
title: mindtickle-reference-architecture
canonical_url: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/mindtickle-reference-architecture
last_updated: 2026-10-07T06:06:28.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install jeremylongshore/tons-of-skills-marketplace/mindtickle-reference-architecture`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/mindtickle-reference-architecture`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/jeremylongshore/tons-of-skills-marketplace/mindtickle-reference-architecture) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/mindtickle-reference-architecture`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/mindtickle-reference-architecture --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/mindtickle-reference-architecture --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Tenant-Scoped Mindtickle Integration Architecture

## Overview

Produce a decision-ready architecture that identifies every trust boundary, system of record, contract, data flow, failure mode, and operational owner.

## Prerequisites

- A business workflow, tenant and environment inventory, package entitlement, and data classification
- Current identity, connector, and tenant API artifacts with owners and provenance
- Customer security, retention, residency, reliability, and support requirements

## Tool Discipline

Use `Read`, `Glob`, and `Grep` to inspect repository topology and existing decisions, `WebFetch` for current official contracts, and `Write` or `Edit` for diagrams, decisions, threat models, and redacted evidence.

## Current Contract

Mindtickle supports tenant-specific access, roles, managed integrations, REST-based API families, SCIM, SAML, OpenID, and package-dependent product modules. The architecture must not assume every tenant has every module or that managed connectors and custom APIs share one authorization model.

## Authentication

Model interactive SSO, lifecycle provisioning, managed connectors, and API principals separately. Bind every principal, secret, queue, store, cache, and log to a tenant and environment with least privilege and revocation ownership.

## Instructions

1. Define scope, outcomes, non-goals, actors, systems of record, tenants, environments, and data classes.
2. Draw trust boundaries and directional flows for identity, content, users, reporting, events, administration, support, and deletion.
3. Attach an authoritative contract, owner, authentication class, and permitted operations to every external edge.
4. Choose managed integration, file exchange, tenant API, or human workflow per use case based on supportability and risk.
5. Define tenant isolation, schema validation, idempotency, reconciliation, backpressure, retention, encryption, and audit evidence.
6. Model dependency outage, identity drift, partial writes, duplicate delivery, schema drift, credential compromise, and tenant misrouting.
7. Specify service objectives, alerts, runbooks, support severity, capacity, recovery, and cost ownership.
8. Record alternatives and tradeoffs, then obtain independent security, data, platform, and business review before implementation.

## Approval Boundaries

Do not select a tenant default, combine credentials, export restricted data, introduce an unsupported integration path, or accept residual risk for another owner.

## Output

Return context and data-flow diagrams, contract registry, trust boundaries, tenancy controls, decision records, threat model, failure matrix, owners, open questions, and approval state.

## Error Handling

| Condition | Response |
|---|---|
| An external edge lacks a contract | Mark it blocked and issue vendor or customer questions. |
| Tenant context can be omitted | Redesign the boundary to fail closed before implementation. |
| Managed and custom paths overlap | Assign one source of truth and explicit reconciliation ownership. |

## Example

```text
tenants=2-isolated; identity=sso-plus-scim; reporting=tenant-api; events=polling-until-contract; contracts=all-owned; review=approved-with-one-expiring-risk
```

## Resources

- [Mindtickle integrations](https://www.mindtickle.com/platform/integrations/)
- [Mindtickle Trust](https://www.mindtickle.com/trust/)
- [Subscription services](https://www.mindtickle.com/legal/description-of-subscription-services/)

## Next Steps

Convert each approved external edge into contract fixtures, runbooks, and an independently testable deployment unit.
