# Favourite Location

> Persist favourite locations on page refresh, list under SearchBar, and fetch weather on click. Use when this capability is needed.

- Skill: `tomevault-io/favourite-location` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/favourite-location`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/favourite-location/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/favourite-location

---


# Task: Create functionality for keeping favaoute locations
- Create sticky navbar on top of the site having a "Favourites" button (preferably using Heart icon, keep right).
- Extend Redux store to create actions when interacting with weather forecast buttons/cards.
- Please persist favourite entries in local storage so that they are available on page reload/refresh.
- Clicking on "Favourites" button in the navbar should list all favourite locations under the SearchBar component.
- Each favourite entry listed should be clickable, on click triggers "Get Location" button logic, and fetching/rendering weather results for that location.

# Task: Autorefresh with predefined interval 15, 30, 60 minutes
- Please add predefined interval list with mentioned count of minutes.
- Custom interval should be supported to add to the bottom of predifined intervals.
- Add intervals to the Redux store in their own slice/object.
- Always use current location from the Redux store to fetch weather data.
- Add autorefresh logic to fetch weather data for the current location based on selected interval.
- Each custom interval entry has a "X" delete button to remove it from the list.
- Activating a timer without current location will result in empty expectations by the user.
- Please notify the user about missing curent location with warning.
- Do not activate auto refresh interval without current location.
- Do not disable interval buttonss on missing current location, just warn the user on click.

# Code Standards
- Keep files under 100 lines where possible.
- DRY - Don't Repeat Yourself.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/vativa) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

