Project Memory Management
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_1ae97d99/project-memory.
About this skill
Problem
When an LLM works across multiple sessions on the same project, two engineering problems appear often: context gets buried under stale details, and the model recreates components, utilities, APIs, or database tables that already exist. Putting everything into one project-memory.md makes the file grow quickly; storing nothing causes the next session to lose established conventions.
How the Skill Works
The skill replaces a single monolithic memory file with a modular file structure:
project-memory.mdkeeps only phase state, key decisions, and entry points, ideally under 30 lines.dev-docs/index.mdmaintains a compact index of components,hooks,utils, APIs, and database tables.- Folders such as
dev-docs/components,dev-docs/api, anddev-docs/databasestore full definitions and are read on demand. init_memory.pycreates the directory layout,read_memory.pyloads the main file and index by default,update_memory.pyupdates memory and rebuilds the index, andarchive_phase.pyarchives a phase and summarizes existing assets.
When creating a new component, the skill checks the index for similar definitions, writes the doc first, then implements the code. When modifying an existing component, it also updates the doc first, reducing drift between code and memory.
Boundaries
It fits projects with front-end components, APIs, and schema definitions, especially multi-session development. For one-off scripts or small tasks without stable assets, the folder structure adds maintenance overhead. The docs still need human or Agent synchronization; otherwise the index can lag behind the real code.
Use Cases
- When resuming an e-commerce project across sessions, load project-memory.md and dev-docs/index.md to recover components, APIs, and table structures.
- Before creating a login form, check dev-docs/components for similar components, write the component doc first, then implement the code.
- When archiving phase 2, use archive_phase.py to summarize phase results, task status, and the dev-docs asset list.
- After changing an API or database table, update the related dev-docs file and rebuild the index to keep new-session context consistent.
Best For
- Front-end engineers maintaining a component library who want new sessions to stop recreating buttons, forms, or hooks.
- Agent engineers running multi-phase projects who want project state, component definitions, and decisions in lightweight memory files.
- Full-stack engineers coordinating front-end and back-end work who need indexed APIs, table schemas, and utilities for context.
- Engineering leads with project archiving needs who want phase outputs, existing assets, and decision records summarized regularly.
Related Skills
Provides Claw with character-library selection, switching, saving, and global SOUL.md style sync for role-based conversation.
An AIONE Agentic AI Infrastructure SDK wrapper for building production AI agents with memory, skills, workflows, and hooks.
A Python/TypeScript SDK wrapper for the DeepSeek-Reasonix native AI coding agent, with prefix-cache support.
A browser automation tool for analysts, operators, and developers that locates elements, fills forms, extracts structured content, and supports no-code scheduling and export.