dated-doc-renamer

Rename files to yyyy-mm-dd Title.md format using git mv.

3|1|Updated Jun 20, 2016
One-click install
npx skills add https://github.com/paulchiu/dotfiles --skill dated-doc-renamer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dated-doc-renamer
Source: https://github.com/paulchiu/dotfiles/tree/main/.config/opencode/skills/dated-doc-renamer
Command: npx skills add https://github.com/paulchiu/dotfiles --skill dated-doc-renamer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Renames notes and documents into a consistent yyyy-mm-dd Title.md style. Use when you want filenames normalised, created-at dates added or preserved once, slugs converted to readable sentence-style titles, or acronyms like CAD, CUSM, or US preserved.

Core Features & Use Cases

  • Normalize filenames to a date-prefixed, readable title format.
  • Preserve or derive the correct date from file metadata when needed.
  • Convert slug-like names into sentence-style titles while keeping acronyms intact.

Quick Start

Rename a sample file to the standard yyyy-mm-dd Title.md format using the created-at date as the prefix.

Frequently Asked Questions about dated-doc-renamer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rename files to a yyyy-mm-dd Title format while preserving the created-at date?

To rename files to a yyyy-mm-dd Title format, the Skill normalizes filenames by extracting and preserving the created-at date from file metadata to use as the date prefix, ensuring consistent naming conventions for notes and documents.

Can I convert slug-style filenames to sentence-case titles without losing acronyms?

Yes, you can convert slug-style filenames to readable sentence-style titles. The Skill transforms hyphenated slugs into sentence case while explicitly preserving uppercase acronyms like CAD, CUSM, or US during the renaming process.

How does filename renaming work for files tracked in a git repository?

Filename renaming for git-tracked files is handled safely using the git mv command. This ensures that renaming notes and documents to the date-prefixed title format correctly registers the changes in version control without losing file history.

What happens if a file already has a date prefix when normalizing filenames?

When normalizing filenames, the Skill handles existing date prefixes gracefully by recognizing them and avoiding duplication. It updates the filename structure to the yyyy-mm-dd Title.md standard while preserving the original creation date.

Do I need any dependencies or specific tools to standardize my document naming conventions?

No external dependencies are required to standardize document naming conventions. The Skill operates independently to apply the yyyy-mm-dd Title.md format, deriving dates from metadata and handling git mv for tracked files natively.

Why do my document filenames need date prefixes and what does it solve?

Document filenames need date prefixes to standardize naming conventions across mixed, undated, or slug-style files. This solves organizational inconsistency by applying a uniform yyyy-mm-dd Title.md format, making chronological sorting and retrieval reliable.