specstory-organize
Organize SpecStory AI coding sessions in .specstory/history into year/month folders. Run when user says "organize my history", "clean up specstory", "sort my sessions", or "organize specstory files".
What this skill does
# SpecStory Organize Organizes your `.specstory/history` directory by moving session files into `YYYY/MM/` subdirectories based on the timestamp in each filename. ## How It Works 1. **Scans** `.specstory/history/` for markdown files 2. **Extracts** the date from filenames (e.g., `2026-01-22_19-20-56Z-fix-bug.md`) 3. **Creates** year/month folders (e.g., `2026/01/`) 4. **Moves** files into the appropriate subdirectory 5. **Reports** what was moved ## Why Organize? Over time, your history directory can accumulate hundreds of session files. Organizing by date makes it easier to: - Find sessions from a specific time period - Archive old sessions - Keep your project directory clean ## Usage ### Slash Command | User says | Action | |-----------|--------| | `/specstory-organize` | Organize all files (default) | | `/specstory-organize dry run` | Preview changes without moving | | `/specstory-organize --dry-run` | Preview changes without moving | ### Direct Script Usage ```bash # From project root python skills/specstory-organize/scripts/organize.py # Preview what would be moved (no changes made) python skills/specstory-organize/scripts/organize.py --dry-run ``` ## Output ``` SpecStory History Organizer =========================== Found 47 files to organize in .specstory/history/ Moving files: 2026-01-15_10-30-22Z-refactor-auth.md -> 2026/01/ 2026-01-15_14-22-01Z-fix-tests.md -> 2026/01/ 2026-01-22_19-20-56Z-add-feature.md -> 2026/01/ 2025-12-28_09-15-33Z-cleanup.md -> 2025/12/ ... Summary: -------- Files moved: 47 2026/01/: 23 files 2025/12/: 18 files 2025/11/: 6 files Your history is now organized! ``` ## Dry Run Output When using `--dry-run`: ``` SpecStory History Organizer (DRY RUN) ===================================== Would organize 47 files in .specstory/history/ Preview: 2026-01-15_10-30-22Z-refactor-auth.md -> 2026/01/ 2026-01-15_14-22-01Z-fix-tests.md -> 2026/01/ ... No files were moved. Run without --dry-run to apply changes. ``` ## Present Results to User After running the organize script: 1. **Confirm success** - Tell the user how many files were organized 2. **Show the breakdown** - List how many files went to each month 3. **Note any skips** - If files couldn't be parsed (no date in filename), mention them ### Example Response ``` Done! I organized 47 session files in your `.specstory/history/` directory: - **2026/01/**: 23 files - **2025/12/**: 18 files - **2025/11/**: 6 files Your history files are now sorted by year and month, making it much easier to find sessions from specific time periods. ``` ## Notes - Files without a recognizable date pattern in the filename are skipped - The script uses the filename timestamp, not the file's modification time - Already-organized files (in subdirectories) are not moved again - Compatible with Python 2.7+ and Python 3.x
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.