shift-training-year/SKILL.md
Shift years in training data files (CSV + XLSX) by +N years — both filenames and content. Supports `--dry-run` for safe preview before destructive run. Use when updating training data for a new year, "เลื่อนปี", "shift year", "update year in training data", "เปลี่ยนปีใน data", or when preparing Power BI / Excel training files for next year's course.
npx skillsauth add thepexcel/agent-skills shift-training-yearInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Shift year references in training data files (CSV, XLSX) by a specified amount. Designed for annual updates to course training data — handles filenames, CSV content (Order Numbers, dates), and XLSX year columns.
Run the bundled script which handles everything:
python "<skill-path>/scripts/shift_year.py" "<folder-path>" [--shift N] [--dry-run]
folder-path: Directory containing the data files (CSV + XLSX)--shift N: How many years to shift (default: 1). Use negative values to shift backwards.--dry-run: Preview what would be renamed/modified without touching the filesystem. No backup is created, no files are renamed or written. Prints a summary of planned operations so the user can sanity-check pattern matches before committing to a destructive run. Strongly recommended as the first pass, especially when:
2000–2099 standalone-year matching might false-match_backup/ safety netCSV files:
"202401011CS952" → "202501011CS952") and dates in DD/MM/YYYY format (e.g., "01/01/2024" → "01/01/2025")contoso-online-2024.csv → contoso-online-2025.csv)XLSX files:
TargetReport.xlsx)_backup/) before modifying files — the backup is placed inside the target folderDefault workflow is dry-run-first (rsync-style — preview, then commit):
--dry-run and show the planned renames/modifications to the user--dry-run) — this creates _backup/ then modifies filesUser: เลื่อนปีใน training data ไป 1 ปี folder C:\...\Contoso
Step 1: List files in the folder
Step 2: Confirm with user
Step 3: Dry-run preview
python "<skill-path>/scripts/shift_year.py" "C:\...\Contoso" --dry-run
→ review planned renames + content changes (no files touched yet)
Step 4: Real run (after user approves preview)
python "<skill-path>/scripts/shift_year.py" "C:\...\Contoso"
Step 5: Spot-check a few rows from each file
[DRY-RUN] Would rename: contoso-online-2024.csv -> contoso-online-2025.csv
[DRY-RUN] Would modify: orders.csv (124 quoted year refs: 2024->2025)
[DRY-RUN] Would skip: TargetReport.xlsx (no Year column, 0 standalone years)
[DRY-RUN] Total: 3 renames, 2 file modifications, 0 backups created
/xlsx-thepexcel — Read/edit XLSX files directly; use when year-shifted data needs further spreadsheet manipulationdevelopment
--- name: deep-research status: archived replaced_by: deep-research deprecation_reason: superseded deprecated_date: 2026-04-20 description: Fast research that beats plain websearch — discovers what exists before searching specifics (Landscape Scan), catches recent releases within days/weeks (Recency Pulse + upstream supply chain), and runs parallel queries for multi-angle coverage. Good for everyday research and current-info questions. Supports optional `--ingest` flag to flow findings into the
development
Execution skill สำหรับ Kie.ai API (Grok Imagine ผ่าน kie.ai proxy) — รับ prompt จาก /art-tech-engineer แล้ว gen ภาพ/วีดีโอผ่าน Kie.ai REST API รองรับ text-to-image, image-to-image, image-to-video, และ upscale ใช้เมื่อถูกระบุให้ใช้ Kie.ai โดยตรง หรือเมื่อ orchestrator delegate มา
content-media
Universal media gallery — browse images/videos from any local folder with copy-path, enlarge, and video playback. Reusable across all gen projects.
data-ai
Explains difficult concepts using master teaching methodologies (Feynman, Socratic, Cognitive Load, Dual Coding). Use when user asks to explain a concept, "I don't understand X", ELI5 requests, "what is X", "how does X work".