One-click install
npx skills add https://github.com/hschne/pi-stuff --skill reflection-hschne
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reflection
Source: https://github.com/hschne/pi-stuff/tree/main/skills/reflection
Command: npx skills add https://github.com/hschne/pi-stuff --skill reflection-hschne

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Work sessions often uncover valuable, reusable insights that are lost if not intentionally captured, leading to repeated mistakes and wasted time for future agents or team members. This skill solves that by providing a structured, high-bar process to identify only the learnings worth codifying in durable project resources.

Core Features & Use Cases

  • High-Bar Filtering: Rejects trivial session details and only captures learnings that meet strict criteria (non-obvious gotchas, unrepeated conventions, reusable corrections) to avoid polluting documentation.
  • Targeted Categorization: Routes proposed learnings to the correct destination: AGENTS.md for repo-specific agent instructions, project docs for human-facing documentation, or cross-project skills for reusable workflows.
  • Use Case: After a session where you spent hours debugging a unique Pi configuration quirk, use this skill to capture that quirk as a note for future Pi-related projects, so no one else wastes time on the same issue.

Quick Start

Use the reflection skill to review your most recent work session and surface any reusable learnings worth adding to project documentation or agent instructions.

Frequently Asked Questions about reflection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture reusable learnings from a work session to improve project documentation?

To capture reusable learnings from a work session, review completed tasks and apply a high-bar filtering process to identify non-obvious gotchas or corrections worth codifying. This ensures only durable, valuable insights are routed to project resources, preventing repeated debugging efforts.

What is the best way to route agent instructions versus human-facing project documentation?

The best way to route agent instructions is to categorize proposed learnings by target audience, directing repo-specific guidelines to AGENTS.md and human-facing insights to project docs. This targeted routing standardizes conventions and ensures documentation reaches the correct consumers.

How do you filter trivial session details when codifying knowledge for future agents?

Filtering trivial session details requires applying strict criteria to identify only non-obvious gotchas, unrepeated conventions, and reusable corrections. This high-bar process avoids polluting documentation with low-value noise, preserving only insights that genuinely improve future agent performance.

When should I document session insights in cross-project skills instead of repository-specific files?

You should document session insights in cross-project skills when the learnings involve reusable workflows or configurations applicable beyond a single repository. Repository-specific files like AGENTS.md are better for isolated conventions, while cross-project skills capture broader, repeatable debugging solutions.

Does session reflection work for any software development workflow?

Yes, session reflection works for any software development or project workflow where insights can be captured. It structures the filtering process to route proposed learnings to the correct target documentation, reducing repeated effort regardless of the specific development context.

Why do agents repeat debugging mistakes that were already solved in previous sessions?

Agents repeat debugging mistakes because valuable session insights are often lost without intentional knowledge capture. Implementing a structured reflection process identifies and codifies these reusable learnings into durable project resources, preventing future agents from wasting time on known issues.