reverse-month
Convert dates from various formats to "reverse month" format (YYYY-MM), which is the ISO date format containing only the year and month components. Use when users need to extract year-month from dates, standardize month formats, or prepare dates for monthly aggregations and reporting.
Best use case
reverse-month is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Convert dates from various formats to "reverse month" format (YYYY-MM), which is the ISO date format containing only the year and month components. Use when users need to extract year-month from dates, standardize month formats, or prepare dates for monthly aggregations and reporting.
Teams using reverse-month should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/reverse-month/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How reverse-month Compares
| Feature / Agent | reverse-month | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Convert dates from various formats to "reverse month" format (YYYY-MM), which is the ISO date format containing only the year and month components. Use when users need to extract year-month from dates, standardize month formats, or prepare dates for monthly aggregations and reporting.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Reverse Month Converter ## Overview Convert dates from various human-readable formats into standardized "reverse month" format (YYYY-MM). This skill handles flexible date input parsing and provides consistent, machine-readable month output by extracting only the year and month components from a full date. The reverse month format is the year and month portion of an ISO date (YYYY-MM), making it ideal for monthly reporting, time-series aggregations, and calendar operations. ## Usage Use the `convert_month.py` script to convert any date string to YYYY-MM format: ```bash python scripts/convert_month.py "21 Oct 2025" # Output: 2025-10 ``` ### Supported Input Formats The script accepts a wide variety of date formats, including: - **Month-day-year**: "21 Oct 2025", "October 21, 2025", "Oct 21, 2025" - **Slash-separated**: "21/10/2025", "10/21/2025" - **Dash-separated**: "21-10-2025", "2025-10-21" - **ISO format**: "2025-10-21" - **Other common formats**: Most standard date representations ### Examples ```bash # Human-readable format python scripts/convert_month.py "21 Oct 2025" # → 2025-10 # Full month name python scripts/convert_month.py "October 21, 2025" # → 2025-10 # Slash format python scripts/convert_month.py "21/10/2025" # → 2025-10 # Already in ISO format python scripts/convert_month.py "2025-10-21" # → 2025-10 # Short format python scripts/convert_month.py "Oct 2025" # → 2025-10 ``` ### Error Handling If the date string cannot be parsed, the script returns an error message: ```bash python scripts/convert_month.py "invalid date" # Error: Unable to parse date: 'invalid date'. Error: Unknown string format: invalid date ``` ## Common Use Cases - Monthly reporting and aggregations - Calendar month filtering - Time-series data grouping by month - Standardizing month identifiers across different date formats - Extracting billing or subscription periods ## Relationship to reverse-date Skill This skill builds upon the reverse-date skill concept. While reverse-date converts dates to full ISO format (YYYY-MM-DD), reverse-month extracts only the year-month portion (YYYY-MM), providing a coarser granularity suitable for monthly operations. ## Implementation Details The script uses Python's `dateutil.parser` library for flexible date parsing, which handles many common date formats automatically. The output is always in ISO 8601 year-month format (YYYY-MM). ```
Related Skills
reverse-engineer
Expert reverse engineer specializing in binary analysis, disassembly, decompilation, and software analysis. Masters IDA Pro, Ghidra, radare2, x64dbg, and modern RE toolchains.
js-reverse-automation-page-redirect-debugger
页面跳转 JS 代码定位通杀方案:在跳转前触发 debugger 以定位调用源。仅在确认跳转定位需求时启用。
Binary Analysis and Reverse Engineering
Systematic approach to analyzing compiled binaries, understanding program behavior, and identifying vulnerabilities without source code access
assisting-reverse-engineering
Provides reverse engineering analysis support including function identification, data structure analysis, and behavior understanding. Use when analyzing unknown binaries, understanding program structure, or investigating binary behavior.
edocode-monthly-accounting
EDOCODE 株式会社の毎月の経理処理(証憑ファイル回収)を行うスキル。ユーザーから「EDOCODE の経理処理を始めよう」「EDOCODE の月次精算をお願い」などの依頼があった場合に使用する。Claude Code(`claude --chrome`)または Cowork 環境で、Claude in Chrome を使ったブラウザ操作により、各サービスの管理画面から請求書・領収書 PDF を自動回収する。ログイン等ユーザーにしかできない操作は都度依頼する。
bgo
Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.
swift-human-guidelines
Comprehensive Swift 6 and SwiftUI development guidelines for building iOS 26, iOS 18, iPadOS, macOS, watchOS, visionOS, and tvOS applications. Covers Foundation Models API, BGContinuedProcessingTask, Call Translation API, Liquid Glass design system, data-race safety, typed throws, synchronization primitives, SwiftUI/UIKit interoperability, zoom transitions, and document-based apps. Use when building new Apple platform apps, implementing Apple Intelligence features, optimizing performance with Swift 6 concurrency, following Apple Human Interface Guidelines, creating cross-platform applications, or working with iOS 26/18 APIs. Triggers on Swift code, SwiftUI views, Xcode projects, app architecture, background processing, translation features, Foundation Models, synchronization, actors, Sendable types, or modern Apple platform development.
swift-conventions
Swift coding conventions and best practices for modern Swift development. Use when writing, reviewing, or refactoring Swift code to ensure consistency with naming conventions, access control, async/await patterns, and SwiftUI/framework best practices.
swift-concurrency
Expert guidance on Swift Concurrency best practices, patterns, and implementation. Use when developers mention: (1) Swift Concurrency, async/await, actors, or tasks, (2) "use Swift Concurrency" or "modern concurrency patterns", (3) migrating to Swift 6, (4) data races or thread safety issues, (5) refactoring closures to async/await, (6) @MainActor, Sendable, or actor isolation, (7) concurrent code architecture or performance optimization, (8) concurrency-related linter warnings (SwiftLint or similar; e.g. async_without_await, Sendable/actor isolation/MainActor lint).
swedish-medications
Look up Swedish medication information from FASS (Farmaceutiska Specialiteter i Sverige). Use when users ask about medications, drugs, läkemedel, dosages, side effects (biverkningar), interactions, or need to understand prescriptions in Sweden. Covers all medications approved for use in Sweden.
swe-programming-elixir-phoenix
Phoenix Framework coding standards from authoritative docs/explanation/software-engineering/platform-web/tools/elixir-phoenix/ documentation
sw-tech-stack-planner
Use when user wants a tech stack recommendation, technology choices, docker-compose setup, or architecture decisions for a software project – reads vision.md, user-stories.md, use-cases.md and generates requirements/tech-stack.yaml silently.