field-harvest
Installation
SKILL.md
field-harvest — Field Pattern Harvest → FH Backport + Session Logger
Dual-mode skill:
- Mode A (Pattern Harvest): Scans recent commits in field projects to detect patterns worth backporting to FH. One-click flow from detection to PR creation.
- Mode B (Session Log): Records session work from field projects to the knowledge hub when a session ends. Auto-generates a session markdown file with commits, learnings, and next steps.
Mode Selection (Step 0-A)
Determine which mode to run based on user context:
| Condition | Mode | Priority |
|---|---|---|
| User message contains: "session log", "log today's work", "sync to hub", "sync session" | Mode B (Session Log) | 1 (highest) |
| Session-end auto-trigger fires (see below) and field commits exist today | Mode B (Session Log) — auto-proposed | 2 |
| Both Mode A and B applicable | Run Mode B first, then ask "Also run Mode A pattern harvest?" | 3 |
| Default or path specified | Mode A (Pattern Harvest) | 4 |