Context Refinement.instructions
---
description: The HANDOFF.md to SKILL.md to AGENTS.md refinement pipeline for AI context files
applyTo: "**"
---
# Context Refinement Pipeline
AI context files follow a maturation lifecycle.
## HANDOFF.md
Created during an interactive session. Captures a specific, single-use task, its context, decisions made, and resolution. Ephemeral by nature.
## SKILL.md
Generalized from similar handoffs. Encodes a repeatable procedural workflow with triggers, steps, and verification. Lives in a skill directory with optional scripts, references, and assets.
## AGENTS.md
Anticipatory entity definition. Rather than responding to new situations by updating a SKILL.md, the agent can make decisions as if a skill had already been created for the situation. Encodes identity, boundaries, conventions, and always-on rules.
## When to Elevate
- A HANDOFF.md has been re-used with minor variations → distill its core pattern into a SKILL.md
- A SKILL.md has been refined through enough use cases that novel situations no longer require its activation → encode the governing principles into AGENTS.mdwhen to use it
Community prompt sourced from the open-source GitHub repo pngdeity/apm-user-repository (MIT). A "Context Refinement.instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
pngdeity/apm-user-repository · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar