sys-integration-test
Skill4 starsChanged 15 days agoMITView on GitHub
Integrate the system step by step and test it against the system architecture (Automotive SPICE SYS.4): system integration strategy with its steps and regression rules, integration test cases derived from system interfaces, elements and views, a build record per step, test runs on those builds from the bench's reports, and the traceability between them. Use when system elements are to be integrated or integrated again after a change, or when the trace check reports COV-15, COV-17, COV-18, COV-46, COV-47, COV-48, COV-49 or no approved system-integration plan (COV-27).
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-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-qualification-testSkill
- sys-requirementsSkill
- taraSkill
- trace-checkSkill
- vulnerability-managementSkill
- work-breakdownSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 5 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
Run python tools/traceability.py status and python tools/traceability.py check --all (every command takes --project <dir>).
- Very specific: line 38
Test cases need an approved architecture: list --type system-interface --status approved, and the same for system-element and for …
- Very specific: line 46
If the check reports SUSPECT or CONSISTENCY on an element or interface that a step integrates, say so first: tests on top of it inherit the …
- Very specific: line 54
Search plans/ for kind: system-integration.
- Very specific: line 56
If there is none, read references/strategy-template.md, ask the user the decisions listed there, and draft the plan.
- Very specific: line 72
Read references/deriving-test-cases.md.
- Distinctive: line 87
Ask the user which bench or rig each step uses, how an external element is simulated (rest-bus, load, vehicle, environment), and what the …
- Very specific: line 93
Follow the sequence in references/integrating-and-recording.md.
- Very specific: line 162
Do not set status to anything but draft, and do not write a review record.
- Distinctive: line 163
Do not type or edit a build record, a run record, a manifest or a result file, and do not state that a test was executed that nobody ran on …
- Distinctive: line 165
Do not take an expected result from the behaviour of a sample, and do not change a case to match it.
- Distinctive: line 167
Do not integrate an external element, do not replace an integrated element by a double, and do not leave a case out to get a step through.
- Distinctive: line 169
Do not change the elements under test and do not run a bench: this toolkit does not reach hardware.
≈ “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
System integration and integration test (SYS.4)
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".
Puts the system together in the order the strategy gives - hardware samples, mechanical
parts, the software of the system - and shows at each step that the integrated elements
work together as the system architecture says. The result is a plan with its
integration_steps and system-integration-test items in state draft, ready for
/review; a final build-record of level system per step and final test-run
records on those builds. Integration and tests are carried out on benches and samples
this toolkit does not reach: they are specified, traced and recorded here, and executed
there. Their results arrive as the bench's report.
| Base practice | What this skill does | Evidence it leaves |
| SYS.4.BP1 Develop system integration strategy | writes the strategy with the user: the steps, which elements each adds, what stands in for the rest | plan of kind system-integration with integration_steps |
| SYS.4.BP2 Develop system integration test strategy including regression test strategy | in the same plan: what is tested per step, on which bench, by which method, and what is repeated after a change | sections Approach and Criteria |
| SYS.4.BP3 Develop specification for system integration test | derives test cases from system interfaces, element behaviour and views, each assigned to a step | system-integration-test items |
| SYS.4.BP4 Integrate system items | records each step's configuration from the manifest the integrator provides: element versions, the software build, the doubles | build-record of level system per step |
| SYS.4.BP5 Select test cases | chooses the cases of a run by the strategy's rules, and says how | selection and not-run reasons in the run |
| SYS.4.BP6 Perform system integration test | turns the bench's report into a run on the build of the step; the bench executes | test-run of level system-integration naming the build |
| SYS.4.BP7 Establish bidirectional traceability | verifies links, step, and run records keyed by test case and build | links; matrix and show output |
| SYS.4.BP8 Ensure consistency | self-checks against the checklist; the evidence comes from /review | proposed findings; review record written by /review |
| SYS.4.BP9 Summarize and communicate results | summarizes from tool output; /baseline records who was told | summary; communication-record |
Before you start
- No
project.yaml: stop. "This project has no scope yet. Run/aspice-startfirst." SYS.4not inscope.processes: stop. "SYS.4 is out of scope for this project."- Run
python tools/traceability.py statusandpython tools/traceability.py check --all(every command takes--project <dir>). - Test cases need an approved architecture:
list --type system-interface --status approved, and the same forsystem-elementand forarchitecture-viewof level system. Name and leave out what is in draft or in review: its cases could not be approved (UPSTREAM). - A system build needs the integrated elements. Where the system has a software
element, its software build must exist first: the last step of
/sw-integration-testwith a final, successful build. Strategy and test cases can be written before; recording builds and runs waits. Samples and benches are the user's: ask what exists. - If the check reports
SUSPECTorCONSISTENCYon an element or interface that a step integrates, say so first: tests on top of it inherit the doubt. COV-27for kindsystem-integration: do step 1 first. No build and no run is recorded before the strategy is approved;record.py buildrefuses.
Steps
1. Strategy (BP1, BP2)
- Search
plans/forkind: system-integration. An approved strategy rules every step below; where the project cannot follow it, say so. - If there is none, read
references/strategy-template.md, ask the user the decisions listed there, and draft the plan. The order of the steps, the elements left to others, the benches and the regression rules are the user's decisions. checkreportsCOV-46for an element that no step integrates and that is not a double of the last step, for one integrated twice, for an element a step names that does not exist, and for duplicate step names. External elements are never integrated.
2. Decide what to work on
- With arguments: the named steps or interfaces. Without: every finding of
COV-15,COV-17,COV-18,COV-46toCOV-49and everySUSPECTon an integration test. python tools/traceability.py matrix, tableverifies: system-integration-test -> .... After a change,impact <ID>of the changed item and "Regression" inreferences/integrating-and-recording.md.- Tell the user the list and ask whether it is the scope of this session.
3. Derive the test cases (BP3)
- Read
references/deriving-test-cases.md. Work from the items, never from the behaviour of a sample: theDefinitionof each system interface (signals, ranges, units, timing, protocol), theDynamic behaviorof the elements, thesequence,state-machine,fault-reactionandcommunicationviews. - Assign each case the first step whose configuration contains everything it needs
(
step).verifiesnames the interfaces, elements or views whose behaviour it shows;asilis the highest of those. - Where the architecture does not say what shall happen at an interface, list a question
for the architect (
/sys-architecture); for an imported item write aquery. - The
system-test-engineeragent may draft the cases and the bench procedures; what it returns is a proposal that the user confirms.
4. Bench procedures and simulations (BP3, BP6)
- A case with
execution: automatednames ascriptthe bench runs; a case the bench operator carries out by hand ismanual. Both are specified here, neither is run here. - Ask the user which bench or rig each step uses, how an external element is simulated (rest-bus, load, vehicle, environment), and what the bench reports per case. The test case ID must appear in the report, so that the result can be found.
- Set
scriptonce the bench procedure exists.
5. Record each integration step (BP4)
Follow the sequence in references/integrating-and-recording.md.
- The integrator assembles the step and writes the manifest: sample, tag or drawing of each element, the software build, the doubles. Never write a manifest from memory or from the architecture.
python tools/record.py build --level system --step <name> --manifest <file> --item-under-test <configuration>writes the record. A failed build is recorded when the user wants it on record; nothing is tested on it.- The tool prints elements the step should contain but the build lacks. Report them.
6. Select and record the run (BP5, BP6)
- Select by the strategy: all cases of the step, the regression set, or the cases
impactnames for a change. Cases of earlier steps may be in the run as regression; cases of later steps cannot. - The bench executes. Record its report with
python tools/record.py test-run --level system-integration --results <file.json or report.xml> --build <BLD-ID> --item-under-test <configuration> --environment <bench> --selection "<rule>". A case not run isnot-runwith its reason. - A failing test is information: report it with the bench's log line and propose where
it goes ("A failing test" in
references/integrating-and-recording.md); the user decides. Never weaken, delete or skip a case to get a pass.
7. Trace, self-check, summarize (BP7, BP8, BP9)
show <ID>gives the links of a case or an interface in both directions; the run records tie each result to its case and to the build.- Apply
.claude/docs/checklists/system-integration-test.mdto the cases and bench procedures, and.claude/docs/checklists/plan.mdto a drafted strategy. Show findings as proposals; correct what the user accepts. /reviewcitessystem-integration-test v1; before builds and runs exist the part "Builds and results" isnot-applicable.- Summarize as "Summary for the user" in
references/integrating-and-recording.mdsays.
Writing
- Show the derivation table and ask, for example: "May I write these N integration test
cases to
verification/system-integration/?" Ask separately before writing a plan or a bench procedure. - IDs:
python tools/record.py next-id system-integration-testornext-id plan. Statusdraft. Before changing an approved item, say that its approval becomes stale.
Checks before you finish
Run python tools/traceability.py check --all.
FORMAT,SCHEMAandLINKfindings on items written in this session: fix them.COV-15,COV-17,COV-18,COV-46toCOV-49for the steps in scope: report each as it is, with what would close it. A step without a bench report "waits for the bench".COV-47"the system build is older than the software" andCOV-49(a newer build of the step exists than the one the latest run tested) mean the records describe older configurations: integrate, record and run again. Do not explain them away.COV-47compares with software builds only where SWE.5 is in scope, because only then does this repository record them. Where the software comes from elsewhere, the system build names the delivered software version in its manifest, and a newer delivery is seen through/import-inputsor/supplier-monitoring, not by the trace check: say so in the hand-over.
Hand-over
Report, in this order:
- The base practice table with what was done in this session and what is open.
- Per step: build record and result, run record, verdicts, cases not run with reasons -
or
NOT ASSESSEDand why (no bench report yet, no sample). - Failed cases and where each goes; questions for the architect;
queryitems written. - The remaining findings of the check that concern these items.
- Next:
/reviewfor strategy and test cases;/problem-resolutionfor confirmed defects;/sw-integration-test,/sys-architectureor/sw-requirementsas the defect requires;/sys-qualification-teston the build of the last step;/baselineto record who was told the results (--practice SYS.4.BP9).
Do not
- Do not set
statusto anything butdraft, and do not write a review record. - Do not type or edit a build record, a run record, a manifest or a result file, and do not state that a test was executed that nobody ran on a bench.
- Do not take an expected result from the behaviour of a sample, and do not change a case to match it.
- Do not integrate an external element, do not replace an integrated element by a double, and do not leave a case out to get a step through.
- Do not change the elements under test and do not run a bench: this toolkit does not reach hardware.
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.

