| name | context-engineer |
| description | Single entry point for authoring and curating Copilot context โ create/update skills, agents, instructions, prompts, and project memory; consolidate overlapping customizations; debug discovery; and build compact DIGEST/RAW knowledge. Use when: create or review SKILL.md, .agent.md, .instructions.md, .prompt.md, AGENTS.md, or .github/memory; design routing, handoffs, applyTo patterns, tool restrictions, progressive disclosure, prompt structure, context curation, or Hierarchical RAG. |
Context Engineer
Consolidated skill for creating and curating Copilot context artifacts (skills, agents, instructions, prompts) and memory. Keep SKILL.md as the compact core; load one references/<domain>/ guide only when the task needs that depth.
Output style
Apply the caveman skill to every user-facing response (default full) unless the user says stop caveman / normal mode. Keep artifact content, YAML frontmatter, file paths, applyTo globs, and generated markdown in normal precise form โ never caveman. Relax caveman for irreversible-action confirmations (e.g. deleting artifacts), then resume.
Capabilities
Discrete units of work this skill owns (map a spec/change to one):
- skill-creator โ create/update/review/package
SKILL.md (structure, frontmatter, progressive disclosure, bundled references/assets/scripts).
- agent-creator โ create/update
.agent.md (structure, workflow, domain knowledge, handoffs, tool/visibility flags).
- instructions-creator โ create/update
*.instructions.md / copilot-instructions.md (applyTo patterns, instruction hierarchies).
- prompt-creator โ craft/improve/debug
.prompt.md and LLM system prompts (few-shot, chain-of-thought, metaprompts).
- context-curator โ analyze-first curation of
.github/.copilot customizations and memory (context rot, drift, overlap, stale entries).
- skillopt-curator โ SkillOpt-style bounded edit loop to tighten/consolidate
.github after a session.
- hierarchical-rag โ DIGEST/RAW two-tier knowledge structure for context compression.
Orientation
- Analyze-first for curation: propose a plan and only execute destructive/broad changes on explicit confirmation.
- Metadata standard: every artifact carries a
description with trigger keywords, plus source/date where useful; the folder name must match the frontmatter name (see metadata-standard.instructions.md, auto-loaded).
- Progressive disclosure: keep a compact
SKILL.md core and push depth into references/; the same principle these guides teach applies to the guides themselves.
- Project memory is plain Markdown under the active project's
.github/memory/; MCP servers are for external evidence only.
Lazy reference loading
Do not read references/ up front. Classify the task, then open the smallest matching guide (usually one). Each domain guide lives at references/<domain>/<domain>.md; larger domains keep detailed files in that folder's references/, scripts/, assets/, or agents/ subfolder.
| Task signal | Load only |
|---|
Create/update/review/package a SKILL.md skill | references/skill-creator/skill-creator.md |
Create/update a .agent.md agent | references/agent-creator/agent-creator.md |
Create/update *.instructions.md / copilot-instructions.md | references/instructions-creator/instructions-creator.md |
| Create/improve/debug a prompt or system prompt | references/prompt-creator/prompt-creator.md |
Analyze/curate .github/.copilot customizations + memory | references/context-curator/context-curator.md |
Tighten/consolidate .github after a session (SkillOpt) | references/skillopt-curator/skillopt-curator.md |
| Build/maintain a DIGEST/RAW Hierarchical RAG structure | references/hierarchical-rag/hierarchical-rag.md |
Reference map: inside a domain guide, an instruction to "load the ai-<x> skill" now means read references/<x>/ in this skill (drop the ai- prefix, e.g. ai-skill-creator โ references/skill-creator/).
Workflow
- Understand โ clarify which artifact scope is affected (skill / agent / instruction / prompt / curation / memory).
- Classify โ map the task to one capability above; load the matching guide only if needed.
- Execute โ follow the metadata standard; analyze-first for curation, apply broad/destructive changes only on explicit confirmation.
- Validate โ folder name matches
name; description has trigger keywords; references resolve.
- Align โ present result; confirm before irreversible actions.