Przejdź do treści
Biblioteka skilli
Dane i analityka · Konwersja i formaty

temporal

/temporal

Zamienia nazwane okresy czasu, np. dziś, w zeszłym tygodniu czy ostatnie 30 dni, na konkretne zakresy dat ISO.

Repozytorium
munder-difflin ↗
Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: when.mjs

Co robi i kiedy

Zamienia nazwane okresy czasu, np. dziś, w zeszłym tygodniu czy ostatnie 30 dni, na konkretne zakresy dat ISO.

Oryginalny opis (EN)

Resolve ANY named time window — today, yesterday, thisWeek, lastWeek, last7Days, last30Days, last90Days, thisMonth, lastMonth, thisQuarter, lastQuarter, thisYear, lastYear, last12Months — or an arbitrary range (lastNdays / lastNweeks / lastNmonths) to a concrete ISO date range relative to your run time. Read-only: no writes, no network. Use whenever a task is time-scoped and you need exact start/end dates without computing them by hand.

Jak działa

  1. /temporal — concrete date ranges, relative to now
Sekcje z nagłówków SKILL.md, w oryginale · 57 linii, 363 słów
Podgląd SKILL.md
---
name: temporal
description: |
  Resolve ANY named time window — today, yesterday, thisWeek, lastWeek,
  last7Days, last30Days, last90Days, thisMonth, lastMonth, thisQuarter,
  lastQuarter, thisYear, lastYear, last12Months — or an arbitrary range
  (lastNdays / lastNweeks / lastNmonths) to a concrete ISO date range relative
  to your run time. Read-only: no writes, no network. Use whenever a task is
  time-scoped and you need exact start/end dates without computing them by hand.
allowed-tools:
  - Bash
---

## /temporal — concrete date ranges, relative to now

This is the single source of truth for "what dates does *<window>* mean right
now?". It resolves named windows to **concrete ISO date ranges relative to your
run time** (`new Date()` at the moment you invoke it), so you never re-derive
dates manually. It only reads the clock and prints — no files written, no network.

### Run it

```bash
# all windows at once (a quick temporal-context dump)
node "$AGENT_DIR/.claude/skills/temporal/when.mjs"

# one or several specific windows
node "$AGENT_DIR/.claude/skills/temporal/when.mjs" last30Days thisQuarter

# JSON only (machine-readable), or list the supported keywords
node "$AGENT_DIR/.claude/skills/temporal/when.mjs" --json last7Days
node "$AGENT_DIR/.claude/skills/temporal/when.mjs" --list
```

If `$AGENT_DIR` is somehow unset, the script also lives under
`~/.claude/skills/temporal/when.mjs`.

### Windows

| Keyword | Meaning |
| --- | --- |
| `today` / `yesterday` | the single civil day |
| `thisWeek` / `lastWeek` | ISO week (Mon-start); *this* = Mon→today, *last* = the full prior Mon→Sun |
| `last7Days` / `last30Days` / `last90Days` | rolling N-day window ending today (inclusive) |
| `thisMonth` / `lastMonth` | *this* = 1st→today; *last* = the full prior calendar month |
| `thisQuarter` / `lastQuarter` | *this* = quarter-start→today; *last* = the full prior quarter |
| `thisYear` / `lastYear` | *this* = Jan 1→today (YTD); *last* = the full prior year |
| `last12Months` | rolling 12 months ending today |
| `lastNdays` / `lastNweeks` / `lastNmonths` | arbitrary rolling window, e.g. `last45days`, `last2weeks`, `last6months` |

Aliases: `ytd`, `qtd`, `mtd`, `wtd`, `7d`, `30d`, `90d`, `12m`.

Convention: `this*` windows are **period-start → today** (to-date); `last*`
named periods are the **full prior complete period**.

### Output

Each window prints a human line plus a JSON record:

- `start` / `end` — inclusive civil dates (`YYYY-MM-DD`) in your local timezone
- `startUtc` / `endExclusiveUtc` — the same span as a half-open `[start, end)`
  range of exact UTC instants, ideal for timestamp / `createdAt`-style queries
- `days`, `inclusive`, `timezone`, `tzOffsetMinutes`, `asOf` — span, tz, and the
  instant the range was resolved

Use the returned dates as the time bounds for the task. The named shortcuts
`/today`, `/yesterday`, `/last30Days`, `/lastQuarter`, … each call this same
resolver for their one window.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • when.mjs 7 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · harnessmd/munder-difflin100MIT
TerminalSkills/skills100Apache-2.0
gitroomhq/postiz-aws100AGPL-3.0
kid-sid/codex-spellbook100MIT

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 5014fc1b223c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100resolve-time
    Zamienia względne tokeny dat, np. last-2w albo yesterday, na konkretne daty początku i końca, liczone od bieżącej lub podanej daty.
  • 100typescript-temporal
    Obsługuje Temporal API w TypeScript i JavaScript: parsowanie, formatowanie i porównywanie dat, strefy czasowe, czas trwania i dni robocze.
  • 100date-range-analyzer
    Prawdopodobnie analizuje zakresy dat w ramach analityki danych.
  • 100temporal-data
    Podpowiada wzorce tabel czasowych z kolumnami system_from i system_to, zapytania as-of oraz migracje bez utraty historii.
  • 100temporal-transaction-recorder
    Dopisuje transakcje z wybranych okresów, np. w zeszłym tygodniu, do księgi lub arkusza, filtrując je względem daty referencyjnej.
  • 100github-api-queries
    Odpytuje GitHub API o pull requesty i zgłoszenia z zakresu dat i pobiera wszystkie metadane potrzebne do zbierania metryk, na przykład w raportach aktywności.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.