Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .claude/skills/drift/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: drift
description: Drift spec-to-code anchor conventions. Use when editing code that is bound by drift specs, updating specs, working with drift frontmatter, or when drift check reports stale anchors.
drift:
files:
- src/main.zig@d7d189a
- src/frontmatter.zig@d7d189a
- src/scanner.zig@d7d189a
- src/vcs.zig@d7d189a
- src/main.zig@a7ffa398
- src/frontmatter.zig@a7ffa398
- src/scanner.zig@a7ffa398
- src/vcs.zig@a7ffa398
---

# Drift
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ If you don't want frontmatter visible on GitHub, use an HTML comment instead:

```
drift check Check all specs for staleness (exits 1 if stale)
drift status Show all specs and their anchors
drift status Show all spec anchors, including inline @./ refs
drift link Add an anchor to a spec (auto-appends provenance)
drift unlink Remove an anchor from a spec
drift unlink Remove an anchor from frontmatter or drift comments
```

`drift lint` is an alias for `drift check`.
Expand Down
8 changes: 4 additions & 4 deletions docs/CLI.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
drift:
files:
- src/main.zig@d7d189a
- src/main.zig@a7ffa398
---

# CLI Reference

All commands support `--format json` for tool integration.
`drift status` supports `--format json` for tool integration. Usage and command errors exit non-zero.

## drift lint

Expand Down Expand Up @@ -39,7 +39,7 @@ docs/project.md

## drift status

Show all specs and their anchors without checking staleness.
Show all specs and their anchors without checking staleness. This includes explicit frontmatter anchors, `<!-- drift: ... -->` comment anchors, and inline `@./path` references from the spec body.

```
drift status [--format json]
Expand Down Expand Up @@ -87,7 +87,7 @@ If the spec file doesn't have `drift:` frontmatter yet, it's added. If the file

## drift unlink

Remove an anchor from a spec's frontmatter.
Remove an anchor from a spec's YAML frontmatter or `<!-- drift: ... -->` comment block.

```
drift unlink <spec-path> <file>
Expand Down
6 changes: 3 additions & 3 deletions docs/DECISIONS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
drift:
files:
- src/main.zig@d7d189a
- src/symbols.zig@d7d189a
- src/vcs.zig@d7d189a
- src/main.zig@a7ffa398
- src/symbols.zig@a7ffa398
- src/vcs.zig@a7ffa398
---

# Decisions
Expand Down
10 changes: 5 additions & 5 deletions docs/DESIGN.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
drift:
files:
- src/main.zig@d7d189a
- src/frontmatter.zig@d7d189a
- src/scanner.zig@d7d189a
- src/symbols.zig@d7d189a
- src/vcs.zig@d7d189a
- src/main.zig@a7ffa398
- src/frontmatter.zig@a7ffa398
- src/scanner.zig@a7ffa398
- src/symbols.zig@a7ffa398
- src/vcs.zig@a7ffa398
---

# Design
Expand Down
Loading
Loading