add-route-context

Community

AI-driven route context for Flutter pages.

Authorhunmer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

通过在 Flutter 页面中记录路由上下文,帮助 AI 助手理解当前页面的状态与参数(如日期、ID等),从而在对话中提供更精准的上下文感知支持。

Core Features & Use Cases

  • 实时更新路由上下文,支持日期、ID 等参数
  • 与 AI 助手的“询问当前上下文”功能无缝配合,提升对话质量
  • 适用于日记、日历、订单详情等需要设备当前页面信息的场景
  • Use Case: 当用户查看某日记录页时,AI 可以读取日期参数并据此给出相关建议

Quick Start

On a new Flutter project, integrate by importing RouteHistoryManager and calling _updateRouteContext in initState, then call _updateRouteContext when parameters change. For example, when a user selects a date, call _updateRouteContext(date).

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-route-context
Download link: https://github.com/hunmer/Memento/archive/main.zip#add-route-context

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.