.pi/agent/skills/context-check/SKILL.md
This skill should be used when the user says "context check", "check for insights", "anything worth saving", "review session", or wants to analyze the current conversation for valuable learnings worth persisting — debugging discoveries, architectural decisions, corrections, workflow patterns.
npx skillsauth add popoffvg/dotfiles context-checkInstall 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.
Analyze the current conversation for facts worth persisting. Save immediately without asking.
/context check
Scan the conversation for concrete, reusable knowledge:
insight — completed work worth remembering:
agent_edit — AI behavior changes:
task — ONLY unstarted intentions:
none — skip silently:
## <Keyword-rich title, 3-7 words> — YYYY-MM-DD HH:MM
<Lead: direct statement of what this is and why it matters. 1-3 sentences.
Include concrete identifiers: file paths, function names, config keys.
No preamble. Write for someone with zero memory of this session.>
### Subsection (only when topic has multiple distinct aspects)
<Details>
Heading = the search key. Must be findable by someone who forgot the topic:
Go context: cancel propagates through goroutine treebetter-sqlite3 native module: breaks on Node version upgradeContext stuff, Fixed bug, Important patternLead sentence = complete picture. Self-contained, states facts directly:
Pi's shutdown() awaits all session_shutdown handlers before process.exit(0), giving handlers unlimited time for cleanup or LLM calls.In this session we discovered that the shutdown handler was being called...<insights_root>/_tasks/pending.md — route insight entries to task notes if active task existsIf nothing worth saving: return "nothing worth saving".
Eval checklist:
Test inputs:
Can change: extraction criteria, insight categories, save format, scanning depth Cannot change: save-without-asking behavior, QMD tool usage for persistence Min sessions before eval: 5 Runs per experiment: 3
testing
Use when the user asks to create test sets, enumerate scenarios, generate edge cases, or draft a coverage matrix before implementation.
testing
Use when the user asks to review, audit, score, or validate test sets for missed cases before execution or merge.
tools
Test harness plugins in isolation using tmux panes. Runs MCP servers, unit tests, typecheck, and Claude plugin loading. Use when user says "test plugin", "check plugin", "run plugin tests", "validate plugin", or names a specific plugin to test.
development
Guide for designing integration and e2e tests using BDD (Behavior-Driven Development) methodology with Cucumber-style Given/When/Then scenarios. Use when writing or reviewing tests for any service, API, or component. Language-agnostic — covers scenario structure, step notation, assertion principles, async patterns, and common anti-patterns.