Files
MyAiConfiguration/shared/skills/research/technical-research/evals/evals.json
T
Julian LechnerandClaude Opus 5.5 79694fbaa2 fix(config): resolve Python reliably, add command-safety hook, harden CI
- Resolve Python 3.11+ through shared Resolve-Python.ps1/resolve-python.sh,
  which probe python, python3 and py -3 and skip the Windows Store alias.
  Build and capability checks fail early with an actionable message; doctor
  reports missing Python and the skipped hooks.
- Fix check-capabilities.sh comparing only the major version.
- Register Validate-CommandSafety as a PreToolUse hook for Claude and Codex;
  shared logic in command-safety.py catches rm -rf variants, git reset --hard,
  git clean -f, Remove-Item -Recurse, del/rd /s /q and nested shells.
- Replace duplicated placeholder chains in both builds with
  adapters/placeholders.tsv.
- Restore shell parity: add test-capabilities.sh, rename credentials.ps1 to
  with-credential.ps1 and qmd-warm.sh to start-qmd-warm.sh.
- CI: build once and pass generated/ as an artifact, lint Python with ruff
  and JavaScript modules with node --check, require SHA pins for all actions.
- Add evals for all own skills and update documentation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 09:34:54 +01:00

48 lines
3.6 KiB
JSON

{
"skill_name": "technical-research",
"evals": [
{
"id": 1,
"prompt": "In our Angular app, I want to replace the `BehaviorSubject` in `CartService` with a signal and derive the total with `computed()`. Will `computed` re-run if I mutate the array in place with `push`?",
"expected_output": "External technology behavior matters, so the Context7 gate applies even for a familiar API. Should first establish the installed Angular version from package.json or lockfile, distinguishing installed from target versions and not assuming latest. Should call resolve-library-id then query-docs with one concrete behavior question, then inspect primary Angular documentation for the claim. Should answer (in-place mutation does not notify; use update with a new array or equality) only with evidence, citing source and version, separating fact from inference. Should send only public, sanitized queries without proprietary code.",
"assertions": [
"Determines the installed Angular version from package.json or lockfile before answering",
"Calls resolve-library-id before query-docs, or uses an already verified library ID",
"Asks query-docs one concrete behavior question about computed signal dependency tracking or mutation",
"Checks the primary Angular documentation for the claim used",
"Cites the source and the applicable version",
"Does not include proprietary CartService code in the Context7 query",
"Separates established facts from inference"
],
"files": []
},
{
"id": 2,
"prompt": "Quick one, I know you know this: what's the default value of `HttpClient.Timeout` in .NET? No need to look it up.",
"expected_output": "Familiar APIs and remembered documentation do not waive the gate. Should still apply the Context7 gate (or the documented fallback) and verify against primary .NET documentation for the relevant version before stating the default. Should not claim Context7 was used without a tool result. If tooling is unavailable, should state the reason and use official docs or mark the claim unverified.",
"assertions": [
"Does not answer purely from memory despite the user's request",
"Performs a Context7 lookup or explicitly states why the fallback is used",
"Verifies the answer against official .NET documentation",
"States the .NET version the answer applies to or that it is unknown",
"Does not claim to have used Context7 without a tool result"
],
"files": []
},
{
"id": 3,
"prompt": "Upgrade guide please: we're moving from Pydantic v1 to v2. (Context7 returns a 429 rate-limit error on every call today.) Which `Config` class options changed names?",
"expected_output": "Should attempt Context7, and on the rate-limit error explicitly state the reason and fall back to official Pydantic documentation and the migration guide/release notes. Should record the outage and not repeat failing calls. Should establish the installed and target versions. Should cite the primary sources used and mark any claims it could not verify as unverified.",
"assertions": [
"Explicitly reports that Context7 was rate-limited",
"Does not repeatedly retry the failing Context7 calls",
"Falls back to the official Pydantic migration guide or release notes",
"Identifies the installed v1 version and target v2 version or states they are unknown",
"Cites the primary sources for each renamed option",
"Marks any option mapping it could not verify as unverified"
],
"files": []
}
]
}