Skip to content

Commit c04f66f

Browse files
committed
Add documentation
1 parent 5657fb6 commit c04f66f

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

docs/context-pack.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Context Pack
2+
3+
A Context Pack is a generated prompt bundle for a specific task.
4+
5+
It contains:
6+
7+
1. `task-brief.md` — what should be done and how it will be reviewed
8+
2. `agent-instructions.md` — behavioral instructions for the coding agent
9+
3. `commands.md` — detected or configured test/lint/format commands
10+
4. `environment.md` — file tree and git status
11+
5. `relevant-files.md` — excerpts from files attached to the task
12+
6. `context-pack.md` — combined prompt for export or agent execution
13+
14+
## Why task-level context
15+
16+
A full repository is usually too large and too noisy. A task-level context pack helps:
17+
18+
- reduce repeated copy-paste
19+
- keep agent runs focused
20+
- improve reviewability
21+
- preserve the exact context used for a run
22+
23+
## Export formats
24+
25+
The same context can be exported to:
26+
27+
- `AGENTS.md`
28+
- `CLAUDE.md`
29+
- `.cursor/rules/agentflow.mdc`
30+
- `.codex/instructions.md`
31+
- `GEMINI.md`

0 commit comments

Comments
 (0)