Rename and reorder messy Alembic migrations automatically
Renames Alembic migrations chronologically when file_template only affects new files.
Reorder top-level items in Rust source files. Designed for AI coding agents.
Stops AI from rewriting entire functions to reorder them; uses syn ordinals to preserve whitespace.
AI coding agents, Rust developers managing file structure, tool builders automating code reorganization
When an agent needs to move a struct above its impl block, or group related functions together, it has to delete and re-insert lines — tracking whitespace, comments, attributes, and hoping nothing gets lost.
rust-reorder parses the file with syn, assigns ordinals to every top-level item, and lets you move or reorder them. Comments and doc attributes travel with their items. A safety check verifies no non-empty lines were lost or duplicated.
Three commands: `list` (shows items with ordinals), `move` (relocate one item before/after another), `order` (full reorder by ordinal sequence).
Works fine for humans too, but the real use case is giving agents a reliable primitive for code organization.
Renames Alembic migrations chronologically when file_template only affects new files.
Single-file C with zero dependencies — perfect for embedded or minimal builds.
Finally, a GUI for git rebase -i that handles hunk splitting without the terminal dance.
Self-managed vector DB in Rust with <5ms queries; Pinecone/Weaviate already own this space.
Visual approval gates for AI agents before code writes—Claude/Cursor integration ready.
Solves real VS Code markdown friction with table editing and diff preservation.