Proj memory
Skill karim-bhalwani/agent-skills-collection/skills/proj-memory
AI agents are smart but unreliable without procedure. "Agent Skills" are executable checklists that package expertise.
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.
What its author says it does
Copied from the file, not written here
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.
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
Gives 0 of the 12 instructions most memory context skills give in ~1.4k tokens
Counted across 674 of the 847 authors here whose files we hold, read 2026-08-06
- inform the user when setup is completein 21 of 674, across 6 files
- confirm the draft with the user before writingin 21 of 674, across 6 files
- update the agent skills block in place if it existsin 21 of 674, across 6 files
- present findings to the userin 20 of 674, across 5 files
- write the three docs files from seed templatesin 20 of 674, across 5 files
- ask the user about each decision one at a timein 19 of 674, across 4 files
- edit CLAUDE.md if it existsin 18 of 674, across 3 files
- explore current repo statein 18 of 674, across 3 files
- do not overwrite user edits to surrounding sectionsin 18 of 674, across 3 files
- back up the original file before overwritingin 16 of 674, across 8 files
- keep the memory index under 200 linesin 15 of 674
- Provide actionable steps and verificationin 13 of 674, across 2 files
Said here and by no other author read
- create docs/project_notes directory
- create bugs.md, decisions.md, key_facts.md, and tracks.md
- configure AGENT.md with memory protocols
- document bugs with root cause and solution
- store project facts in key_facts.md
- log completed work in tracks.md
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.