본문으로 건너뛰기
cccskills
무료GitHub에 공개

memory-system

AID Memory System for session feedback, learning cycles, and skill improvement. Manages state, feedback collection, and improvement analysis. Load for /aid-init, /aid-start, /aid-status, /aid-end, /aid-improve, /aid-memory, /aid-reset.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(24)

  • SKILL.md6.2 KB
  • references/phases/breakdown/cumulative.md450 B
  • references/phases/breakdown/SKILL.md1.2 KB
  • references/phases/development/cumulative.md952 B
  • references/phases/development/SKILL.md775 B
  • references/phases/discovery/cumulative.md950 B
  • references/phases/discovery/SKILL.md2.7 KB
  • references/phases/prd/cumulative.md944 B
  • references/phases/prd/SKILL.md458 B
  • references/phases/qa-ship/cumulative.md950 B
  • references/phases/qa-ship/SKILL.md898 B
  • references/phases/tech-spec/cumulative.md950 B
  • references/phases/tech-spec/SKILL.md810 B
  • references/roles/data-scientist/cumulative.md1.0 KB
  • references/roles/data-scientist/SKILL.md974 B
  • references/roles/developer/cumulative.md1.0 KB
  • references/roles/developer/SKILL.md802 B
  • references/roles/product-manager/cumulative.md1020 B
  • references/roles/product-manager/SKILL.md808 B
  • references/roles/qa-engineer/cumulative.md1.0 KB
  • references/roles/qa-engineer/SKILL.md749 B
  • references/roles/tech-lead/cumulative.md1.0 KB
  • references/roles/tech-lead/SKILL.md819 B
  • SKILL.extended.md9.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Memory System Skill

Triggers

Load when the user invokes any of these; otherwise do not load.

CommandDescription
/aid-initInitialize AID system / memory system (first time setup)
/aid-start [role] [phase]Start a work session
/aid-statusShow current session state
/aid-endComplete phase gate, collect feedback
/aid-improveRun improvement analysis (spawns sub-agent)
/aid-memoryManage memory entries
/aid-resetReset memory system (clear state & feedback)

Enums

Roles: product-manager (pm), developer (dev), qa-engineer (qa), tech-lead (lead), data-scientist (ds)

Phases: discovery (Phase 0), prd (Phase 1), tech-spec (Phase 2), breakdown (Phase 3), development (Phase 4), qa-ship (Phase 5)

Sub-Agent: Memory Analysis

On /aid-improve, spawn the memory-analysis-agent:

Task(
  subagent_type: "general-purpose",
  model: "opus",
  prompt: [Read ../../agents/memory-analysis-agent.md],
  description: "Memory system improvement analysis"
)

Pass:

{{FEEDBACK_DATA}} - Contents of ~/.aid/feedback/pending/*.json
{{CURRENT_SKILLS}} - Section headers from skills/memory-system/references/
{{TREND_DATA}} - Contents of ~/.aid/metrics/trends.json
{{MEMORY_ENTRIES}} - Current AID:* Claude Memory entries

Agent returns:

{
  "suggestions": [...],
  "memory_candidates": [...],
  "trends_analysis": {...}
}

Session Start Flow (/aid-start)

  1. Check AID directory:
IF ~/.aid/ does not exist:
  → Run /aid-init flow
  → Create directory structure
  → Initialize with defaults
  → Display: "🚀 AID Memory System initialized!"
  1. Load state: read ~/.aid/state.json; check pending_feedback_count; check sessions_since_last_improvement.
  2. Check improvement suggestion:
IF pending feedback >= threshold:
  Display:
  "📊 I have {pending} feedback items waiting for analysis.
   Would you like to review insights and improve skills?
   [Yes, let's improve] [No, continue working]"
  1. Determine role & phase:
IF /aid-start <role> <phase> provided:
  → Use provided values
ELIF state.last_session exists:
  → Suggest: "Continue as {last_role} in {last_phase}?"
ELSE:
  → Ask for role and phase
  1. Load skills from skills/memory-system/references/, in order:
1. roles/{role}/SKILL.md
2. roles/{role}/cumulative.md
3. phases/{phase}/SKILL.md
4. phases/{phase}/cumulative.md
  1. Update state & begin:
Update ~/.aid/state.json with:
- current_session.active = true
- current_session.role = role
- current_session.phase = phase
- current_session.started_at = now()

Greet user and ask what they're working on.

Session Work Flow

Track revisions (internal counter):

revision_triggers = [
  "fix", "change", "update", "wrong", "missing", "add",
  "incorrect", "error", "should be", "not right", "revise"
]

On each user message containing trigger:
  revision_count += 1
  Note what needed fixing for feedback

Note patterns (internal):

positive_triggers = ["great", "perfect", "exactly", "good", "excellent"]

On positive trigger:
  Note what worked well for feedback

Phase Gate Flow (/aid-end or phase completion detected)

  1. Display summary:
📋 Phase Summary: {phase_display_name}

Completed deliverables:
• {deliverable_1}
• {deliverable_2}

Revisions made: {revision_count}
  1. Request rating (MANDATORY):
📊 Quality Rating (1-5):

1 ⭐ - Poor, needs significant improvement
2 ⭐⭐ - Below average, missing important elements
3 ⭐⭐⭐ - Acceptable, worked but room for improvement
4 ⭐⭐⭐⭐ - Good, almost perfect
5 ⭐⭐⭐⭐⭐ - Excellent, exactly what I needed

MUST get rating before proceeding
  1. Request qualitative feedback (optional): What worked well? What could be improved? Additional notes?
  2. Save feedback file:
Save to ~/.aid/feedback/pending/{timestamp}.json:
{
  "context": { "role": "...", "phase": "..." },
  "metrics": { "rating": N, "revisions": N },
  "qualitative": { "what_worked": "...", "what_didnt": "..." }
}
  1. Update state:
Update ~/.aid/state.json:
- statistics.total_sessions += 1
- statistics.pending_feedback_count += 1
- statistics.sessions_since_last_improvement += 1
- current_session.active = false

Improvement Flow (/aid-improve)

  1. Gather data: all files from ~/.aid/feedback/pending/; current skills from skills/memory-system/references/; trends from ~/.aid/metrics/trends.json.
  2. Spawn analysis agent:
Task(
  subagent_type: "general-purpose",
  model: "opus",
  prompt: [../../agents/memory-analysis-agent.md with variables],
  description: "Analyze feedback and suggest improvements"
)
  1. Present suggestions with approval buttons: [Approve] [Edit] [Reject] for each skill update; [Promote to Memory] [Skip] for each memory candidate.
  2. Apply changes: update approved skill files; add approved memory entries; archive processed feedback to ~/.aid/feedback/processed/.

Anonymization Rules

NEVER include in feedback:

  • ❌ Project name or identifier
  • ❌ Company name
  • ❌ Domain-specific terms
  • ❌ Code snippets
  • ❌ User names

ALWAYS include:

  • ✅ Role (product-manager, developer, etc.)
  • ✅ Phase (discovery, prd, etc.)
  • ✅ Rating (1-5)
  • ✅ Revision count
  • ✅ Generic methodology feedback

State Files

FilePurpose
~/.aid/state.jsonCurrent session state
~/.aid/config.yamlUser configuration
~/.aid/feedback/pending/Unprocessed feedback
~/.aid/feedback/processed/Archived feedback
~/.aid/metrics/trends.jsonHistorical trends

Error Handling

ErrorAction
Missing ~/.aid/Run /aid-init automatically
Missing skill filesUse defaults, log warning
Corrupted state.jsonBackup and reset
User skips ratingGently insist, then save as null

Related

  • Agent: ../../agents/memory-analysis-agent.md
  • References: skills/memory-system/references/
  • Commands: ../../commands/aid-*.md

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

AID Phase 4 - Development phase. Use for implementing features, TDD practices, code reviews, transitioning from planning to QA.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ilandahan/AID102026년 9월 23일 업데이트

AID Phase 0 - Research & discovery. Use for validating problem spaces, identifying stakeholders, defining success metrics, deciding whether to proceed.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ilandahan/AID102026년 9월 23일 업데이트

AID Phase 3 - Implementation Planning with consolidation-first approach. Resolves contradictions between PRD and Tech Spec, creates consolidated master document, then breaks down into actionable tasks and populates Jira. Includes sprint planning and risk assessment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ilandahan/AID102026년 9월 23일 업데이트

aid-prd

무료

AID Phase 1 - PRD creation. Use for user stories, acceptance criteria, scoping features, transitioning from discovery to tech spec.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ilandahan/AID102026년 9월 23일 업데이트

AID Phase 5 - QA and Release. Use for validating implementations, acceptance tests, preparing releases, deployment, operational readiness.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ilandahan/AID102026년 9월 23일 업데이트

AID Phase 2 - Technical Specification. Use for system architecture, API contracts, data models, security architecture, transitioning from PRD to implementation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ilandahan/AID102026년 9월 23일 업데이트

ilandahan의 스킬 모두 보기

이 스킬의 문제 신고