recent-data

Initialize and read session-based recent topics, resources, and pages via selectors.

Updated Aug 30, 2025
One-click install
npx skills add https://github.com/cute-baobao/pm --skill recent-data-cute-baobao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recent-data
Source: https://github.com/cute-baobao/pm/tree/main/.agents/skills/recent-data
Command: npx skills add https://github.com/cute-baobao/pm --skill recent-data-cute-baobao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing user history across a session is tedious. This guide helps you initialize, store, and read recently used topics, resources, and pages from a session store.

Core Features & Use Cases

  • Initialization hooks to seed recent data on app startup.
  • Read and display recent topics, resources, and pages via selectors.
  • Use in dashboards and navigation components to provide quick access to recent items.

Quick Start

Initialize and read recent topics, resources, and pages at app startup using the provided hooks and selectors.

Frequently Asked Questions about recent-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track recently accessed items in React using session store?

To track recently accessed items in React, use initialization hooks to seed recent data and selectors to read topics, resources, and pages from the session store, ensuring reliable state management across components.

What is the best way to manage session-based navigation history in React?

The best way to manage session-based navigation history is using selector-based access patterns with React hooks to load and update recent pages, providing quick navigation access without manual state handling.

Do I need React hooks to initialize recent data on app startup?

Yes, initialization hooks are needed to seed the session store with recent topics and resources on app startup, establishing a reliable baseline for state management before components read the data.

Can I use selectors to display recent topics in dashboard components?

Yes, selectors provide read access to the session store, enabling high-performance retrieval of recently used resources and pages for quick dashboard access.

Does this state management approach enforce type safety for session store data?

Yes, it combines initialization hooks, selectors, and type safety rules to ensure reliable, high-performance handling of recent topics and resources in the session store.

Why does managing user history across a session become tedious in frontend apps?

It becomes tedious because manually handling state initialization and updates for recently used topics lacks standardized selector patterns, which this approach solves by enforcing structured, session-store based navigation history across components.