1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{
"skill_name": "context-engineering",
"trigger": {
"positive": [
{
"prompt": "What context should I load into the agent before starting this refactor?",
"top_k": 3
},
{
"prompt": "The model's output quality dropped mid-session, how do I fix its context?",
"top_k": 3
},
{
"prompt": "Set up rules files and context packing for my repository",
"top_k": 3
}
],
"negative": [
{
"prompt": "Write unit tests for the date parser",
"owner": "test-driven-development"
},
{
"prompt": "Harden this endpoint against SQL injection",
"owner": "security-and-hardening"
}
]
},
"evals": [
{
"id": 1,
"prompt": "An agent session has degraded: responses are generic and it keeps forgetting project conventions. Fix the context setup.",
"expected_output": "A diagnosis of the context problem and a concrete loading strategy (rules files, packing, task-scoped context)",
"files": [
"context-engineering"
],
"expectations": [
"The response diagnoses probable context causes rather than blaming the model generally",
"A specific context-loading plan is produced (what to load, when, and why)",
"Context is scoped to the task instead of loading everything"
]
},
{
"id": 3,
"prompt": "Read the attached context-budget notes and write a short context-management plan to context-plan.md before the next task. Do not edit application files or restart the session.",
"expected_output": "A context plan using the reported 60% host boundary rather than a universal 75% rule, preserving accepted scope and live evidence",
"files": [
"context-budget"
],
"expectations": [
"The plan uses the reported 55% occupancy and 60% compaction boundary to make room before the next large operation, instead of waiting for a universal 75% threshold",
"Irrelevant import-error logs and replaced drafts are summarized or dropped while the accepted read-only scope, active retry-test result and exact command are preserved",
"The completed task status, next task and unresolved caller-guard question remain in the handoff, without treating context cleanup as permission to edit or publish",
"The agent writes context-plan.md without editing application files or starting another session"
]
}
]
}
|