phase-learning-extraction
Use when completed work should produce reusable decisions, lessons, surprises, and patterns for future phases
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when completed work should produce reusable decisions, lessons, surprises, and patterns for future phases
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when Codex is asked to colonize, plan, build, continue, swarm, or seal an Aether colony and must mirror wrapper orchestration safely
Use when Codex is asked to initialize or set up an Aether colony and should refine intent before running init
Use when Codex is asked to run Aether Oracle or discuss flows and should refine scope before research or clarification
Use when acceptance criteria need unit, integration, or end-to-end tests generated from implementation context
Use when delivered functionality needs acceptance-criteria verification before a phase advances
Use when a phase involves LLMs, AI agents, RAG, ML inference, or prompt/tool integration design
| source | shipped |
| name | phase-learning-extraction |
| description | Use when completed work should produce reusable decisions, lessons, surprises, and patterns for future phases |
| type | colony |
| domains | ["knowledge-management","retrospective","continuous-improvement"] |
| agent_roles | ["keeper","chronicler"] |
| workflow_triggers | ["continue","seal"] |
| task_keywords | ["learning","lessons","retrospective","pattern","decision"] |
| priority | normal |
| version | 1.0 |
Extract structured decisions, lessons, patterns, and surprises from completed phase artifacts. Produces a LEARNINGS.md file that feeds the colony's knowledge base for future phases and milestones.
aether continue runs successfully)Read phase artifacts in order:
.aether/phases/{N}/PLAN.md -- original plan and intent.aether/phases/{N}/IMPLEMENTATION.md -- what was actually built.aether/phases/{N}/TEST_RESULTS.md -- test outcomes (if exists).aether/phases/{N}/REVIEW.md -- code review findings (if exists).aether/data/phase-manifest.json -- commit references and timingExtract four categories:
Decisions -- Explicit choices made during implementation
{decision} | {rationale} | {alternatives considered}Lessons -- Things that went wrong or could be improved
{lesson} | {context} | {action for next time}Patterns -- Reusable approaches that worked well
{pattern} | {where used} | {when to reuse}Surprises -- Unexpected outcomes, good or bad
{surprise} | {impact} | {mitigation if negative}Write .aether/phases/{N}/LEARNINGS.md:
# Learnings -- Phase {N}: {name}
## Decisions ({count})
| Decision | Rationale | Alternatives |
|----------|-----------|--------------|
| {decision} | {why} | {what else was considered} |
## Lessons ({count})
| Lesson | Context | Next Time |
|--------|---------|-----------|
| {lesson} | {situation} | {improvement} |
## Patterns ({count})
| Pattern | Used In | Reuse When |
|---------|---------|------------|
| {pattern} | {files/areas} | {conditions} |
## Surprises ({count})
| Surprise | Impact | Resolution |
|----------|--------|------------|
| {surprise} | {effect} | {how handled} |
Append summary entries to .aether/data/colony-knowledge.jsonl for cross-phase querying
.aether/milestones/{N}/LEARNINGS.md with aggregated insights plus a "Milestone Themes" section highlighting the top 3-5 cross-cutting themesExtracted learnings from Phase 3 (Dashboard UI):
7 decisions | 3 lessons | 4 patterns | 2 surprises
Written to .aether/phases/3/LEARNINGS.md
Colony knowledge base updated (47 total entries)
# Extract from completed phase
> learning-extractor --phase 3
# Extract from entire milestone
> learning-extractor --milestone 1
# Review specific category
> learning-extractor --phase 5 --category lessons