/aldc:al-memory-createfrom ALDC for Claude Code
Generates or updates a memory.md file to track decisions, changes, and learnings across development sessions for project continuity.
Ships in ALDC for Claude Code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Claude Code runtime: read
${CLAUDE_PLUGIN_ROOT}/docs/claude-runtime.mdbefore running this workflow (gates, tools, paths,<Name from $ARGUMENTS>inputs). It runs in the main session.
Generate and maintain a memory.md file that serves as the project memory - tracking decisions, changes, learnings, and important conversations across development sessions.
The memory.md file provides:
This enables AI assistants and developers to pick up where they left off and build on previous work.
If memory.md doesn't exist, create with this template:
# Project Memory - [Extension Name]
> **Purpose**: Continuous memory across development sessions
> **Maintained by**: AI assistants and developers
> **Last Updated**: [Date]
## Quick Reference
**Current Focus**: [What we're working on now]
**Next Steps**: [ImMEDIUMte next actions]
**Blockers**: [Current blockers if any]
---
## Session Log
### [Date] - Session [N]
**Focus**: [What was worked on]
**Completed**:
- [Task 1]
- [Task 2]
**Decisions Made**:
- **[Decision]**: [Rationale]
**Problems Encountered**:
- **[Problem]**: [Solution or workaround]
**Next Session**:
- [ ] [Task to continue]
- [ ] [Task to start]
**Notes**:
- [Any important observations]
---
## Decision Log
### [Date] - [Decision Title]
**Context**: [Why this decision needed to be made]
**Options Considered**:
1. [Option 1]: [Pros/Cons]
2. [Option 2]: [Pros/Cons]
**Decision**: [What was chosen]
**Rationale**: [Why this option]
**Impact**: [What this affects]
**Review Date**: [When to revisit if applicable]
---
## Problem/Solution Patterns
### [Problem Category] - [Specific Issue]
**Symptom**: [What we observed]
**Root Cause**: [What was actually wrong]
**Solution**: [How we fixed it]
**Prevention**: [How to avoid in future]
**Related Code**: [File paths or line numbers]
---
## Learning Journal
### [Date] - [Topic/Insight]
**What We Learned**: [Key insight or pattern discovered]
**Why It Matters**: [Impact on project]
**Where Applied**: [Code locations]
**Resources**: [Links to docs, articles that helped]
---
## Code Evolution
### [Feature/Module Name]
**v1.0** - [Date]
- Initial implementation
- [Key characteristics]
**v1.1** - [Date]
- Changed: [What changed]
- Reason: [Why it changed]
- Migration: [How to adapt if needed]
---
## TODO & Backlog
### High Priority
- [ ] [Task] - [Why important] - [Target date]
### Medium Priority
- [ ] [Task] - [Context]
### Future Ideas
- [ ] [Idea] - [Rationale]
### Done ✅
- [x] [Completed task] - [Date completed]
---
## Questions & Answers
### [Question]
**Asked**: [Date]
**Answer**: [The answer found]
**Source**: [Where answer came from - docs, testing, expert]
---
## Integration Points
### [External System/Extension Name]
**First Integrated**: [Date]
**Current Status**: [Active/Deprecated/Planned]
**Contact Point**: [Method - API/Event/etc]
**Issues Encountered**: [Problems and solutions]
**Dependencies**: [What depends on this]
---
## Performance Tracking
### [Feature/Operation]
**Baseline**: [Initial performance metrics]
**Optimizations Applied**:
- [Date]: [Change] → [Result]
**Current State**: [Latest metrics]
**Target**: [Performance goal]
---
## Testing Insights
### [Test Scenario]
**First Tested**: [Date]
**Results**: [What we found]
**Edge Cases Discovered**:
- [Edge case 1]: [How handled]
**Regression History**: [If this broke before, when and why]
---
## Communication Log
### [Date] - [Stakeholder/Team Member]
**Topic**: [What was discussed]
**Decisions**: [Agreements reached]
**Action Items**: [Who does what]
**Follow-up**: [When to check back]
---
## Environment Notes
### Development Setup
**Last Working Config**: [Date]
- BC Version: [Version]
- Extensions: [Key extensions used]
- Settings: [Important VS Code/AL settings]
**Known Issues**:
- [Issue]: [Workaround]
---
## Deprecated Patterns
### [Pattern Name]
**Used**: [Date range when this was used]
**Replaced By**: [New pattern]
**Migration Guide**: [How to update old code]
**Reason for Deprecation**: [Why we stopped using it]
---
## Useful Snippets
### [Snippet Name]
```al
[Code snippet that proved useful]
Use Case: [When to use this]
Source: [Where this came from]
Attendees: [Who was there]
Topics: [What was discussed]
Decisions: [What was decided]
Actions: [Who does what by when]
What: [What was maintained]
Why: [Reason for maintenance]
Changes: [What changed]
Impact: [What this affects]
### 2. If Memory File Exists - Update It
**Add new session entry:**
```powershell
# Check for recent changes
@changes
# Check current problems
@problems
# Check TODOs
@todos
Update with:
For each development session, document:
Format:
### [Today's Date] - Session N
**Focus**: [Main task(s) worked on]
**Completed**:
- ✅ [Specific accomplishment 1]
- ✅ [Specific accomplishment 2]
**Decisions Made**:
- **[Decision Topic]**: [Choice made and brief reason]
**Problems Encountered**:
- **[Problem Description]**:
- Symptom: [What we saw]
- Cause: [Root cause if known]
- Solution: [How fixed or workaround]
**Learnings**:
- [Insight gained from this session]
**Next Session**:
- [ ] [Continue/start task 1]
- [ ] [Continue/start task 2]
**Files Changed**:
- `[file path]`: [What changed]
**Notes**:
- [Any other important context]
When architectural/technical decisions are made:
### [Date] - [Decision Title]
**Context**:
[What situation required this decision? What were we trying to solve?]
**Options Considered**:
1. **[Option 1]**
- Pros: [Benefits]
- Cons: [Drawbacks]
2. **[Option 2]**
- Pros: [Benefits]
- Cons: [Drawbacks]
**Decision**: [What we chose]
**Rationale**:
[Why this option was best given the context, constraints, and requirements]
**Implementation Notes**:
- [Key points about how this was implemented]
**Impact**:
- Code: [What code was affected]
- Performance: [Performance implications if any]
- Maintenance: [Ongoing maintenance considerations]
**Review Date**: [Optional - when to revisit this decision]
**References**:
- [Links to documentation, discussions, etc.]
When bugs are fixed or challenges overcome:
### [Category] - [Problem Title]
**Date Encountered**: [Date]
**Symptom**:
[What behavior did we observe? What was wrong?]
**Context**:
[When does this happen? What conditions trigger it?]
**Root Cause**:
[What was actually causing the problem?]
**Solution**:
[How we fixed it - code changes, configuration, etc.]
**Code Changed**:
```al
// Before
[problematic code]
// After
[fixed code]
Prevention: [How to avoid this in the future - pattern to follow, test to add, etc.]
Related:
[file paths]
### 6. Learning Capture
When discovering new patterns or insights:
```markdown
### [Date] - [Topic]
**What We Learned**:
[The key insight, pattern, or understanding gained]
**How We Learned It**:
[Through debugging, documentation, experimentation, etc.]
**Why It Matters**:
[Impact on the project, development efficiency, code quality, etc.]
**Where Applied**:
- `[file path]`: [How this learning was applied]
**Best Practice**:
[If this leads to a best practice for this project]
**Resources**:
- [Links to documentation that helped]
- [Code examples from BC or other sources]
At the end of each session, update the top section:
## Quick Reference
**Current Focus**: [Update with current work]
**Last Session**: [Date of last session]
**Next Steps**:
1. [Most imMEDIUMte next action]
2. [Second priority]
**Active Blockers**:
- [Blocker 1]: [Status]
**Recent Achievements** (Last 7 days):
- [Achievement 1]
- [Achievement 2]
**Active Branch**: [Git branch if relevant]
Weekly:
Monthly:
Deliver:
memory.md at project root**AI Assistant**: Load memory.md to understand:
- What was done last session
- What the plan was for this session
- Any blockers or important context
**Capture**:
- Decisions as they're made
- Problems as they're encountered
- Learnings as they're discovered
**Update**:
- Session log with completion status
- TODOs with progress
- Quick Reference with next steps
A successful memory.md enables:
When multiple developers work on the project:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub javiarmesto/aldc-al-development-collection --plugin aldc25 skills in this plugin
/al-buildBuild, package, and deploy AL extensions to Business Central environments. ALDC workflow (Copilot prompt al-build); invoke explicitly./al-context-createGenerate or update context.md file documenting project structure, architecture, and key patterns for AI assistants and developers. ALDC workflow (Copilot prompt al-context.create); invoke explicitly./al-initializeInitialize AL development environment and workspace for Business Central. ALDC workflow (Copilot prompt al-initialize); invoke explicitly./al-pr-preparePrepare a clean, documented pull request draft for AL features or fixes with summary, testing notes, and checklist. ALDC workflow (Copilot prompt al-pr-prepare); invoke explicitly./architectAL Architecture and Design assistant for Business Central extensions. Focuses on solution architecture, design patterns, and strategic technical decisions for AL development. Use when requirements need architectural analysis, data model design, integration strategy, or pattern evaluation before implementation./auditIndependent, on-demand AL codebase auditor for Business Central. Judges the code against BCQuality (citable knowledge) plus native checks for what BCQuality does not reach. Read-only; advisory verdict. Default scope: objects changed vs main; full codebase on request.Other plugins' skills for the same job