Proj memory
Skill karim-bhalwani/agent-skills-collection/skills/proj-memory
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.From its SKILL.md
npx -y skills add karim-bhalwani/agent-skills-collection --skill proj-memoryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.6 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it
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
- Memory Infrastructure - Create docs/project_notes/ structure
- Bugs Management - Document bugs, root causes, solutions, prevention
- Decision Records - Architectural Decision Records (ADRs) with context
- Key Facts - Configuration, URLs, ports, credentials pointers
- Work Tracking - Log completed tickets and milestones
- Agent Integration - Configure AGENT.md for memory-aware behavior
- 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
| File | Content | Audience | Refresh Rate |
|---|---|---|---|
| bugs.md | Bug descriptions, root causes, solutions | Developers | Continuous |
| decisions.md | Architectural decisions with rationale | Architects, leads | Quarterly |
| key_facts.md | Configuration, URLs, ports, facts | All | Monthly |
| tracks.md | Work log, completed tickets | PM, team | Weekly |
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
- Create
docs/project_notes/directory - Create 4 memory files (bugs.md, decisions.md, key_facts.md, tracks.md)
- Add templates from reference guide
- Configure
AGENT.mdwith memory section - Start documenting as you work
For Existing Projects
- Review existing documentation
- Consolidate into 4 memory files
- Add AGENT.md configuration
- Set quarterly refresh reminders
- 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
- Encounter bug
- Search bugs.md for similar issues
- If found, apply known solution
- If new, investigate and document
- Log in bugs.md with solution and prevention
Decision Making Workflow
- Face architectural decision
- Check decisions.md for related decisions
- Consider alternatives
- Document in ADR format
- Reference from code/documentation
Configuration Reference
- Need to look up config
- Check key_facts.md
- If not found, document
- Share with team
- Link from AGENT.md
Quarterly Maintenance
Every quarter:
- bugs.md - Archive solved bugs, update documentation
- decisions.md - Review if decisions still valid, update if needed
- key_facts.md - Verify URLs, ports, facts still current
- 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
What ships with it: 7 files
30.7 KB alongside SKILL.md
references/
- bugs_template.md1.6 KB
- decisions_template.md3.1 KB
- key_facts_template.md3.6 KB
- memory-setup.md8.3 KB
- templates-examples.md12.2 KB
- tracks_template.md1.8 KB
- track_template.md140 B