zero-trust-architecture

aj-geddes/useful-ai-prompts · updated Apr 8, 2026

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill zero-trust-architecture
0 commentsdiscussion
summary

Implement comprehensive Zero Trust security architecture based on "never trust, always verify" principle with identity-centric security, microsegmentation, and continuous verification.

skill.md

Zero Trust Architecture

Table of Contents

Overview

Implement comprehensive Zero Trust security architecture based on "never trust, always verify" principle with identity-centric security, microsegmentation, and continuous verification.

When to Use

  • Cloud-native applications
  • Microservices architecture
  • Remote workforce security
  • API security
  • Multi-cloud deployments
  • Legacy modernization
  • Compliance requirements

Quick Start

Minimal working example:

// zero-trust-gateway.js
const jwt = require("jsonwebtoken");
const axios = require("axios");

class ZeroTrustGateway {
  constructor() {
    this.identityProvider = process.env.IDENTITY_PROVIDER_URL;
    this.deviceRegistry = new Map();
    this.sessionContext = new Map();
  }

  /**
   * Verify identity - Who are you?
   */
  async verifyIdentity(token) {
    try {
      // Verify JWT token
      const decoded = jwt.verify(token, process.env.JWT_PUBLIC_KEY, {
        algorithms: ["RS256"],
      });

      // Check token hasn't been revoked
      const revoked = await this.checkTokenRevocation(decoded.jti);
      if (revoked) {
        throw new Error("Token has been revoked");
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

Guide Contents
Zero Trust Gateway Zero Trust Gateway
Service Mesh - Microsegmentation Service Mesh - Microsegmentation
Python Zero Trust Policy Engine Python Zero Trust Policy Engine

Best Practices

✅ DO

  • Verify every request
  • Implement MFA everywhere
  • Use microsegmentation
  • Monitor continuously
  • Encrypt all communications
  • Implement least privilege
  • Log all access
  • Regular audits

❌ DON'T

  • Trust network location
  • Use implicit trust
  • Skip device verification
  • Allow lateral movement
  • Use static credentials

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.647 reviews
  • Ishan Brown· Dec 16, 2024

    Solid pick for teams standardizing on skills: zero-trust-architecture is focused, and the summary matches what you get after install.

  • Luis Sanchez· Dec 12, 2024

    zero-trust-architecture fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Noor Martinez· Dec 8, 2024

    Registry listing for zero-trust-architecture matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Sakura Gill· Nov 27, 2024

    zero-trust-architecture reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Yusuf Thompson· Nov 27, 2024

    I recommend zero-trust-architecture for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Sakshi Patil· Nov 23, 2024

    Solid pick for teams standardizing on skills: zero-trust-architecture is focused, and the summary matches what you get after install.

  • Benjamin Anderson· Nov 7, 2024

    Keeps context tight: zero-trust-architecture is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Camila Ndlovu· Nov 3, 2024

    We added zero-trust-architecture from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Emma Desai· Oct 26, 2024

    We added zero-trust-architecture from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Luis Desai· Oct 22, 2024

    Keeps context tight: zero-trust-architecture is the kind of skill you can hand to a new teammate without a long onboarding doc.

showing 1-10 of 47

1 / 5