safety-concept
Skill4 starsChanged 15 days agoMITView on GitHub
Refine safety goals into the safety requirements of ISO 26262 and carry their ASIL down (part 3 clause 7, part 4 clause 6, part 6 clause 6, part 9 clause 5): functional safety requirements with safe states and fault tolerance, technical safety requirements with safety mechanisms, software safety requirements, their allocation, ASIL inheritance, ASIL decomposition as a design decision resting on a dependent failures analysis, and validation of the goals. Use when safety goals are approved and no requirement is derived from them (COV-67), when an ASIL does not follow its source (COV-23), when a decomposition is planned (COV-70), or when a goal changes.
In this repository38 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- 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-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 skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Run python tools/traceability.py status, python tools/traceability.py check and python tools/traceability.py safety.
- Very specific: line 38
Read references/safety-requirements.md.
- Very specific: line 50
Ask for the verification method each needs at its ASIL.
- Very specific: line 54
Only where the user wants to split a requirement onto independent elements with lower ASILs.
- Very specific: line 72
Run python tools/traceability.py check and python tools/traceability.py safety.
- Distinctive: line 89
Do not lower an ASIL without an approved decomposition decision and its analysis.
- Distinctive: line 90
Do not choose a safe state, a fault tolerant time or a decomposition for the user.
- Distinctive: line 91
Do not edit a goal or requirement received from the customer.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
Safety concept (ISO 26262-3 clause 7, 26262-4 clause 6, 26262-6 clause 6)
Toolkit root:
${CLAUDE_PLUGIN_ROOT}- where this shows a placeholder instead of a folder, it is the repository you are in. Thetools/,schema/,aspice/,iso-26262/,iso-sae-21434/,examples/and.claude/docs/named here and in the references lie in the toolkit root; run its tools from the project folder aspython "<toolkit root>/tools/<script>.py".
Turns each safety goal into requirements that elements of the architecture can fulfil,
and keeps the ASIL with them. The requirements are the existing system-requirement
and software-requirement items with an asil: functional safety requirements derived
from goals, technical ones derived from those, software ones derived from the technical
ones or, in a software-only scope, from the goals. The engineering skills of each level
write and allocate them; this skill keeps the safety thread.
| Clause | What this skill does | Evidence it leaves |
| 26262-3:7 Functional safety concept | proposes functional safety requirements per goal: what is detected, the safe state, the fault tolerant time, warnings, degradation; their allocation follows in the architecture | system requirements with derived_from a goal (26262-3:7.5.1); COV-67, COV-23 |
| 26262-4:6 Technical safety concept | proposes technical safety requirements and safety mechanisms for the system elements, with the hardware-software interface | system requirements, elements, interfaces of ASIL above QM (26262-4:6.5.1 to 6.5.4) through /sys-requirements, /sys-architecture |
| 26262-6:6 Specification of software safety requirements | proposes software safety requirements from the technical ones and the hardware-software interface | software requirements with asil (26262-6:6.5.1) through /sw-requirements |
| 26262-9:5 Requirements decomposition | prepares a decomposition as a design decision with the dependent failures analysis it rests on | design-decision with decomposition; COV-70, COV-23 |
| 26262-4:8 Safety validation | asks for a system qualification test per goal on the vehicle where part 4 is in scope | system qualification tests that verify goals |
Before you start
- No
project.yaml: stop. "This project has no scope yet. Run/aspice-startfirst." - None of the parts 3, 4, 6, 9 under
scope.safety: say so and stop. - Run
python tools/traceability.py status,python tools/traceability.py checkandpython tools/traceability.py safety. ReadCOV-23,COV-67,COV-70. - Goals not approved and not received from the customer: name
/haraand stop; the concept builds on approved goals.
Steps
1. Functional safety requirements (26262-3:7)
- Read
references/safety-requirements.md. For each goal show the hazardous events and propose requirements: fault detection, the transition to the safe state within the fault tolerant time, warnings to the driver, degraded operation, arbitration of requests. Eachderived_fromthe goal,asilnot lower than the goal's (COV-23). - Allocation to elements of the preliminary architecture:
/sys-architecture.
2. Technical and software safety requirements (26262-4:6, 26262-6:6)
- Technical: safety mechanisms per element (plausibility, monitoring, redundancy,
watchdog), the hardware-software interface, requirements for production and service.
/sys-requirementsand/sys-architecturewrite and allocate them. - Software: what the software has to detect, react to and guarantee, with timing,
derived from the technical requirements or the goals.
/sw-requirementswrites them. - Ask for the verification method each needs at its ASIL; the plan's
method_selectionsays which methods apply.
3. Decomposition (26262-9:5)
- Only where the user wants to split a requirement onto independent elements with lower
ASILs. Draft a
design-decisionwithdecomposition(requirement, into, independence) and ask/safety-analysisfor the dependent failures analysis it rests on. The allowed schemes are in the standard; the user states which is applied.
4. Validation (26262-4:8)
- Part 4 in scope: each goal needs a system qualification test that
verifiesit, run on the vehicle (/sys-qualification-test).
Writing
- Show each requirement or decision before writing it and ask: "May I write SWR-NNNN in
spec/software/requirements/?" IDs frompython tools/record.py next-id <type>; statusdraft; approval through/review. - Items of other levels are written by the skill that owns them; propose and hand over.
Checks before you finish
Run python tools/traceability.py check and python tools/traceability.py safety.
FORMAT,SCHEMA,LINKon items written in this session: fix them.COV-23,COV-67,COV-70: report each with what closes it.COV-32on the new items, when MAN.3 is in scope: they need the work package that delivers them (/work-breakdown).
Hand-over
- The clause table with what was done and what is open.
- Per goal: its requirements, their ASIL and allocation, as
showandmatrixprint them. - Decisions still owed: safe states, fault tolerance times, decompositions.
- Next:
/review;/safety-analysisfor the architecture; the requirement and architecture skills of each level.
Do not
- Do not lower an ASIL without an approved decomposition decision and its analysis.
- Do not choose a safe state, a fault tolerant time or a decomposition for the user.
- Do not edit a goal or requirement received from the customer.
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.

