Repository navigation
Expand file tree
/
Copy pathevals.json
More file actions
66 lines (66 loc) · 4.92 KB
/
Copy pathevals.json
File metadata and controls
66 lines (66 loc) · 4.92 KB
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
59
60
61
62
63
64
65
66
{
"skill_name": "docs",
"how_to_run": "See evals/README.md — build fixture repos with setup-fixtures.sh, execute with a fresh agent, grade every expectation against the fixture repo's files and git history.",
"evals": [
{
"id": 1,
"name": "session-log-basic",
"prompt": "I just finished adding pagination to the /api/products endpoint. Document this session.",
"expected_output": "A docs/sessions/YYYYMMDD-*.md session log describing the pagination change specifically, with a Mermaid diagram, a reference to the actual commit, and the doc itself git-committed.",
"fixture": "fixtures/session-log-basic",
"expectations": [
"A file matching docs/sessions/*.md was created",
"The file's frontmatter has type: session",
"The body specifically mentions pagination and the /api/products endpoint, not generic placeholder text",
"A Mermaid diagram block (```mermaid) is present in the body",
"A Commits section or equivalent references the actual commit that added pagination (message or hash)",
"The new session log file was git-committed (git log shows a new commit adding it), not just written to disk"
]
},
{
"id": 2,
"name": "bootstrap-fresh-project",
"prompt": "This project doesn't have any documentation yet. Can you set up documentation and log what's here so far?",
"expected_output": "A generated docs/DOC_STANDARD.md (bootstrapped from the skill's default template, with the project name filled in, not left as a placeholder) plus a session log for the initial commit.",
"fixture": "fixtures/bootstrap-fresh-project",
"expectations": [
"docs/DOC_STANDARD.md was created",
"docs/DOC_STANDARD.md contains a 'Document Types' table listing at least the 5 built-in types (session, feature, architecture, decision, ideation)",
"The title/header in the generated docs/DOC_STANDARD.md reflects the actual project name or description, not a literal unfilled '[Project]' placeholder",
"A docs/sessions/*.md file was also created describing the initial commit / what the project is",
"The skill asked before generating docs/DOC_STANDARD.md rather than silently creating it (evidence in the transcript of an offer/confirmation, not required to be a hard blocker if the prompt already implied consent)"
]
},
{
"id": 3,
"name": "respect-custom-standard",
"prompt": "Write up documentation for the billing.py retry behavior — it's a reusable piece other engineers will need to understand.",
"expected_output": "A living reference doc that follows THIS project's own docs/DOC_STANDARD.md, not the skill's built-in defaults: type 'guide' (not 'feature'), directory docs/guides/ (not docs/features/), no YYYYMMDD date prefix on the filename, an 'owner' frontmatter field (not 'author'), and no 'confidence' field (since this project's standard doesn't define one). The doc must describe the retry behavior the code actually has, not the behavior the docstring claims.",
"fixture": "fixtures/respect-custom-standard",
"expectations": [
"A new markdown file was created under docs/guides/, not docs/features/",
"The created filename has no YYYYMMDD- date prefix",
"The frontmatter uses type: guide, not type: feature",
"The frontmatter has an 'owner' field, not an 'author' field",
"The frontmatter does NOT include a 'confidence' field",
"The doc body specifically describes the retry-on-rate-limit behavior in billing.py, not generic placeholder content",
"The doc does NOT repeat billing.py's docstring claim of exponential backoff as fact — it documents the actual immediate-retry (no delay) behavior, or explicitly flags the docstring/code discrepancy"
]
},
{
"id": 4,
"name": "update-living-feature-doc",
"prompt": "We just switched /api/products pagination from offset-based to cursor-based. Update the pagination feature doc.",
"expected_output": "The existing docs/features/20260601-pagination.md updated in place — no new file, body rewritten to describe cursor-based pagination with app.py citations, changelog entry appended, frontmatter date updated to today, original filename (including its date prefix) unchanged.",
"fixture": "fixtures/update-living-feature-doc",
"expectations": [
"No new file was created in docs/features/ — it still contains exactly one *-pagination.md file, with its original 20260601- date prefix",
"The body describes cursor-based pagination matching current app.py, with no remaining claims of offset/page-based behavior stated as current fact",
"The body cites app.py locations (file:line) for the cursor pagination behavior",
"A new changelog entry with today's date was appended describing the switch",
"The frontmatter date field was updated to today",
"The updated doc was git-committed"
]
}
]
}