Skip to content
Back to skills

Drift

ASecurity

Drafts, checks and proves DRIFT behaviour contracts (one TOML file per slice under .drift/contracts) and binds their cases to tests through the DRIFT gate. Use when work in an area with .drift/config.toml adds or changes intended behaviour, when its gate or proof needs attention, or when the user names DRIFT for an area without it. Do not use to approve contracts on behalf of the owner.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
developmentshell

Works with

  • cli

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add rad-ox/drift --skill drift --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Drift?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Drift
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rad-ox-drift/badge)](https://www.skillsdirectory.com/skills/rad-ox-drift)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: drift
description: Drafts, checks and proves DRIFT behaviour contracts (one TOML file per slice under .drift/contracts) and binds their cases to tests through the DRIFT gate. Use when work in an area with .drift/config.toml adds or changes intended behaviour, when its gate or proof needs attention, or when the user names DRIFT for an area without it. Do not use to approve contracts on behalf of the owner.
---
One contract per slice, `.drift/contracts/<id>.toml`, states intended behaviour with profile predicates.
## Workflow
0. **CLI**: If `drift` is not on `PATH` (for example after `npx skills add rad-ox/drift`), run `sh <skill-dir>/scripts/install-cli.sh` on Linux/macOS or `powershell -NoProfile -ExecutionPolicy Bypass -File <skill-dir>/scripts/install-cli.ps1` on Windows to download, SHA-256-verify, and install the matching OS release.
1. **Adopt**: If `.drift/config.toml` is absent and DRIFT was named, adopt with [references/adoption.md](references/adoption.md) (or onboard a clean-room grant / bilateral pact with `drift init <owner> <dir> [--grant <grant-dir> | --pact <lock.json>]`).
2. **Draft**: Run `drift new <file> [--from <sibling.toml> | --profile <ref>] [--code <path>...]`. Write concrete `then` values at `at` levels; fill `[scope]` and `[open.<id>]`.
3. **Check & Review**: Run `drift fmt <file>` and `drift check <file> --json`. In interactive foreground sessions run `drift-ask-ui <file>` ([references/native-flow.md](references/native-flow.md)); on `fallback` or headless sessions run `drift review <file> --brief` and wait for explicit owner approval before `drift approve <file> --by <owner>`.
4. **Prove**: Bind tests ([references/jvm-bridge.md](references/jvm-bridge.md), [references/integration-first.md](references/integration-first.md)), run tests (for example `drift run --gate -- <test-cmd>`), and verify with `drift gate` (with `--grant-lock <file>` or `--pact-lock <file>` when externally bound; inspect `unverified_surface` with `drift gate ... --explain` before claiming full coverage; exempt cases remain unverified).

Files in this skill

  • SKILL.md2 KB
  • references/adoption.md3.9 KB
  • references/integration-first.md2 KB
  • references/jvm-bridge.md17.4 KB
  • references/native-flow.md7 KB
  • scripts/RELEASE_SIGNERS316 B
  • scripts/install-cli.ps110.5 KB
  • scripts/install-cli.sh5.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.