recent-data

Manage recently accessed topics, resources, and pages in a session store.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/andershi666/lobehub-hr-demo --skill recent-data-andershi666
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recent-data
Source: https://github.com/andershi666/lobehub-hr-demo/tree/main/lobehub/.agents/skills/recent-data
Command: npx skills add https://github.com/andershi666/lobehub-hr-demo --skill recent-data-andershi666

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Recent data (topics, resources, and pages) are often scattered across an app, making it hard to quickly resume work. This guide shows how to initialize, store, and access recently used items in a session store to improve context continuity and navigation efficiency.

Core Features & Use Cases

  • Centralized session-store of recentTopics, recentResources, and recentPages
  • Easy initialization at app startup to populate recents
  • Read-through selectors and hooks for performant UI rendering
  • Use Case: Build a dashboard that instantly shows the user's recently opened topics and resources

Quick Start

Ask the AI to fetch and display the user's recently accessed topics, resources, and pages from the session store.

Frequently Asked Questions about recent-data

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

FAQPage Schema
How do I manage recently accessed items in a React app using session storage?

To manage recently accessed items in a React app, initialize a lightweight state store with session storage to track recentTopics, recentResources, and recentPages. This exposes read-through selectors and hooks for performant UI rendering and quick retrieval.

What is the best way to restore user workflow context from prior interactions?

Restoring workflow context from prior interactions requires a centralized session store tracking recently used items across topics, resources, and pages. This state store supports initialization at app startup to populate recents and resume work efficiently.

How do I build a dashboard in React that instantly shows recently opened resources?

Building a dashboard that instantly shows recently opened resources involves reading from a centralized session store. Use read-through selectors and hooks to query recentResources, recentTopics, and recentPages for performant, real-time UI rendering.

Can I use React hooks for real-time updates of recent data in session storage?

Yes, you can use React hooks for real-time updates of recent data. The session store exposes hooks that perform read-through operations, allowing UI components to render performant updates whenever recentTopics, recentResources, or recentPages change.

Does recent data state management require external dependencies?

Recent data state management does not require external dependencies. It relies on a lightweight state store utilizing built-in session storage to handle initialization, reading, and real-time updates of recently accessed topics, resources, and pages.