Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

project-memory项目记忆

Agent Skill

project-memory 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,416

周安装

59

GitHub Stars

76

下载量

472
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:project-memory(项目记忆)
来源仓库:https://github.com/spillwavesolutions/project-memory
仓库路径:skills/project-memory
安装命令:
npx skills add https://github.com/spillwavesolutions/project-memory --skill project-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/spillwavesolutions/project-memory --skill project-memory

简介

project-memory 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词、任务场景或来源线索进行信息整理与定向搜索。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 建议确认权限范围和维护状态,避免触发联网或文件读写操作。
  • 可结合原始 README 进一步核验具体用法和功能边界。

SKILL.md

Project Memory

Table of Contents

- 1. Initial Setup - Create Memory Infrastructure - 2. Configure CLAUDE.md - Memory-Aware Behavior - 3. Configure AGENTS.md - Multi-Tool Support - 4. Searching Memory Files - 5. Updating Memory Files - 6. Memory File Maintenance

Overview

Maintain institutional knowledge for projects by establishing a structured memory system in docs/project_notes/. This skill sets up four key memory files (bugs, decisions, key facts, issues) and configures CLAUDE.md and AGENTS.md to automatically reference and maintain them. The result is a project that remembers past decisions, solutions to problems, and important configuration details across coding sessions and across different AI tools.

When to Use This Skill

Invoke this skill when:

  • Starting a new project that will accumulate knowledge over time
  • The project already has recurring bugs or decisions that should be documented
  • The user asks to "set up project memory" or "track our decisions"
  • The user wants to log a bug fix, architectural decision, or completed work
  • Encountering a problem that feels familiar ("didn't we solve this before?")
  • Before proposing an architectural change (check existing decisions first)
  • Working on projects with multiple developers or AI tools (Claude Code, Cursor, etc.)

Core Capabilities

1. Initial Setup - Create Memory Infrastructure

When invoked for the first time in a project, create the following structure:

docs/
└── project_notes/
    ├── bugs.md         # Bug log with solutions
    ├── decisions.md    # Architectural Decision Records
    ├── key_facts.md    # Project configuration and constants
    └── issues.md       # Work log with ticket references

Directory naming rationale: Using docs/project_notes/ instead of memory/ makes it look like standard engineering organization, not AI-specific tooling. This increases adoption and maintenance by human developers.

Initial file content: Copy templates from the references/ directory in this skill:

  • Use references/bugs_template.md for initial bugs.md
  • Use references/decisions_template.md for initial decisions.md
  • Use references/key_facts_template.md for initial key_facts.md
  • Use references/issues_template.md for initial issues.md

Each template includes format examples and usage tips.

2. Configure CLAUDE.md - Memory-Aware Behavior

Add or update the following section in the project's CLAUDE.md file:

## Project Memory System

This project maintains institutional knowledge in `docs/project_notes/` for consistency across sessions.

### Memory Files

- **bugs.md** - Bug log with dates, solutions, and prevention notes
- **decisions.md** - Architectural Decision Records (ADRs) with context and trade-offs
- **key_facts.md** - Project configuration, credentials, ports, important URLs
- **issues.md** - Work log with ticket IDs, descriptions, and URLs

### Memory-Aware Protocols

**Before proposing architectural changes:**
- Check `docs/project_notes/decisions.md` for existing decisions
- Verify the proposed approach doesn't conflict with past choices
- If it does conflict, acknowledge the existing decision and explain why a change is warranted

**When encountering errors or bugs:**
- Search `docs/project_notes/bugs.md` for similar issues
- Apply known solutions if found
- Document new bugs and solutions when resolved

**When looking up project configuration:**
- Check `docs/project_notes/key_facts.md` for credentials, ports, URLs, service accounts
- Prefer documented facts over assumptions

**When completing work on tickets:**
- Log completed work in `docs/project_notes/issues.md`
- Include ticket ID, date, brief description, and URL

**When user requests memory updates:**
- Update the appropriate memory file (bugs, decisions, key_facts, or issues)
- Follow the established format and style (bullet lists, dates, concise entries)

### Style Guidelines for Memory Files

- **Prefer bullet lists over tables** for simplicity and ease of editing
- **Keep entries concise** (1-3 lines for descriptions)
- **Always include dates** for temporal context
- **Include URLs** for tickets, documentation, monitoring dashboards
- **Manual cleanup** of old entries is expected (not automated)

3. Configure AGENTS.md - Multi-Tool Support

If the project has an AGENTS.md file (used for agent workflows or multi-tool projects), add the same memory protocols. This ensures consistency whether using Claude Code, Cursor, GitHub Copilot, or other AI tools.

If AGENTS.md exists: Add the same "Project Memory System" section as above.

If AGENTS.md doesn't exist: Ask the user if they want to create it. Many projects use multiple AI tools and benefit from shared memory protocols.

4. Searching Memory Files

When encountering problems or making decisions, proactively search memory files:

Search bugs.md:

# Look for similar errors
grep -i "connection refused" docs/project_notes/bugs.md

# Find bugs by date range
grep "2025-01" docs/project_notes/bugs.md

Search decisions.md:

# Check for decisions about a technology
grep -i "database" docs/project_notes/decisions.md

# Find all ADRs
grep "^### ADR-" docs/project_notes/decisions.md

Search key_facts.md:

# Find database connection info
grep -A 5 "Database" docs/project_notes/key_facts.md

# Look up service accounts
grep -i "service account" docs/project_notes/key_facts.md

Use Grep tool for more complex searches:

  • Search across all memory files: Grep(pattern="oauth", path="docs/project_notes/")
  • Context-aware search: Grep(pattern="bug", path="docs/project_notes/bugs.md", -A=3, -B=3)

5. Updating Memory Files

When the user requests updates or when documenting resolved issues, update the appropriate memory file:

Adding a bug entry:

### YYYY-MM-DD - Brief Bug Description
- **Issue**: What went wrong
- **Root Cause**: Why it happened
- **Solution**: How it was fixed
- **Prevention**: How to avoid it in the future

Adding a decision:

### ADR-XXX: Decision Title (YYYY-MM-DD)

**Context:**
- Why the decision was needed
- What problem it solves

**Decision:**
- What was chosen

**Alternatives Considered:**
- Option 1 -> Why rejected
- Option 2 -> Why rejected

**Consequences:**
- Benefits
- Trade-offs

Adding key facts:

  • Organize by category (GCP Project, Database, API, Local Development, etc.)
  • Use bullet lists for clarity
  • Include both production and development details
  • Add URLs for easy navigation
  • See references/key_facts_template.md for security guidelines on what NOT to store

Adding work log entry:

### YYYY-MM-DD - TICKET-ID: Brief Description
- **Status**: Completed / In Progress / Blocked
- **Description**: 1-2 line summary
- **URL**: https://jira.company.com/browse/TICKET-ID
- **Notes**: Any important context

6. Memory File Maintenance

Periodically clean old entries:

  • User is responsible for manual cleanup (no automation)
  • Remove very old bug entries (6+ months) that are no longer relevant
  • Archive completed work from issues.md (3+ months old)
  • Keep all decisions (they're lightweight and provide historical context)
  • Update key_facts.md when project configuration changes

Conflict resolution:

  • If proposing something that conflicts with decisions.md, explain why revisiting the decision is warranted
  • Update the decision entry if the choice changes
  • Add date of revision to show evolution

Templates and References

This skill includes template files in references/ that demonstrate proper formatting:

  • references/bugs_template.md - Bug entry format with examples
  • references/decisions_template.md - ADR format with examples
  • references/key_facts_template.md - Key facts organization with examples (includes security guidelines)
  • references/issues_template.md - Work log format with examples

When creating initial memory files, copy these templates to docs/project_notes/ and customize them for the project.

Example Workflows

Scenario 1: Encountering a Familiar Bug

User: "I'm getting a 'connection refused' error from the database"
-> Search docs/project_notes/bugs.md for "connection"
-> Find previous solution: "Use AlloyDB Auth Proxy on port 5432"
-> Apply known fix

Scenario 2: Proposing an Architectural Change

Internal: "User might benefit from using SQLAlchemy for migrations"
-> Check docs/project_notes/decisions.md
-> Find ADR-002: Already decided to use Alembic
-> Use Alembic instead, maintaining consistency

Scenario 3: User Requests Memory Update

User: "Add that CORS fix to our bug log"
-> Read docs/project_notes/bugs.md
-> Add new entry with date, issue, solution, prevention
-> Confirm addition to user

Scenario 4: Looking Up Project Configuration

Internal: "Need to connect to database"
-> Check docs/project_notes/key_facts.md
-> Find Database Configuration section
-> Use documented connection string and credentials

Tips for Effective Memory Management

  1. Be proactive: Check memory files before proposing solutions
  2. Be concise: Keep entries brief (1-3 lines for descriptions)
  3. Be dated: Always include dates for temporal context
  4. Be linked: Include URLs to tickets, docs, monitoring dashboards
  5. Be selective: Focus on recurring or instructive issues, not every bug

Integration with Other Skills

The project-memory skill complements other skills:

  • requirements-documenter: Requirements -> Decisions (ADRs reference requirements)
  • root-cause-debugger: Bug diagnosis -> Bug log (document solutions after fixes)
  • code-quality-reviewer: Quality issues -> Decisions (document quality standards)
  • docs-sync-editor: Code changes -> Key facts (update when config changes)

When using these skills together, consider updating memory files as a follow-up action.

Success Criteria

This skill is successfully deployed when:

  • docs/project_notes/ directory exists with all four memory files
  • CLAUDE.md includes "Project Memory System" section with protocols
  • AGENTS.md includes the same protocols (if file exists or user requested)
  • Memory files follow template format and style guidelines
  • AI assistant checks memory files before proposing changes
  • User can easily request memory updates ("add this to bugs.md")
  • Memory files look like standard engineering documentation, not AI artifacts

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.5%
按下载量换算168

Claude

28.29%
按下载量换算134

Cursor

18.57%
按下载量换算88

Gemini CLI

8.91%
按下载量换算42

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills