automotive-safety-security-assurance-kit
CLAUDE.md4 starsChanged 15 days agoMITView on GitHub
Skills, agents, hooks and deterministic tools for developing automotive ECU software in line with Automotive SPICE 3.1 (4.0 from its draft), ISO 26262 and ISO/SAE 21434. Engineering artifacts are text files in this repository - one item per file - and a trace engine checks them. @.claude/docs/working-agreement.md
In this repository38 other files it gives its agents.
- aspice-startSkill
- baselineSkill
- change-requestSkill
- component-qualificationSkill
- cybersecurity-conceptSkill
- cybersecurity-planSkill
- documentsSkill
- haraSkill
- import-inputsSkill
- mock-assessmentSkill
- next-stepSkill
- problem-resolutionSkill
- process-gateSkill
- project-planSkill
- project-statusSkill
- quality-assuranceSkill
- releaseSkill
- reviewSkill
- risk-managementSkill
- safety-analysisSkill
- safety-conceptSkill
- safety-planSkill
- supplier-monitoringSkill
- sw-architectureSkill
- sw-detailed-designSkill
- sw-integration-testSkill
- sw-qualification-testSkill
- sw-requirementsSkill
- sw-unit-implementSkill
- sw-unit-verifySkill
- sys-architectureSkill
- sys-integration-testSkill
- sys-qualification-testSkill
- sys-requirementsSkill
- taraSkill
- trace-checkSkill
- vulnerability-managementSkill
- work-breakdownSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 97
Follow .claude/docs/skill-authoring.md for skills, checklists and agents.
- Very specific: line 105
Before a commit, python tools/confidentiality_scan.py must report no finding.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Automotive Safety & Security Assurance Kit
Skills, agents, hooks and deterministic tools for developing automotive ECU software in line with Automotive SPICE 3.1 (4.0 from its draft), ISO 26262 and ISO/SAE 21434. Engineering artifacts are text files in this repository - one item per file - and a trace engine checks them.
How work is done here
@.claude/docs/working-agreement.md
Where things are
| Path | Content |
project.yaml | scope of the project: role, processes the team is responsible for, paths. Written by /aspice-start. Absent in a fresh copy of the toolkit |
plans/, spec/, verification/, records/ | the project's items, in the folders schema/items.yaml names |
checklists/ | the project's own review checklists, extending or replacing the toolkit's (python tools/record.py checklists) |
src/, tests/ | code and test code |
aspice/3.1/ | process catalog (processes/) and notes per process (notes/) |
aspice/4.0/ | catalog of Automotive SPICE 4.0 built from the draft 3.991, each practice mapped to 3.1 (maps_to); chosen by aspice.version in project.yaml |
iso-26262/2018/ | catalog of ISO 26262: parts, clauses, requirement numbers, work products, table titles, purposes in our words |
iso-sae-21434/2021/ | catalog of ISO/SAE 21434: clauses, subclauses, requirement and work product identifiers, objectives in our words |
schema/ | item types, links and coverage rules (items.yaml), file layout (item-format.md), generated documents (documents.yaml) |
tools/ | trace engine, record writer, validators |
.claude/skills/, .claude/agents/, .claude/hooks/ | the toolkit itself |
.claude/docs/ | working agreement, command reference (tools.md), review checklists, authoring conventions |
examples/power-window/ | worked example of a software supplier (SWE.1 to SWE.6, ISO 26262 at ASIL B, a TARA) |
examples/door-control-unit/ | worked example of a system supplier (SYS.2 to SYS.5, supplier, risks, vulnerability monitoring, release) |
.claude-plugin/, hooks/hooks.json | the packaging as a Claude Code plugin: manifest, marketplace, the hooks run from the plugin |
Skills
| Skill | Process | Use it to |
/aspice-start | - | set up or change the project scope |
/import-inputs | boundary of the scope | register what was received and prepare its acceptance |
/sys-requirements | SYS.2 | derive and analyse system requirements from stakeholder requirements |
/sys-architecture | SYS.3 | system elements, interfaces, views, decisions, allocation |
/sw-requirements | SWE.1 | derive and analyse software requirements |
/sw-architecture | SWE.2 | components, interfaces, views, decisions, allocation |
/sw-detailed-design | SWE.3 | component designs and software units |
/sw-unit-implement | SWE.3 | code for an approved unit design |
/sw-unit-verify | SWE.4 | strategy, unit test cases, tests, static analysis, coverage, records |
/sw-integration-test | SWE.5 | integration strategy and steps, integration test cases, builds, runs |
/sw-qualification-test | SWE.6 | qualification strategy, test cases from requirements, runs, bench reports |
/sys-integration-test | SYS.4 | system integration strategy and steps, integration tests, system builds and bench runs |
/sys-qualification-test | SYS.5 | system qualification strategy, test cases from system requirements, bench and vehicle runs |
/review | all | the only way an item becomes approved |
/trace-check | all | explain what the trace engine reports |
/process-gate | all | readiness of a process practice by practice, or of ISO 26262 and ISO/SAE 21434 clause by clause |
/mock-assessment | all | rehearsal of an assessment: evidence pack, questions, ratings by named people, consistency |
/baseline | SUP.8 | baselines and their communication |
/change-request | SUP.10 | changes to baselined items |
/problem-resolution | SUP.9 | problems from recording to closure, urgent actions, alerts, trends |
/supplier-monitoring | ACQ.4 | supplier agreements, technical and progress reviews with suppliers, exchanged information, deviations |
/quality-assurance | SUP.1 | quality assurance plan, checks of work products and processes, non-conformances, escalation, quality reports |
/project-plan | MAN.3 | scope, life cycle and milestones, feasibility, resources, skills, interfaces, reporting |
/work-breakdown | MAN.3 | work packages, activities, estimates, schedule, dependencies |
/risk-management | MAN.5 | risk management plan, risks rated, treated, monitored, accepted, corrective actions |
/project-status | MAN.3 | progress against the plan, status reports, corrective actions |
/cybersecurity-plan | ISO/SAE 21434 cl. 6, 7, 12-14 | cybersecurity plan with tailoring and TARA method, interface agreement, post-development plans, cybersecurity case, assessment record |
/tara | ISO/SAE 21434 cl. 9.3, 9.4, 15 | item definition, assets, damage and threat scenarios, attack paths, ratings, risk values, treatment, goals and claims |
/cybersecurity-concept | ISO/SAE 21434 cl. 9.5, 10, 11 | requirements derived from goals, security relevance down the levels, verification and validation |
/vulnerability-management | ISO/SAE 21434 cl. 8 | monitoring plan, events, weaknesses, vulnerability analysis and treatment |
/safety-plan | ISO 26262-2, 8 | safety plan with a decision per clause, methods per table, determinations, confirmation measures, tool evaluation, safety case |
/hara | ISO 26262-3 | item definition, hazardous events classified, ASIL, safety goals |
/safety-concept | ISO 26262-3, 4, 6, 9 | functional, technical and software safety requirements, ASIL inheritance, decomposition, validation |
/safety-analysis | ISO 26262-9, 6, 4 | FMEA, FTA, DFA with findings carried into requirements or design |
/component-qualification | ISO 26262-8 | qualification of supplied or reused software components of ASIL A to D, or a proven in use argument from field data |
/release | SPL.2, ISO 26262-2, ISO/SAE 21434 6.4.9 | release plan, release record from a baseline with approval and release note, delivery and receipt |
/documents | all | 40 kinds of documents from the items - specifications, SAD, SDD, test specifications and reports, traceability, release, QA, problem, project, risk, TARA and cybersecurity reports - as HTML, PDF, Word or Excel, neutral or in the customer's template |
/next-step | - | where the project stands and what to do next |
Processes without a skill of their own are still in the catalog and covered by the schema's rules; say so when the user asks for one.
Commands worth knowing
python tools/traceability.py check # findings for the project in the current folder
python tools/traceability.py --project examples/power-window check
python tools/traceability.py practices SWE.1 # evidence and open findings per base practice
python tools/traceability.py clauses # ISO/SAE 21434: decision, evidence and findings per subclause
python tools/traceability.py safety # ISO 26262: decision, evidence and findings per clause
python tools/document.py build software-architecture-description --format docx # documents from the items
python tools/xlsx.py sheets inputs/delivery.xlsx # Excel exchange; tools/alm.py for Polarion, codebeamer, Jama
python -m unittest discover -s tools/tests # tests of the engine and the hooks
python tools/skill_lint.py # mechanical checks of skills, agents, checklistsThe full command reference is .claude/docs/tools.md. Read it before calling a tool
for the first time in a session.
Changing the toolkit itself
- Follow
.claude/docs/skill-authoring.mdfor skills, checklists and agents. A new agent is also listed in.claude-plugin/plugin.json; a hook change is made in.claude/settings.jsonand inhooks/hooks.json(tools/tests/test_plugin.pycompares them). schema/items.yamlis the single definition of items and rules; after a change runpython tools/schema_check.pyand the tests.- Text of Automotive SPICE and of other standards (ISO/SAE 21434 and ISO 26262 included, with their annexes, example tables and normative tables) is not reproduced anywhere in this repository: identifiers and official names only, descriptions in our own words.
- Before a commit,
python tools/confidentiality_scan.pymust report no finding.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

