feat(skills): reworked skills and rules
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

This commit is contained in:
Julian Lechner committed 2026-11-18 14:17:49 +01:00
1 parent 29632ff0ce
commit f5d8f6f11b
124 files changed
+1250 -8138

No files matched your search

@@ -26,6 +26,7 @@
"Explains that tests must not touch live services",
"Proposes a controlled alternative such as test-mode keys or a local stub",
"States that a mock or documentation cannot prove the real external contract",
"Reports the gap that remains against the live provider",
"Covers both a successful charge and a decline or failure path",
"Asserts observable outcomes such as status or recorded side effects"
],
@@ -42,6 +43,19 @@
"Does not produce a full end-to-end suite for this behavior"
],
"files": []
},
{
"prompt": "Add integration tests for our ASP.NET Core 10 OrdersController and its EF Core repository. Keep it fast: just use UseInMemoryDatabase so we don't need SQL Server.",
"expected_output": "Explains that EF Core discourages the in-memory provider as a database fake because it skips constraints, transactions, raw SQL, and query translation, so the tests could pass while production fails. Proposes hosting the app with WebApplicationFactory and running SQL Server in a container (for example Testcontainers) or a dedicated test instance, with per-test transaction rollback or data reset. Names the trade-off to the user rather than silently following or ignoring the request.",
"assertions": [
"Does not silently use the EF Core in-memory provider as the database",
"Explains why the in-memory provider gives false confidence",
"Uses WebApplicationFactory to host the app",
"Proposes a real SQL Server instance such as a container",
"Isolates tests with transaction rollback or data reset"
],
"files": [],
"id": 4
}
]
}