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

@@ -1,6 +1,6 @@
---
name: technical-research
description: MUST apply Context7 checkpoints in planning, implementation, and verification whenever external technology behavior matters; also before answers, reviews, debugging, configuration, upgrades, and EVERY external technology lookup, including familiar APIs and follow-ups.
description: MUST apply Context7 checkpoints in planning, implementation, and verification whenever external technology behavior matters; also before answers, reviews, debugging, configuration, upgrades, and EVERY external technology lookup, including familiar APIs and follow-ups. Not needed for pure repository facts, prose-only edits without technical claims, or behavior fully established by local code.
---
# Technical Research
@@ -11,6 +11,8 @@ Apply `research` and this skill whenever external technology behavior affects th
Use Context7 first for each relevant external library, framework, SDK, API, tool, or platform question, before relying on its behavior. Trigger automatically; the user need not say "use Context7". Apply the gate to follow-up questions and newly introduced dependencies too.
Standards, specifications, and guidance documents (such as WCAG, RFCs, NIST, OWASP cheat sheets, MDN guides, and vendor best-practice pages) go directly to their official source; Context7 is optional for them because it mainly indexes code and API documentation.
Pure repository facts, prose-only edits without technical claims, and behavior already established entirely by local code need no external query. Evidence already retrieved and verified in this task may be reused only for the same behavior question, technology, version, and relevant environment; recheck these conditions before reuse. A new assumption, changed version, or contradictory result requires a new lookup.
## Mandatory phase checkpoints
@@ -25,11 +27,11 @@ Carry concise evidence in the existing plan, task notes, or handoff: behavior cl
## Workflow
1. Identify the behavior to verify. For repository work, inspect manifests, lockfiles, imports, and configuration through the repository route of `research` to establish the technology and actual version first. Distinguish installed and proposed target versions. If unknown, state that gap; do not assume latest.
2. Select the configured route under the global tool instructions: MCPorter for a server registered there, or the selected native plugin's tools. Discover the tool schema once per route in the task; rediscover only if the route or schema changes or a schema error occurs. If that route is unavailable, report it and use the documented source fallback below; do not silently switch transports or install anything.
1. Identify the behavior to verify. For repository work, inspect manifests, lockfiles, imports, and configuration through the repository route of `research` to establish the technology and actual version first. Distinguish installed and proposed target versions. If unknown, state that gap; do not assume latest. For any claim about the latest, current, or newest version, compare today's date with the model's knowledge cutoff and check the versions actually available (the version list Context7 returns, release notes, or the package registry) before stating it; never present the version known at training time as current.
2. Select the configured route under the global tool instructions: MCPorter for a server registered there, or the selected native plugin's tools. Discover the tool schema once per route in the task; rediscover only if the route or schema changes or a schema error occurs. If the `mcporter` command is not found, call it by its full path in the npm global directory (`npm prefix -g`; on Windows `%APPDATA%\npm\mcporter.cmd`, elsewhere `<prefix>/bin/mcporter`) and report the PATH gap once. If the route is still unavailable, report it and use the documented source fallback below; do not silently switch transports or install anything.
3. Call `resolve-library-id` with the official technology name and a focused question. Select by identity, authoritative source, relevant coverage, and available version, not ranking alone. Skip resolution only when the user supplies the exact Context7 library ID or a verified matching ID is already available in this task. Use a returned version-specific ID when it matches the required version; never invent IDs or versions.
4. Call `query-docs` with that ID and one concrete behavior question. Check whether the returned content actually supports the intended answer or implementation for the required version. A successful call, benchmark score, or plausible snippet alone is insufficient.
5. Inspect the linked primary documentation or exact-version source for the claims being used. Verify identity, version, and relevant context; use release notes for changed behavior. Reuse already inspected matching primary-source content instead of fetching it again. Resolve contradictions before relying on the result. Context7 retrieves evidence; it does not replace source verification.
5. Inspect the linked primary documentation or exact-version source for the claims being used. Verify identity, version, and relevant context; use release notes for changed behavior. Reuse already inspected matching primary-source content instead of fetching it again. When the Context7 content itself quotes and cites an exact-version primary source (official documentation, release notes, or source at the required version), it counts as this check for low-risk claims, so one fetch is enough; fetch the primary source separately for security, data-loss, or breaking-change claims. Resolve contradictions before relying on the result. Beyond that case, Context7 retrieves evidence; it does not replace source verification.
6. Compare only viable options against compatibility, security, maintenance, and the user's constraints. Separate established facts from inference. Cite the original sources and applicable versions; state material gaps and any fallback. Continue authorized work once the behavior is supported.
## Calls and fallback
@@ -42,6 +42,42 @@
"Marks any option mapping it could not verify as unverified"
],
"files": []
},
{
"id": 4,
"prompt": "Which file in this repo registers the `/healthz` route, and what status code does our handler return?",
"expected_output": "This is a pure repository fact fully established by local code. Should locate and read the handler and answer from it. Should not call Context7 or fetch external documentation.",
"assertions": [
"Answers from the repository file that registers the route",
"Cites the file path and the status code found in the handler",
"Does not call resolve-library-id or query-docs",
"Does not fetch external documentation"
],
"files": []
},
{
"id": 5,
"prompt": "Earlier in this task you checked Context7 and the React 18.3 docs and confirmed that `useEffect` cleanup runs before the effect re-runs. Our package.json still pins react 18.3.1. Now write the cleanup for the polling effect in `usePolling.ts` using that same behavior.",
"expected_output": "The evidence already gathered in this task matches the same behavior question, technology, version, and environment, so it can be reused. Should recheck the installed version, then implement without a new Context7 lookup, citing the earlier evidence.",
"assertions": [
"Confirms the installed React version still matches 18.3",
"Reuses the earlier evidence instead of repeating the Context7 lookup",
"Cites the earlier source used for the cleanup behavior",
"Does not claim a new Context7 call was made"
],
"files": []
},
{
"id": 6,
"prompt": "Context7 says `requests` 2.32 verifies TLS certificates against the system store by default, but the requests 2.32 release notes say it uses the bundled certifi store. Our lockfile pins requests 2.32.3. Which is it?",
"expected_output": "Context7 and the primary source conflict. Should not pick one silently. Should check the exact-version primary source (release notes or the 2.32.3 source), explain the conflict by version or scope, and rely on the primary source. If it cannot resolve the conflict, should mark the claim unverified.",
"assertions": [
"Explicitly reports the conflict between Context7 and the release notes",
"Checks the exact-version primary source for requests 2.32.3",
"Explains the conflict by version or scope rather than silently choosing",
"Bases the answer on the primary source or marks the claim unverified"
],
"files": []
}
]
}