Files
MyAiConfiguration/shared/skills/planning/change-impact-analysis/evals/evals.json
T
Julian Lechner f5d8f6f11b
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
feat(skills): reworked skills and rules
2026-11-18 14:17:49 +01:00

72 lines
5.6 KiB
JSON

{
"skill_name": "change-impact-analysis",
"evals": [
{
"id": 1,
"prompt": "We want to change the `UserDto.id` field from a numeric `long` to a string UUID in our public REST API (v1). The DTO is used by `UsersController`, a generated TypeScript client in `web/src/api/`, a nightly CSV export job, and the mobile app (released separately). Before anyone touches code, what's the impact?",
"expected_output": "Should define the proposed change and the affected contract (public v1 id type). Should locate direct callers and related areas: controller, generated client, export job, mobile app, persisted data, tests, documentation. Should trace runtime, persisted data, client integration, and deployment impact. Should identify compatibility concerns (older mobile clients parsing numbers, CSV consumers, URL routes, sorting), data migration risks. Should separate confirmed impacts from assumptions and unknowns. Should recommend proportionate verification tied to risks. Should return a concise impact map and not implement the change.",
"assertions": [
"States the proposed change and the contract it affects",
"Covers the controller, generated TypeScript client, CSV export job, and mobile app",
"Identifies backward compatibility risk for already-released mobile clients",
"Addresses persisted data or migration impact",
"Separates confirmed impacts from assumptions or unknowns",
"Recommends verification checks tied to specific risks",
"Output is structured as an impact map with affected areas, evidence, risks, unknowns, and checks",
"Does not implement or write the code change"
],
"files": []
},
{
"id": 2,
"prompt": "We plan to upgrade Newtonsoft.Json to System.Text.Json across our ASP.NET Core 8 API. I'm pretty sure STJ handles our `[JsonProperty]` attributes and private setters the same way, so it should be a drop-in. Just confirm the impact is low.",
"expected_output": "Should not simply confirm the user's assumption. Before confirming external compatibility, must apply the technical-research planning checkpoint and attach evidence or mark the claim unresolved. Should note that Newtonsoft attributes and private-setter handling are external behavior claims requiring evidence. Should identify affected areas (DTOs with attributes, custom converters, serializer settings, consumers) and separate confirmed impacts from assumptions. Should not implement the migration.",
"assertions": [
"Does not confirm low impact based solely on the user's assumption",
"Applies or references the technical-research planning checkpoint for System.Text.Json behavior",
"Treats [JsonProperty] attribute handling and private setter behavior as claims needing evidence or marks them unresolved",
"Identifies affected areas such as custom converters, serializer settings, or attribute-annotated DTOs",
"Separates confirmed facts from assumptions",
"Does not perform the migration"
],
"files": []
},
{
"id": 3,
"prompt": "We want to delete the `ENABLE_LEGACY_EXPORT` feature flag and the code behind it. I ran `rg ENABLE_LEGACY_EXPORT src/` and got only one hit in `src/config/flags.ts`, so it's dead code, right? What's the impact?",
"expected_output": "Should not treat a single search hit in src/ as proof the flag is unused: the search scope excluded configuration, deployment files, generated output, tests, and documentation, and the flag may be set per environment. Should broaden the search where the flow is unclear, trace runtime and deployment impact, and separate confirmed impacts from assumptions and unknowns. Should return a concise impact map (affected areas, evidence, risks, unknowns, checks) and recommend proportionate verification. Should not delete the flag or its code.",
"assertions": [
"Points out that the search covered only src/ and does not prove the flag is unused",
"Names additional places to check such as deployment or environment configuration, tests, generated output, or documentation",
"Does not state that the flag is dead code as a confirmed fact",
"Separates confirmed impacts from assumptions or unknowns",
"Returns an impact map with risks and recommended checks",
"Does not remove the flag or its code"
],
"files": []
},
{
"id": 4,
"prompt": "Rename the private helper `calcTotal` to `calculateTotal` in `src/cart/totals.ts`. It is not exported, and its only two callers are in the same file.",
"expected_output": "Should not trigger. The change is a local rename of a private helper with clear callers, so no impact analysis is needed. Should do the rename directly when asked, updating both callers.",
"assertions": [
"Does not produce an impact map or blast radius analysis",
"Does not run broad repository searches for consumers",
"Renames calcTotal and updates both callers in src/cart/totals.ts"
],
"files": []
},
{
"id": 5,
"prompt": "We should make the reporting stuff faster somehow. What is the impact?",
"expected_output": "The proposal is too vague to name the affected behavior or contract. Should route to work-item-definition to define the objective, scope, and criteria first, instead of guessing an impact map.",
"assertions": [
"States that the proposal is too vague to analyze impact",
"Uses or recommends work-item-definition first",
"Does not present an invented impact map as fact"
],
"files": []
}
]
}