🎯

my-skill-name

🎯Skill

from dadbodgeoff/drift

VibeIndex|
What it does

I apologize, but I cannot confidently infer a specific description for "my-skill-name" from this README. The README describes the Drift project's overall functionality for AI code generation and pa...

πŸ“¦

Part of

dadbodgeoff/drift(69 items)

my-skill-name

Installation

npm installInstall npm package
npm install -g driftdetect
npm installInstall npm package
npm install -g driftdetect@latest
npm installInstall npm package
npm install -g driftdetect-mcp
Claude Desktop ConfigurationAdd this to your claude_desktop_config.json
{ "mcpServers": { "drift": { "command": "driftdetect-mcp" } } ...
πŸ“– Extracted from docs: dadbodgeoff/drift
5Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Overview

# πŸ” Drift

Make AI write code that actually fits your codebase.

Drift scans your code, learns your patterns, and tells AI how you do things. No more fixing AI output.

[![npm version](https://img.shields.io/npm/v/driftdetect.svg)](https://www.npmjs.com/package/driftdetect)

[![npm downloads](https://img.shields.io/npm/dm/driftdetect.svg)](https://www.npmjs.com/package/driftdetect)

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

---

⚑ Quick Start (30 seconds)

```bash

npm install -g driftdetect

cd your-project

drift setup

```

That's it. The setup wizard walks you through everything:

  • Pattern scanning
  • Auto-approval of high confidence patterns
  • Call graph analysis
  • Test topology mapping
  • Cortex memory initialization

Want defaults without prompts? Run drift setup -y

---

🚫 Delete Your AGENTS.md

You know that AGENTS.md or CLAUDE.md file you wrote once and forgot about? It's stale. Delete it.

Drift's Cortex Memory System replaces static instruction files with living memory:

```bash

# Instead of maintaining a static file:

drift memory add tribal "Always use bcrypt for passwords" --importance critical

drift memory add tribal "Services should not call controllers" --topic Architecture

# AI gets context dynamically:

drift memory why "authentication"

# And learns from corrections:

drift memory learn --original "Used MD5" --feedback "Use bcrypt instead"

```

| Static AGENTS.md | Cortex Memory |

|------------------|---------------|

| Written once, forgotten | Learns from corrections |

| Gets stale immediately | Confidence decays naturally |

| Manual updates required | Self-correcting through feedback |

| One-size-fits-all dump | Intent-aware retrieval |

β†’ [Learn more about Cortex](https://github.com/dadbodgeoff/drift/wiki/Cortex-V2-Overview)

---

πŸ“‹ What You Need

  • Node.js 18 or newer β€” [Download here](https://nodejs.org/)
  • npm β€” Comes with Node.js

Check if you have them:

```bash

node --version # Should show v18.x.x or higher

npm --version # Should show 9.x.x or higher

```

---

πŸš€ Three Ways to Use Drift

| Path | Best For | Time to Setup |

|------|----------|---------------|

| [1. CLI Only](#1-use-drift-without-ai-cli-only) | Exploring your codebase manually | 2 minutes |

| [2. AI + CLI](#2-let-ai-use-drift-ai--cli) | AI runs drift commands for you | 2 minutes |

| [3. MCP Server](#3-set-up-mcp-full-ai-integration) | Full AI integration (recommended) | 5 minutes |

---

1. Use Drift Without AI (CLI Only)

Perfect for: Exploring what Drift finds in your codebase before connecting AI.

Install & Setup

```bash

npm install -g driftdetect

cd your-project

drift setup

```

The setup wizard handles everything. Just answer the prompts (or use drift setup -y for defaults).

See What Drift Found

```bash

drift status

```

You'll see something like:

```

Patterns: 47 discovered, 12 approved

Health Score: 85/100

Languages: TypeScript, Python

```

Useful Commands

| Command | What It Does |

|---------|--------------|

| drift status | Quick overview of your codebase |

| drift patterns list | See all discovered patterns |

| drift callgraph reach src/api/users.ts:42 | What data can line 42 access? |

| drift coupling cycles | Find circular dependencies |

| drift test-topology affected src/auth.ts | Which tests cover this file? |

Upgrade to Latest Version

```bash

npm install -g driftdetect@latest

```

---

2. Let AI Use Drift (AI + CLI)

Perfect for: Using AI assistants that can run terminal commands (Cursor, Windsurf, Kiro, etc.)

Install & Setup

```bash

npm install -g driftdetect

cd your-project

drift setup

```

Tell Your AI About Drift

Copy this into your AI chat:

```

I have Drift installed. Before writing code, run these commands:

  1. drift status - See codebase overview
  2. drift similar --intent api_endpoint --description "what you're building" - Find similar code

Use what you learn to match my patterns.

```

That's it! Your AI will run drift commands and use the output to write better code.

---

3. Set Up MCP (Full AI Integration)

Perfect for: The best experience. AI automatically gets context without you asking.

What is MCP?

MCP (Model Context Protocol) lets AI tools directly query Drift. Instead of you running commands and pasting output, the AI calls Drift tools automatically.

Install & Setup

```bash

# Install both packages

npm install -g driftdetect driftdetect-mcp

# Run the setup wizard

cd your-project

drift setup

```

Configure Your AI Tool

Pick your AI tool and follow the instructions:

Claude Desktop

  1. Open this file (create it if it doesn't exist):

- Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

- Windows: %APPDATA%\Claude\claude_desktop_config.json

  1. Add this:

```json

{

"mcpServers": {

"drift": {

"command": "driftdetect-mcp"

}

}

}

```

  1. Restart Claude Desktop

Cursor

  1. Create .cursor/mcp.json in your project folder
  1. Add this:

```json

{

"mcpServers": {

"drift": {

"command": "driftdetect-mcp"

}

}

}

```

  1. Restart Cursor

Windsurf

  1. Open Settings β†’ MCP Servers
  1. Add a new server with command: driftdetect-mcp
  1. Restart Windsurf

Kiro

  1. Create .kiro/settings/mcp.json in your project folder
  1. Add this:

```json

{

"mcpServers": {

"drift": {

"command": "driftdetect-mcp"

}

}

}

```

  1. Restart Kiro

VS Code + Copilot

  1. Create .vscode/mcp.json in your project folder
  1. Add this:

```json

{

"mcpServers": {

"drift": {

"command": "driftdetect-mcp"

}

}

}

```

  1. Restart VS Code

Test It Works

Ask your AI: "What patterns does Drift see in my codebase?"

If it responds with pattern information, you're all set! πŸŽ‰

---

❓ Troubleshooting

"command not found: drift"

The CLI isn't installed. Run:

```bash

npm install -g driftdetect

```

"drift_status does nothing" or "MCP not working"

  1. Make sure you installed the MCP server:

```bash

npm install -g driftdetect-mcp

```

  1. Make sure you ran drift scan in your project first
  1. Make sure you restarted your AI tool after configuring

"No patterns found"

Run a full scan:

```bash

drift scan --full

```

Check Your Versions

```bash

drift --version # CLI version

driftdetect-mcp --version # MCP server version

```

Upgrade Everything

```bash

npm install -g driftdetect@latest driftdetect-mcp@latest

```

---

πŸ“Š What Drift Supports

| Category | Count | Examples |

|----------|-------|----------|

| Languages | 10 | TypeScript, JavaScript, Python, Java, C#, PHP, Go, Rust, C, C++ |

| Web Frameworks | 21 | Next.js, Express, NestJS, Spring Boot, ASP.NET, Laravel, FastAPI, Gin, Actix, Axum |

| ORMs | 16 | Prisma, TypeORM, Sequelize, Django ORM, Entity Framework, Eloquent |

| Pattern Detectors | 101+ | API, Auth, Security, Errors, Logging, Testing, and more |

See [SUPPORTED_LANGUAGES_FRAMEWORKS.md](./SUPPORTED_LANGUAGES_FRAMEWORKS.md) for the full list.

---

πŸ”’ Privacy

Drift runs 100% locally. Your code never leaves your machine.

  • βœ… All analysis happens on your computer
  • βœ… No code sent to external servers
  • βœ… Data stored in .drift/ folder only
  • βœ… Optional anonymous telemetry (disable with drift telemetry disable)

---

πŸ“š Learn More

  • [Wiki](https://github.com/dadbodgeoff/drift/wiki) β€” Full documentation
  • [MCP Tools Reference](https://github.com/dadbodgeoff/drift/wiki/MCP-Tools-Reference) β€” All 50 MCP tools
  • [CLI Reference](https://github.com/dadbodgeoff/drift/wiki/CLI-Reference) β€” All CLI commands
  • **[FAQ](https://github.com/dadbodgeoff/drift/wiki/

More from this repository10

🎯
feature-flags🎯Skill

Enables controlled feature rollouts, A/B testing, and selective feature access through configurable flags for gradual deployment and user targeting.

🎯
design-tokens🎯Skill

Generates a comprehensive, type-safe design token system with WCAG AA color compliance and multi-framework support for consistent visual design.

🎯
file-uploads🎯Skill

Securely validates, scans, and processes file uploads with multi-stage checks, malware detection, and race condition prevention.

🎯
ai-coaching🎯Skill

Guides users through articulating creative intent by extracting structured parameters and detecting conversation readiness.

🎯
environment-config🎯Skill

Validates and centralizes environment variables with type safety, fail-fast startup checks, and multi-environment support.

🎯
community-feed🎯Skill

Generates efficient social feed with cursor pagination, trending algorithms, and engagement tracking for infinite scroll experiences.

🎯
cloud-storage🎯Skill

Enables secure, multi-tenant cloud file storage with signed URLs, direct uploads, and visibility control for user-uploaded assets.

🎯
email-service🎯Skill

Simplifies email sending, templating, and tracking with robust SMTP integration and support for multiple email providers and transactional workflows.

🎯
error-sanitization🎯Skill

Sanitizes error messages by logging full details server-side while exposing only generic, safe messages to prevent sensitive information leakage.

🎯
batch-processing🎯Skill

Optimizes database operations by collecting and batching independent records, improving throughput by 30-40% with built-in fallback processing.