You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: evals/evals.json
+80-2Lines changed: 80 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,91 @@
5
5
"id": 1,
6
6
"name": "recommend-hooks-go",
7
7
"prompt": "What git hooks should I set up for a Go project? Give me a ready-to-use config.",
8
-
"expected_output": "Should recommend lefthook with a template config covering pre-commit, commit-msg, pre-push"
8
+
"expected_output": "Should recommend lefthook with a template config covering pre-commit (gofmt, go vet), commit-msg, pre-push (golangci-lint)"
9
9
},
10
10
{
11
11
"id": 2,
12
12
"name": "recommend-hooks-php",
13
13
"prompt": "What git hooks framework should I use for a TYPO3 PHP extension?",
14
-
"expected_output": "Should recommend captainhook with setup instructions"
14
+
"expected_output": "Should recommend captainhook with setup instructions including php-cs-fixer and phpstan"
15
+
},
16
+
{
17
+
"id": 3,
18
+
"name": "choose-branching-strategy",
19
+
"prompt": "We're a 4-person team shipping a SaaS product with continuous deployment. Which branching strategy fits best?",
20
+
"expected_output": "Should recommend GitHub Flow or trunk-based development, explain why Git Flow is overkill for small continuous-deploy teams"
21
+
},
22
+
{
23
+
"id": 4,
24
+
"name": "breaking-change-commit",
25
+
"prompt": "Write a conventional commit message for removing the deprecated /api/v1 endpoints.",
26
+
"expected_output": "Should use feat! or fix! prefix and include BREAKING CHANGE footer explaining migration path"
27
+
},
28
+
{
29
+
"id": 5,
30
+
"name": "resolve-review-threads",
31
+
"prompt": "How do I programmatically reply to and resolve PR review threads using the gh CLI?",
32
+
"expected_output": "Should show gh api graphql mutations for addPullRequestReviewThreadReply and resolveReviewThread"
33
+
},
34
+
{
35
+
"id": 6,
36
+
"name": "immutable-release-recovery",
37
+
"prompt": "I deleted a GitHub release v2.0.0 and now I can't recreate it. What happened?",
38
+
"expected_output": "Should explain GitHub immutable releases (GA Oct 2024), that deleted release tags are permanently blocked, and advise bumping to v2.0.1"
39
+
},
40
+
{
41
+
"id": 7,
42
+
"name": "signed-commits-rebase",
43
+
"prompt": "gh pr merge --rebase fails with 'Base branch requires signed commits'. How do I merge this PR?",
44
+
"expected_output": "Should explain GitHub can't sign rebased commits, recommend local fast-forward merge with --ff-only to preserve original signatures"
45
+
},
46
+
{
47
+
"id": 8,
48
+
"name": "multi-branch-latest-badge",
49
+
"prompt": "When I release v11.0.17 after v13.5.0, the Latest badge moves to v11. How to prevent?",
50
+
"expected_output": "Should recommend --latest=false for non-default branch releases, show gh release edit to reassign badge"
51
+
},
52
+
{
53
+
"id": 9,
54
+
"name": "git-bisect-automated",
55
+
"prompt": "Tests pass on v1.0 but fail on HEAD. How do I automate finding the breaking commit?",
56
+
"expected_output": "Should show git bisect start + git bisect run with test command for automated binary search"
57
+
},
58
+
{
59
+
"id": 10,
60
+
"name": "cherry-pick-backport",
61
+
"prompt": "How do I backport a security fix from main to the release/2.x branch?",
62
+
"expected_output": "Should show git cherry-pick workflow with -x flag, conflict resolution, and force-push if needed"
63
+
},
64
+
{
65
+
"id": 11,
66
+
"name": "pr-merge-full-lifecycle",
67
+
"prompt": "Walk me through the complete PR merge lifecycle from CI verification to post-merge cleanup.",
For code quality tools (shellcheck, shfmt, git-absorb, difft), see `references/code-quality-tools.md`.
61
+
## Critical Release Rules
77
62
78
-
## GitHub Immutable Releases
63
+
1.**Immutable releases**: Deleted GitHub releases block tag names PERMANENTLY. Never delete releases to "fix" issues -- bump version instead.
64
+
2.**Multi-branch releases**: Always use `--latest=false` when releasing from non-default branches (LTS, maintenance, hotfix).
65
+
3.**Pre-release checklist**: Version updated in source files, CI passes, CHANGELOG updated, `git pull` on main -- verify BEFORE `gh release create`.
79
66
80
-
**CRITICAL**: Deleted releases block tag names PERMANENTLY. Get releases right first time.
67
+
## PR Merge Requirements
81
68
82
-
See `references/github-releases.md` for prevention and recovery patterns.
69
+
Before merging: all threads resolved, CI checks green (including annotations), branch rebased, commits signed (if required). For signed commits + rebase-only repos, use local `git merge --ff-only`.
0 commit comments