AID Phase 4 - Development phase. Use for implementing features, TDD practices, code reviews, transitioning from planning to QA.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Load when the user invokes any of these; otherwise do not load.
| Command | Description |
|---|---|
/aid-init | Initialize AID system / memory system (first time setup) |
/aid-start [role] [phase] | Start a work session |
/aid-status | Show current session state |
/aid-end | Complete phase gate, collect feedback |
/aid-improve | Run improvement analysis (spawns sub-agent) |
/aid-memory | Manage memory entries |
/aid-reset | Reset memory system (clear state & feedback) |
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)
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": {...}
}
/aid-start)IF ~/.aid/ does not exist:
→ Run /aid-init flow
→ Create directory structure
→ Initialize with defaults
→ Display: "🚀 AID Memory System initialized!"
~/.aid/state.json; check pending_feedback_count; check sessions_since_last_improvement.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]"
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
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
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.
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
/aid-end or phase completion detected)📋 Phase Summary: {phase_display_name}
Completed deliverables:
• {deliverable_1}
• {deliverable_2}
Revisions made: {revision_count}
📊 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
Save to ~/.aid/feedback/pending/{timestamp}.json:
{
"context": { "role": "...", "phase": "..." },
"metrics": { "rating": N, "revisions": N },
"qualitative": { "what_worked": "...", "what_didnt": "..." }
}
Update ~/.aid/state.json:
- statistics.total_sessions += 1
- statistics.pending_feedback_count += 1
- statistics.sessions_since_last_improvement += 1
- current_session.active = false
/aid-improve)~/.aid/feedback/pending/; current skills from skills/memory-system/references/; trends from ~/.aid/metrics/trends.json.Task(
subagent_type: "general-purpose",
model: "opus",
prompt: [../../agents/memory-analysis-agent.md with variables],
description: "Analyze feedback and suggest improvements"
)
[Approve] [Edit] [Reject] for each skill update; [Promote to Memory] [Skip] for each memory candidate.~/.aid/feedback/processed/.NEVER include in feedback:
ALWAYS include:
| File | Purpose |
|---|---|
~/.aid/state.json | Current session state |
~/.aid/config.yaml | User configuration |
~/.aid/feedback/pending/ | Unprocessed feedback |
~/.aid/feedback/processed/ | Archived feedback |
~/.aid/metrics/trends.json | Historical trends |
| Error | Action |
|---|---|
| Missing ~/.aid/ | Run /aid-init automatically |
| Missing skill files | Use defaults, log warning |
| Corrupted state.json | Backup and reset |
| User skips rating | Gently insist, then save as null |
../../agents/memory-analysis-agent.mdskills/memory-system/references/../../commands/aid-*.md还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
AID Phase 4 - Development phase. Use for implementing features, TDD practices, code reviews, transitioning from planning to QA.
中文简介正在准备中。当前显示原文说明。
AID Phase 0 - Research & discovery. Use for validating problem spaces, identifying stakeholders, defining success metrics, deciding whether to proceed.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。
AID Phase 1 - PRD creation. Use for user stories, acceptance criteria, scoping features, transitioning from discovery to tech spec.
中文简介正在准备中。当前显示原文说明。
AID Phase 5 - QA and Release. Use for validating implementations, acceptance tests, preparing releases, deployment, operational readiness.
中文简介正在准备中。当前显示原文说明。
AID Phase 2 - Technical Specification. Use for system architecture, API contracts, data models, security architecture, transitioning from PRD to implementation.
中文简介正在准备中。当前显示原文说明。