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

@@ -5,15 +5,49 @@ description: Use before implementation when a proposed code, configuration, data
# Change Impact Analysis
Use before a change when its consumers, compatibility effects, or blast radius are uncertain.
Map what a proposed change touches before anyone builds it. Do not implement the proposal unless asked.
## Workflow
## When to use
1. Define the proposed change and the behavior or contract it affects.
2. Locate direct callers, related implementations, shared helpers, configuration, generated output, and relevant tests. Start with exact-path and symbol searches; broaden only when the flow is unclear.
3. Trace likely impact through runtime paths, persisted data, client integrations, deployment, and documentation as applicable.
4. Identify compatibility concerns, failure modes, security or data-loss risks, and dependencies on version or environment. Before confirming external compatibility or recommending an approach, MUST apply the planning checkpoint in `technical-research` and attach matching evidence or mark the assumption unresolved.
5. Separate confirmed impacts from assumptions and unknowns. Do not treat a possible downstream effect as a fact without evidence.
6. Recommend proportionate verification tied to the risks found.
- Use it when consumers, compatibility effects, or the blast radius of a change are uncertain.
- If the proposal is too vague to name the affected behavior or contract, run `work-item-definition` first.
- Skip it when callers and effects are already clear, such as a local rename with known callers.
Return a concise impact map: affected areas, evidence, risks, unknowns, and checks. Do not implement the proposal unless asked.
## 1. Define the change
State the proposed change and the behavior, contract, or data it affects, in one or two sentences.
## 2. Find what it touches
Follow the repository route of `research`: exact paths and symbols first, semantic search for unknown flows, and broaden only when the flow is unclear. Check each of these that applies:
- Code: direct callers, related implementations, shared helpers, and tests.
- Contracts: public APIs, events, file formats, configuration keys, and generated output.
- Data: schemas, persisted data, migrations, caches, and readers outside the application such as reports, exports, ETL, or scheduled jobs.
- Consumers outside this repository: other services or repositories, external API clients, and integrations.
- Operations: deployment, environments, feature flags, monitoring, and documentation.
## 3. Assess the risk
- Name compatibility concerns, failure modes, and security or data-loss risks, and rate each affected area high, medium, or low.
- Before confirming external compatibility or recommending an approach, apply the planning checkpoint in `technical-research`; attach matching evidence or mark the assumption unresolved.
- Separate confirmed impacts from assumptions and unknowns. A possible downstream effect is not a fact without evidence.
## 4. Plan verification and rollout
- Recommend proportionate checks tied to the risks found.
- For risky changes to schemas, APIs, data, or shared behavior, recommend a rollout order (for example expand, migrate, then contract), a feature flag or staged release where it fits, and a rollback path.
## 5. Report
```text
Change: <one or two sentences>
| Area | Impact | Risk | Evidence |
| --- | --- | --- | --- |
| <code, contract, data, consumer, or operations item> | <what changes> | high / medium / low | <file:line, search, or source> |
Unknowns: <assumption and how to resolve it>
Checks: <verification tied to each high or medium risk>
Rollout: <order, flag, and rollback, only for risky changes>
```
@@ -44,6 +44,28 @@
"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": []
}
]
}