agentleFS
karim-bhalwanikarim-bhalwani/agent-skills-collection/skills/proj-memory/SKILL.md

proj-memory

Skill0 starsChanged 10 months agoMITView on GitHub

Set up and maintain structured project memory systems that track bugs with solutions, architectural decisions, key project facts, and work history. Use when setting up new projects, documenting decisions, tracking bugs and solutions, or maintaining project knowledge across sessions.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Memory Infrastructure: - Create docs/project_notes/ structure

    line 36
  2. Distinctive:

    Bugs Management: - Document bugs, root causes, solutions, prevention

    line 37
  3. Distinctive:

    Create 4 memory files (bugs.md, decisions.md, key_facts.md, tracks.md)

    line 98
  4. Distinctive:

    Add templates from reference guide

    line 99
  5. Distinctive:

    Start documenting as you work

    line 101
  6. Very specific:

    Add memory section to AGENT.md:

    line 183
  7. Distinctive:

    Search bugs.md for similar issues

    line 215
  8. Distinctive:

    If found, apply known solution

    line 216
  9. Distinctive:

    If new, investigate and document

    line 217
  10. Distinctive:

    Check decisions.md for related decisions

    line 223
  11. Distinctive:

    Document in ADR format

    line 225
  12. Distinctive:

    If not found, document

    line 232
  13. Distinctive:

    key_facts.md: - Verify URLs, ports, facts still current

    line 244

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Project Memory

Maintain institutional knowledge across your project lifecycle and team members.

When to Use This Skill

Use when:

  • Setting up project memory system for first time
  • Documenting architectural decisions and rationale
  • Tracking bugs, solutions, and prevention measures
  • Maintaining key project facts and configuration
  • Logging completed work and milestones
  • Configuring AGENT.md with memory protocols
  • Quarterly review and refresh of project knowledge

Core Capabilities

  1. Memory Infrastructure - Create docs/project_notes/ structure
  2. Bugs Management - Document bugs, root causes, solutions, prevention
  3. Decision Records - Architectural Decision Records (ADRs) with context
  4. Key Facts - Configuration, URLs, ports, credentials pointers
  5. Work Tracking - Log completed tickets and milestones
  6. Agent Integration - Configure AGENT.md for memory-aware behavior
  7. Knowledge Maintenance - Quarterly refresh and pruning

Memory System Structure

Directory Layout

docs/
└── project_notes/
    ├── bugs.md           # 50-100 bug entries, solutions
    ├── decisions.md      # 5-15 architectural decisions
    ├── key_facts.md      # Configuration, URLs, facts
    └── tracks.md         # Work log with ticket references

Why docs/project_notes/?

  • Standard engineering organization (not AI-specific)
  • Clear purpose for all team members
  • Coexists with other documentation

File Purposes

FileContentAudienceRefresh Rate
bugs.mdBug descriptions, root causes, solutionsDevelopersContinuous
decisions.mdArchitectural decisions with rationaleArchitects, leadsQuarterly
key_facts.mdConfiguration, URLs, ports, factsAllMonthly
tracks.mdWork log, completed ticketsPM, teamWeekly

Reference Guide

Project Memory Setup & Management

Use when: Creating or maintaining project memory

Covers:

  • Initial memory setup and directory structure
  • Template content for each memory file
  • Configuring AGENT.md with memory protocols
  • Searching and updating memory files
  • Quarterly refresh process
  • Cross-referencing patterns

Quick Start

For New Projects

  1. Create docs/project_notes/ directory
  2. Create 4 memory files (bugs.md, decisions.md, key_facts.md, tracks.md)
  3. Add templates from reference guide
  4. Configure AGENT.md with memory section
  5. Start documenting as you work

For Existing Projects

  1. Review existing documentation
  2. Consolidate into 4 memory files
  3. Add AGENT.md configuration
  4. Set quarterly refresh reminders
  5. Migrate as you encounter issues

Memory File Content

bugs.md Structure

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

Example:

### 2025-01-25 - Database Connection Timeout
- **Issue**: API requests timing out after 30s
- **Root Cause**: Connection pool default timeout was 30s, too low
- **Solution**: Increased timeout to 300s, added connection validation
- **Prevention**: Monitor connection pool metrics in staging

decisions.md Structure (ADR Format)

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

**Context**: Why decision was needed

**Decision**: What was chosen

**Alternatives**: What was rejected and why

**Consequences**: Benefits and trade-offs

key_facts.md Structure

## Category Name
- **Item**: Value
- **URL**: Link
- **Port**: Number
- **Config**: Setting

## Database
- Host: prod-db.aws.region
- Port: 5432
- Failover: automatic

## Local Development
- Database: Docker (PostgreSQL)
- Port: 5432
- URL: localhost:5432

tracks.md Structure

### YYYY-MM-DD - TICKET-ID: Brief Title
- **Status**: Completed / In Progress / Blocked
- **Description**: What was done
- **URL**: Link to ticket/PR
- **Notes**: Key learnings or blockers

Integration with AGENT.md

Add memory section to AGENT.md:

## Project Memory System
This project maintains institutional knowledge in docs/project_notes/.

### Memory-Aware Protocols
- Before proposing architectural changes: Check decisions.md
- When encountering errors: Search bugs.md for solutions
- When looking up configuration: Check key_facts.md
- When completing work: Log in tracks.md

Best Practices

  • ✅ Document as you go: Don't wait until end of week
  • ✅ Include rationale: Why, not just what
  • ✅ Use dates: Temporal context matters
  • ✅ Link references: Cross-reference related entries
  • ✅ Never store secrets: Use secure vaults, document access
  • ✅ Quarterly refresh: Keep information current
  • ✅ Human-readable: Write for team members reading later

Common Patterns

Bug Discovery Workflow

  1. Encounter bug
  2. Search bugs.md for similar issues
  3. If found, apply known solution
  4. If new, investigate and document
  5. Log in bugs.md with solution and prevention

Decision Making Workflow

  1. Face architectural decision
  2. Check decisions.md for related decisions
  3. Consider alternatives
  4. Document in ADR format
  5. Reference from code/documentation

Configuration Reference

  1. Need to look up config
  2. Check key_facts.md
  3. If not found, document
  4. Share with team
  5. Link from AGENT.md

Quarterly Maintenance

Every quarter:

  1. bugs.md - Archive solved bugs, update documentation
  2. decisions.md - Review if decisions still valid, update if needed
  3. key_facts.md - Verify URLs, ports, facts still current
  4. tracks.md - Archive previous quarter, start fresh

Success Metrics

Good project memory:

  • ✅ Team refers to decisions.md before proposing changes
  • ✅ Similar bugs don't get re-discovered
  • ✅ New team members find onboarding info
  • ✅ Configuration is never lost or repeated
  • ✅ Work completed is documented for reference

Dependencies

  • context-engineer - For context capture and preservation
  • state-manager - For state and configuration management

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.