# dotfile-audit

Inspects and repairs pipeline DOT files before execution. It spots missing retry routes, non-standard node parameters, and gaps against project specifications.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 336
- Author: harperreed
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/harperreed/dotfiles/tree/HEAD/.claude/skills-archive/dot-file-audit/SKILL.md
- Updated: 2026-10-15
- HTML: https://affpapa.org/en/nevibecode/skills/dotfile-audit

## What it does

This skill inspects DOT files used by automated coding pipelines. It examines the core graph topology, checking for single start nodes with `shape=Mdiamond` and single exit nodes with `shape=Msquare`. Graph blocks receive checks for required settings such as `goal` or `retry_target`. If the graph includes invented keys like `join_policy` or `error_policy`, the skill strips them out. Unsupported attributes break the parser.

When provided with a design document, the skill reconciles pipeline stages against written requirements. It confirms that every listed component contains implementation, testing, and Git commit steps. Once edits finish, it runs `dotfile validate <file>.dot` in a loop. Pipelines with validation errors will not execute. The process repeats until the checker reports zero warnings.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add harperreed/dotfiles --skill dot-file-audit -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/dot-file-audit/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/dot-file-audit/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add harperreed/dotfiles --skill dot-file-audit -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/dot-file-audit/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add harperreed/dotfiles --skill dot-file-audit -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/dot-file-audit/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install harperreed/dotfiles dot-file-audit
```

2. **Manually: put the files in place**
- File: `.github/skills/dot-file-audit/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add harperreed/dotfiles --skill dot-file-audit -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/harperreed/dotfiles --path .claude/skills-archive/dot-file-audit
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/dot-file-audit/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add harperreed/dotfiles --skill dot-file-audit -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/harperreed/dotfiles/tree/HEAD/.claude/skills-archive/dot-file-audit/SKILL.md

## When to use it
- fix structural errors and missing exits in pipeline DOT graphs
- attach failure handling paths to code generation steps
- verify that pipeline phases cover the project requirements document
- clear all warnings from `dotfile validate`

## Example prompts
- Audit pipeline.dot and correct any syntax or structural mistakes
- Reconcile workflow.dot against spec.md to verify every component has tests
- Inspect build.dot and supply missing retry targets for failing nodes

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [harperreed/dotfiles](https://affpapa.org/en/nevibecode/by/harperreed/dotfiles.md) — 26 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
