From hoyeon
Extracts knowledge from PR context and saves structured documentation to docs/learnings/. Invoked via /compound or after completing a PR.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hoyeon:compoundThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Extracts knowledge from PR context and saves structured documentation to `docs/learnings/`.
Extracts knowledge from PR context and saves structured documentation to docs/learnings/.
Identify PR number/branch
gh pr view --json number,body,titleExtract Plan path
.hoyeon/specs/{name}/PLAN.md\.hoyeon/specs/[^/]+/PLAN\.md.hoyeon/specs/ directory listingDerive Context path
.hoyeon/specs/{name}/context/Parallel collection (run following commands simultaneously, skip if files don't exist)
# Context files (treat as empty if not found)
cat .hoyeon/specs/{name}/context/learnings.json 2>/dev/null || echo ""
cat .hoyeon/specs/{name}/context/decisions.md 2>/dev/null || echo ""
cat .hoyeon/specs/{name}/context/issues.json 2>/dev/null || echo ""
# PR comments and reviews (collect as JSON for stability)
gh pr view {pr_number} --json comments,reviews
Error Handling:
Criteria for valuable feedback:
Filter out:
Extraction keywords:
Extracted information:
| File | Purpose |
|---|---|
| learnings.json | Structured learnings |
| decisions.md | Decision rationale |
| issues.json | Structured issues |
docs/learnings/references/problem-types.md (relative to this skill directory)Generate YAML frontmatter
pr_number: {PR_NUMBER}
date: {YYYY-MM-DD}
problem_type: {TYPE}
tags: [{TAGS}]
plan_path: {PLAN_PATH}
Write document using template
templates/LEARNING_TEMPLATE.md (relative to this skill directory)Determine filename
{YYYY-MM-DD}-{short-title}.md2024-01-15-api-error-handling.mdSave
docs/learnings/{filename}.mdAdd cross-references (if related documents exist)
# Specify PR number
/compound 123
# Use PR from current branch
/compound
Outputs the created document path and summary:
Created: docs/learnings/2024-01-15-api-error-handling.md
Summary:
- Problem Type: error-handling
- Tags: api, typescript, validation
- Sources: learnings.json, 2 PR comments
npx claudepluginhub team-attention/hoyeon --plugin hoyeonCaptures learnings from completed development sessions into reusable knowledge files organized by pattern, pitfall, decision, tool insight, and process improvement.
Capture knowledge — solutions, context docs, learnings, and principles. Use after fixing non-trivial bugs, creating context for AI, or discovering patterns worth preserving. Triggers: compound, document solution, capture fix, save solution, knowledge compound, document this, save this fix, context, create context, update context, build context, learn, save learning, remember this.
Captures PR review findings into project memory palaces as decisions, patterns, standards, and lessons. Retrieves for reference in future reviews and code work.