跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

al-memory-create

Generate or update memory.md file tracking decisions, changes, and learnings throughout project development for continuity across sessions. ALDC workflow (Copilot prompt al-memory.create); invoke explicitly.

javiarmesto · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add javiarmesto/ALDC-AL-Development-Collection --skill al-memory-create

技能说明


name: al-memory-create description: "Generate or update memory.md file tracking decisions, changes, and learnings throughout project development for continuity across sessions. ALDC workflow (Copilot prompt al-memory.create); invoke explicitly." disable-model-invocation: true

Claude Code runtime: read ${CLAUDE_PROJECT_DIR}/claude-plugin/docs/claude-runtime.md before running this workflow (gates, tools, paths, <Name from $ARGUMENTS> inputs). It runs in the main session.

AL Memory File Generator

Generate and maintain a memory.md file that serves as the project memory - tracking decisions, changes, learnings, and important conversations across development sessions.

Purpose

The memory.md file provides:

  • Session Continuity: What happened in previous sessions
  • Decision Log: Why things were done a certain way
  • Problem/Solution Patterns: What issues occurred and how they were solved
  • TODO Tracking: What needs to be done next
  • Learning Journal: Insights gained during development
  • Context for AI: Prevents re-asking questions or repeating mistakes

This enables AI assistants and developers to pick up where they left off and build on previous work.

Execution Steps

1. Initialize Memory Structure

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]


Meeting Notes

[Date] - [Meeting Type]

Attendees: [Who was there]
Topics: [What was discussed]
Decisions: [What was decided]
Actions: [Who does what by when]


Maintenance Log

[Date] - [Maintenance Activity]

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:

  • New session log entry at the top
  • Any decisions made in this session
  • Problems solved
  • Learnings discovered
  • Progress on existing TODOs
  • New TODOs identified

3. Session Entry Creation

For each development session, document:

Format:

### [Today's Date] - Session N

**Focus**: [Main task(s
阅读完整来源 ↗