skills/compound/SKILL.md
This skill should be used when the user says "/compound", "compound this", "document learnings", "save what we learned", or after completing a PR. Extracts knowledge from PR context and saves to docs/learnings/.
npx skillsauth add team-attention/hoyeon compoundInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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
development
Run a full implementation verification pass after code or data changes. Use when the user asks to verify, QA, smoke test, run checks, validate a feature, inspect a local app in the browser, capture screenshots, or turn discovered QA issues into regression tests/checklists with user approval.
development
Hoyeon execution workflow for Codex. Use when the user invokes "$hoyeon-execute" or wants to execute a Hoyeon plan.json through the Bash-first Codex adapter. This adapter loads the canonical execute skill and follows its Codex runtime surface.
development
Plan-driven orchestrator. Reads plan.json (from /blueprint) or requirements.md, then dispatches workers to build the system. Use when: "/execute", "execute", "plan 실행", "blueprint 실행"
testing
"/clarify", "clarify this", "keep asking until clear", "remove ambiguity", "clarify requirements", "clarify design", "clarify the plan", "질문 계속해", "모호한 게 없게", "명확해질 때까지", "계속 물어봐", "Q&A로 정리", "질문답변 기록", "요구사항 명확화", "설계 명확화". Relentless ambiguity-resolution interview that records Q&A under .hoyeon/clarify/<topic>/ and hands off to specify/blueprint/docs when clear.