From hoyeon
Extracts knowledge from GitHub PR comments, reviews, spec context files, and classifies issues to generate structured learnings docs in docs/learnings/. Invoke via /compound after PRs.
npx claudepluginhub team-attention/hoyeon --plugin hoyeonThis skill is limited to using the following tools:
Extracts knowledge from PR context and saves structured documentation to `docs/learnings/`.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
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