/automotive-software:auto-referencefrom automotive-software
Automotive software reference covering anti-patterns, bus rates, timing, standards, regulatory changes, and design review checklists. Companion to other automotive-software skills.
Ships in automotive-software. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 5 of 5 of the Automotive Software reference (plugin
automotive-software), covering §15–§20. Sibling skills:auto-architecture-buses-and-autosar(§0–§4),auto-real-time-safety-and-cybersecurity(§5–§7),auto-diagnostics-ota-and-adas(§8–§10),auto-process-testing-domains-and-supply-chain(§11–§14). Section numbers are shared across the set; a reference written as §N →skillpoints into that sibling skill.Currency: CAN, UDS, ASIL and the V-model are stable and decades old; the regulatory layer and the shift to zonal and central compute moved materially. See §17 below for both, dated.
Scope. Complements an embedded-IoT reference (MCUs, RTOS, buses at the generic level), a flight-software reference (the closest sibling discipline — much of §6 →
auto-real-time-safety-and-cybersecurity's reasoning is shared), and a robotics-software reference (§14 there, and the autonomy stack). This is the vehicle-specific layer.⚠️ GOTCHA boxes mark what kills people, fails an audit, or bricks a fleet.
The three facts that make automotive software its own discipline:
- ⚠️ Software can kill, and the system knows it. Steering, braking and propulsion are safety-critical in the formal sense — ISO 26262 assigns them an ASIL, and that rating dictates your architecture, your process, and your evidence (§6 →
auto-real-time-safety-and-cybersecurity).- ⚠️ The vehicle is a distributed real-time system built by a supply chain, not a team. An OEM integrates software from dozens of Tier-1s who integrate from Tier-2s. AUTOSAR exists because of this org chart, not because it's elegant (§4 →
auto-architecture-buses-and-autosar, §16).- ⚠️ It ships for 15 years and you cannot recall it cheaply. OTA changed the economics but not the liability — and now an update itself requires regulatory approval (§9 →
auto-diagnostics-ota-and-adas, §17.1).
| Anti-pattern | Why |
|---|---|
| Treating ASIL as a label applied late | ⚠️ It determines architecture. HARA comes first (§6.1 → auto-real-time-safety-and-cybersecurity) |
| ASIL decomposition without dependent-failure analysis | ⚠️ Shared clock/power/bus invalidates it (§6.2 → auto-real-time-safety-and-cybersecurity) |
| "Safe state = shut down" | ⚠️ Losing steering assist at speed is itself a hazard (§6.4 → auto-real-time-safety-and-cybersecurity) |
| Watchdog that only checks aliveness | ⚠️ Alive-but-wrong is the failure it misses. Use program flow monitoring (§6.4 → auto-real-time-safety-and-cybersecurity) |
| Trusting UDS 0x27 security access | ⚠️ Fixed algorithm, extractable from tester software (§8 → auto-diagnostics-ota-and-adas) |
| Putting a fresh ECU on the powertrain bus unsegmented | CAN has no authentication (§3.1 → auto-architecture-buses-and-autosar, §7.3 → auto-real-time-safety-and-cybersecurity) |
| Skipping E2E protection on safety-relevant messages | ⚠️ Corruption, repetition, loss and masquerade all go undetected (§6.4 → auto-real-time-safety-and-cybersecurity) |
| Assuming Adaptive AUTOSAR replaces Classic | ⚠️ They coexist by design (§4.2 → auto-architecture-buses-and-autosar) |
| Zonal architecture as a pure hardware cost play | ⚠️ Complexity moves to software governance (§2.1 → auto-architecture-buses-and-autosar) |
| Ethernet for control traffic without TSN | No bounded latency (§3.2 → auto-architecture-buses-and-autosar) |
| Wrong CAN termination | ⚠️ Two 120 Ω, at the ends. Classic intermittent fault (§3.1 → auto-architecture-buses-and-autosar) |
| Bus load above ~50% | No latency headroom (§3.1 → auto-architecture-buses-and-autosar) |
| Autocoded model assumed exempt from WCET/MISRA checks | ⚠️ It isn't (§11 → auto-process-testing-domains-and-supply-chain) |
| Undocumented MISRA deviations | Documented is fine; silent is a finding (§11 → auto-process-testing-domains-and-supply-chain) |
| Mutable bootloader, single bank | ⚠️ An unrecoverable brick (§9 → auto-diagnostics-ota-and-adas) |
| OTA without power-loss safety at every step | The customer will unplug it (§9 → auto-diagnostics-ota-and-adas) |
| OTA without per-vehicle software provenance records | ⚠️ R156 requires it (§7.2 → auto-real-time-safety-and-cybersecurity, §9 → auto-diagnostics-ota-and-adas) |
| Marketing an L2 system in L3+ language | ⚠️ A liability and regulatory problem, not a wording one (§10.1 → auto-diagnostics-ota-and-adas) |
| Driver monitoring by steering torque alone | Trivially defeated (§10.3 → auto-diagnostics-ota-and-adas) |
| Claiming validation by disengagement rate | ⚠️ Gameable and not comparable (§10.4 → auto-diagnostics-ota-and-adas) |
| Claiming autonomy is validated at all | ⚠️ No accepted sufficient methodology exists (§10.4 → auto-diagnostics-ota-and-adas) |
| Ignoring quiescent current in sleep design | Flat battery in the airport car park (§2.3 → auto-architecture-buses-and-autosar) |
| Variant handling by preprocessor sprawl | Unmaintainable combinatorics (§13 → auto-process-testing-domains-and-supply-chain) |
| Treating security as a feature rather than type approval | ⚠️ No CSMS certificate, no sale (§7.2 → auto-real-time-safety-and-cybersecurity) |
BUSES
LIN 20 kbit/s · CAN 1 Mbit/s · CAN FD ~8 Mbit/s · FlexRay 10 Mbit/s
Automotive Ethernet 100 Mbit/s – multi-gig · ⚠️ CAN termination 2 × 120 Ω
CAN ID 11-bit standard / 29-bit extended · ⚠️ lower ID = higher priority
CAN payload 8 bytes · CAN FD 64 bytes · CAN XL 2048 bytes
⚠️ Target bus load <40–50%
SAFETY
ASIL A/B/C/D + QM · S0–S3 × E0–E4 × C0–C3 → ASIL
⚠️ ASIL D: SPFM ≥99%, LFM ≥90%, PMHF <10⁻⁸/h (10 FIT)
⚠️ ASIL B: SPFM ≥90%, LFM ≥60%, PMHF <10⁻⁷/h
MC/DC coverage required at ASIL D
REGULATION
⚠️ R155 Annex 5: 69 attack vectors · CSMS/SUMS certificates valid 3 years
54+ UNECE contracting parties
ENVIRONMENT
Operating −40 to +125 °C (⚠️ underhood higher) · 12 V nominal (⚠️ 9–16 V range)
48 V mild hybrid · 400/800 V traction
⚠️ Load dump transients to ~100 V+ · Design life 15 years / 240,000 km
SCALE
Legacy vehicle 70–150 ECUs · ⚠️ 100M+ lines of code cited for premium vehicles
Zonal target: >50% ECU reduction, ~40% wiring reduction
Harness: among the heaviest and costliest components, hand-assembled
⚠️ This is the layer that changed the industry most, and it is not optional.
⚠️ Zonal is past the decision point and into execution. Reported 2026 survey data: more than 90% of automotive OEMs committed to zonal architecture, with ~80% already migrating and ~11% with firm plans; 45% of surveyed OEMs and suppliers rank the SDV transition as their number one strategic priority. Named platforms include VW's SSP, GM Ultifi, Mercedes MB.OS, BMW's Neue Klasse, and Tesla and Rivian as existing zonal-principle implementations.
⚠️ The driver is bandwidth as much as cost: CAN FD capped around 8 Mbit/s is
inadequate for ADAS, high-resolution infotainment and AI cabin features, accelerating
adoption of 100 Mbit/s to gigabit automotive Ethernet with TSN (§3.2 → auto-architecture-buses-and-autosar).
AUTOSAR Adaptive is the middleware answer for HPC nodes — ⚠️ reported Adaptive
Platform membership growth of 22% in a year, and the Eclipse SDV working group at 50+
members. Classic and Adaptive coexist (§4.2 → auto-architecture-buses-and-autosar), with vendor platforms unifying them.
⚠️ GOTCHA — treat the market figures above with care. Adoption percentages, revenue forecasts and membership growth come from analyst reports and vendor-adjacent sources, several of which sell services into this transition. ⚠️ The direction is unambiguous and corroborated across many independent sources; the specific percentages are not measurements. The engineering content of §2 →
auto-architecture-buses-and-autosarand §3 →auto-architecture-buses-and-autosardoes not depend on them.
| Source | Why |
|---|---|
| ISO 26262 (all parts) | ⚠️ The standard itself. Part 6 is software. Expensive and unavoidable |
| ISO 21448 (SOTIF) | §6.5 → auto-real-time-safety-and-cybersecurity |
| ISO/SAE 21434 | §7.1 → auto-real-time-safety-and-cybersecurity |
| ISO 14229 (UDS), ISO 15765, ISO 13400 | §8 → auto-diagnostics-ota-and-adas |
| MISRA C:2012 and MISRA C++:2023 | §11 → auto-process-testing-domains-and-supply-chain |
| AUTOSAR specifications | ⚠️ Free from autosar.org, and enormous. Start with the layered architecture doc |
| Ross, Functional Safety for Road Vehicles | ⚠️ The best readable treatment of ISO 26262 |
| Smith & Simpson, Safety Critical Systems Handbook | Cross-industry safety engineering |
| Koopman, Better Embedded System Software | ⚠️ Practical, and Koopman's automotive safety writing and UA testimony are essential context |
| Zimmermann & Schmidgall, Bussysteme in der Fahrzeugtechnik | The bus reference (German) |
| Corrigan (TI), CAN application notes | Free, clear, canonical on CAN physical layer |
| Charette, "This Car Runs on Code" (IEEE Spectrum) | The scale problem, well told |
Practical: Vector's knowledge base and CAN/AUTOSAR primers (⚠️ genuinely good and free), AUTOSAR.org, UNECE WP.29 documents (⚠️ the regulations themselves are public — read R155 Annex 5 directly), Eclipse SDV, COVESA, SOAFEE, Automotive SPICE process reference model, NHTSA and Euro NCAP for the consumer-facing safety regime, and openpilot / comma.ai as a reverse-engineered window into real vehicle bus behaviour.
| Need | Use |
|---|---|
| Cheap sensor/actuator link | LIN (§3 → auto-architecture-buses-and-autosar) |
| Robust real-time control bus | CAN / CAN FD (§3.1 → auto-architecture-buses-and-autosar) |
| High bandwidth backbone | Automotive Ethernet + TSN (§3.2 → auto-architecture-buses-and-autosar) |
| Deterministic legacy x-by-wire | FlexRay (⚠️ legacy — use Ethernet+TSN now) (§3 → auto-architecture-buses-and-autosar) |
| Deeply embedded ASIL-D control | ⚠️ AUTOSAR Classic on an MCU (§4.1 → auto-architecture-buses-and-autosar) |
| Updatable high-compute function | ⚠️ AUTOSAR Adaptive on POSIX (§4.2 → auto-architecture-buses-and-autosar) |
| Service discovery in-vehicle | SOME/IP or DDS (§3.2 → auto-architecture-buses-and-autosar) |
| Mixed criticality on one SoC | ⚠️ Hypervisor partitioning, or a separate safety MCU (§2.2 → auto-architecture-buses-and-autosar) |
| Detect corrupted/lost/replayed safety data | ⚠️ E2E protection (CRC + counter + data ID) (§6.4 → auto-real-time-safety-and-cybersecurity) |
| Authenticate in-vehicle messages | SecOC (§7.3 → auto-real-time-safety-and-cybersecurity) |
| Diagnostic access | UDS over ISO-TP (CAN) or DoIP (Ethernet) (§8 → auto-diagnostics-ota-and-adas) |
| Flash an ECU | UDS 0x34/36/37 + signature verify + A/B banks (§9 → auto-diagnostics-ota-and-adas) |
| Test an ECU in isolation | ⚠️ HIL with restbus simulation (§12 → auto-process-testing-domains-and-supply-chain) |
| Validate a safety mechanism | Fault injection (§12 → auto-process-testing-domains-and-supply-chain) |
| Argue safety for an ML component | ⚠️ Verifiable safety monitor around it (§10.3 → auto-diagnostics-ota-and-adas) |
auto-real-time-safety-and-cybersecurity)auto-real-time-safety-and-cybersecurity)auto-real-time-safety-and-cybersecurity)auto-real-time-safety-and-cybersecurity)auto-real-time-safety-and-cybersecurity)auto-real-time-safety-and-cybersecurity)auto-architecture-buses-and-autosar)auto-real-time-safety-and-cybersecurity)auto-real-time-safety-and-cybersecurity)auto-diagnostics-ota-and-adas)auto-real-time-safety-and-cybersecurity, §9 → auto-diagnostics-ota-and-adas)auto-process-testing-domains-and-supply-chain)auto-process-testing-domains-and-supply-chain)auto-architecture-buses-and-autosar)auto-diagnostics-ota-and-adas)§1–§6 → auto-architecture-buses-and-autosar, auto-real-time-safety-and-cybersecurity, §8 → auto-diagnostics-ota-and-adas, §9 → auto-diagnostics-ota-and-adas, §11–§16 → auto-process-testing-domains-and-supply-chain rest on standards and long-stable practice — ISO 26262,
ISO 21448, ISO 14229, MISRA, the AUTOSAR specifications, OSEK/VDX, and the CAN
specification — plus the reference works in §18. ⚠️ CAN is from 1986, UDS and the ASIL
framework have been stable for over a decade, and the V-model predates all of it. None of
that needed web verification.
Scoped to complement: generic MCU/RTOS/bus material sits in an embedded-IoT reference;
the closest sibling is a flight-software reference, and ⚠️ §6.4 → auto-real-time-safety-and-cybersecurity, §9 → auto-diagnostics-ota-and-adas and §12 → auto-process-testing-domains-and-supply-chain share
reasoning with it deliberately — safety-critical embedded practice converges across
industries, and the case studies transfer.
Two searches were run in August 2026, confined to the two things that moved: the UNECE regulatory layer and the zonal/SDV architectural transition.
Confidence. High in §1–§6 → auto-architecture-buses-and-autosar, auto-real-time-safety-and-cybersecurity, §8–§9 → auto-diagnostics-ota-and-adas and §11–§14 → auto-process-testing-domains-and-supply-chain — standards-based and stable, with the
numbers stated as the standards state them. High in §7.2 → auto-real-time-safety-and-cybersecurity and §17.1's regulatory
structure: CSMS/SUMS as type-approval conditions, three-year certificate validity, the
69 attack vectors in Annex 5, and R155's relationship to ISO/SAE 21434 are consistent
across many independent sources including a national approval authority (KBA) and
certification bodies.
⚠️ Two deliberate hedges. The R155/R156 date sequence is stated inconsistently across sources — adoption June 2020, force January 2021, "in force since summer 2022," and application to all new vehicles from July 2024 all appear. I have given the sequence with that caveat rather than asserting one clean timeline; the operationally important fact — that they are fully in effect and gate type approval — is not in dispute. ⚠️ Verify specific applicability dates for your vehicle category against the UNECE text or your approval authority.
And §17.2's market figures are flagged in place: adoption percentages, revenue
forecasts and membership growth come from analyst reports and vendor-adjacent sources
that sell into this transition. ⚠️ The direction is corroborated everywhere; the
specific numbers are estimates, not measurements, and none of the engineering content
depends on them. §10.4 → auto-diagnostics-ota-and-adas's position — that no accepted sufficient validation methodology
exists for full autonomy — is my assessment, and it is one the industry's own SOTIF
framework implicitly concedes.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub the-vibey-project/vibey --plugin automotive-software5 skills in this plugin
/auto-architecture-buses-and-autosarUse when orienting in a vehicle software stack or working below the application layer: what makes automotive software different, E/E architecture and its evolution toward zonal and central compute, mixed criticality on shared compute, power and E/E realities, the buses — CAN and the details that actually matter, Automotive Ethernet and service-oriented communication — and AUTOSAR Classic and Adaptive Platform. Includes the router for the whole automotive-software reference./auto-diagnostics-ota-and-adasUse when working on serviceability, updates, or driver assistance: diagnostics including UDS and DTC handling, flashing and over-the-air update with its safety and rollback constraints, and ADAS and autonomy — the SAE levels stated precisely, the perception-planning-control stack, safety architecture for autonomy, and the validation problem that makes it hard./auto-process-testing-domains-and-supply-chainUse when dealing with how automotive software actually gets built and shipped: process and toolchain including ASPICE and the V-model, testing from unit through hardware-in-the-loop and vehicle-level validation, the vehicle domains (powertrain, chassis, body, infotainment, ADAS) and their differing constraints, and the supply chain reality of OEMs, tier-one suppliers and who actually writes the code.