trace-check
Skill4 starsChanged 15 days agoMITView on GitHub
Run the trace engine and explain what it reports: findings grouped by rule, what each rule means in plain words, which base practice it matters for, and which skill resolves it. Reads only and fixes nothing. Use when the check shows errors or warnings, before a review, a baseline or a process gate, or when someone asks what a FORMAT, SCHEMA, LINK, COV, UPSTREAM, SUSPECT, CONSISTENCY or QUERY line means.
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-integration-testSkill
- sys-qualification-testSkill
- sys-requirementsSkill
- taraSkill
- vulnerability-managementSkill
- work-breakdownSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 4 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
If there is no project.yaml, say so before anything else: without a scope the engine treats every process as in scope, and the summary line …
- Very specific: line 34
Run python tools/traceability.py status and python tools/traceability.py check.
- Very specific: line 35
Every command of this skill takes --project <dir> right after the script name when the project is not the current directory.
- Very specific: line 37
If a command does not run (no Python, no PyYAML, a broken project.yaml), stop: "Trace check: NOT ASSESSED - <what failed>".
- Very specific: line 44
Default: python tools/traceability.py check.
- Very specific: line 52
Read references/rules.md. From the column "Processes" of its coverage table list the rules that are inactive for this scope and say in one …
- Very specific: line 58
If the summary says "N on drafts" and --all was not used, say that N info lines are hidden.
- Very specific: line 83
Use facts to make a group concrete: python tools/traceability.py show <ID> for the links of one or two example items, python …
- Distinctive: line 91
no active rule objects to an approved or reviewed item.
- Very specific: line 93
no rule reads meaning: whether a requirement is right or a test proves anything is decided in /review.
- Very specific: line 105
Every rule name that appears in the output is explained, and every explanation comes from references/rules.md.
- Distinctive: line 126
Do not fix anything, and do not offer to "just add the link".
- Distinctive: line 127
Do not explain a finding away.
- Distinctive: line 129
Do not call a clean result "traceability is complete" or "consistent": say which rules ran.
- Very specific: line 131
Do not invent a rule, a waiver or a skill that references/rules.md, the schema or the installed skills do not name.
≈ “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
Trace check, explained
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".
Runs python tools/traceability.py check and turns its lines into something a team can
act on: what is wrong, why it matters, who resolves it. The facts come from the engine
and are quoted as printed; the explanation comes from references/rules.md. The skill
changes no file. It performs no process on its own; it shows where the traceability
and consistency practices of the processes in scope stand.
| Base practice | What this skill does | Evidence it leaves |
| Traceability practices in scope: SYS.2.BP6, SYS.3.BP6, SYS.4.BP7, SYS.5.BP5, SWE.1.BP6, SWE.2.BP7, SWE.3.BP5, SWE.4.BP5, SWE.5.BP7, SWE.6.BP5, SUP.10.BP8 | reports links that are missing, broken or not allowed, per rule | none: the links in the items are the evidence; matrix prints them |
| Consistency practices in scope: SYS.2.BP7, SYS.3.BP7, SYS.4.BP8, SYS.5.BP6, SWE.1.BP7, SWE.2.BP8, SWE.3.BP6, SWE.4.BP6, SWE.5.BP8, SWE.6.BP6 | reports stale approvals, approvals above items that are not approved, items and code changed after their review, and comparisons no review recorded | none: the review records written by /review are the evidence |
| Every other practice a finding names in its bracket | says which practice the finding stands against | none |
| Whether a practice is fulfilled | not done here: /process-gate gives a verdict per practice | - |
Before you start
- If there is no
project.yaml, say so before anything else: without a scope the engine treats every process as in scope, and the summary line saysscope: all processes. Run the check anyway if the user wants it, and point to/aspice-start. - Run
python tools/traceability.py statusandpython tools/traceability.py check. Every command of this skill takes--project <dir>right after the script name when the project is not the current directory. - If a command does not run (no Python, no PyYAML, a broken
project.yaml), stop: "Trace check: NOT ASSESSED -<what failed>". Do not explain findings from memory or from an earlier run.
Steps
1. Run the check
- Default:
python tools/traceability.py check. With--all, or when the user asks about drafts:python tools/traceability.py check --all, which adds theinfolines: gaps on drafts, and per item what its next state will still require. - Quote the summary line exactly, for example:
73 items | scope: SUP.8, SWE.1, SWE.2, SWE.3, SWE.4 | 21 of 30 coverage rules active | 0 errors, 0 warnings, 0 on drafts
2. Say what was checked and what was not
- Repeat the number of active coverage rules and name the processes in scope.
- Read
references/rules.md. From the column "Processes" of its coverage table list the rules that are inactive for this scope and say in one sentence each group what therefore went unchecked. For the scope above: nothing about system requirements and system architecture as the project's own work (COV-01toCOV-04), about integration and qualification tests (COV-13toCOV-16), or about change requests (COV-20). - If the summary says "N on drafts" and
--allwas not used, say that Ninfolines are hidden.
3. Group the findings
- Group by rule, then by item. The same line can be printed several times; count items.
- Order:
FORMAT,SCHEMA,LINKfirst (a coverage result on a malformed item is not reliable); thenUPSTREAM,COV-19andSUSPECT(approvals that do not hold); then the other coverage rules by number; thenCONSISTENCYandQUERY; theninfolines, previews last. - Name lines without a bracket separately: they count for no practice of the project but are findings all the same - a finding on an imported item, or an open query.
- With a rule name or an item ID as argument, show only those lines. The summary line and step 2 are still reported in full.
4. Explain each group
For each rule that occurs, from references/rules.md:
- what the rule expects and what the message says is missing, in plain words;
- the typical cause, offered as a possibility, not as a diagnosis;
- the base practices in the bracket of the line and why the finding matters for them
("Why a finding matters"), and what the level means here: an approved item breaking
a rule (
error), an item in review not there yet (warning), a draft (info); - the skill that resolves it, after checking that it is installed;
- whether the schema allows a waiver, and what the waiver consists of. A waiver is written by the authoring skill and reviewed; say that this skill does not apply it.
Use facts to make a group concrete: python tools/traceability.py show <ID> for the
links of one or two example items, python tools/traceability.py impact <ID> for what
depends on an item whose approval is stale or whose change made others suspect,
python tools/traceability.py list --status draft for the drafts behind the info
lines. Read an item only when the user asks about its content.
5. Read a clean result correctly
With 0 errors and 0 warnings say what that establishes and what it does not:
- no active rule objects to an approved or reviewed item;
- inactive rules checked nothing (step 2), and drafts are only checked with
--all; - no rule reads meaning: whether a requirement is right or a test proves anything is
decided in
/review; - practices the schema has no evidence structure for are not covered at all:
/process-gatelists them.
Writing
This skill writes nothing: no item, no record, no status, no report file. If the user wants a finding resolved, name the skill and stop.
Checks before you finish
- Every rule name that appears in the output is explained, and every explanation comes
from
references/rules.md. A rule name that is not in that file is reported as unknown, with the line, instead of being guessed at. - The counts per group add up to the numbers of the summary line (lines, not items; say both where they differ).
- The number of active rules and the processes in scope are in the answer.
Hand-over
Report, in this order:
- The summary line, quoted, and the verdict of the trace check:
FAILwith errors,CONCERNSwith warnings only,PASSwith neither - "PASS for the N active rules of<processes>" - orNOT ASSESSEDwhen the engine did not run. - What was not checked: inactive rules, hidden drafts.
- The groups, in the order of step 3, each with meaning, practices, resolving skill and waiver.
- Next: the skill that resolves the first group;
/reviewforUPSTREAM,COV-19,SUSPECTandCONSISTENCY;/process-gatefor a verdict per base practice.
Do not
- Do not fix anything, and do not offer to "just add the link".
- Do not explain a finding away. A coverage finding that is expected at this stage is still reported, with the reason why it is expected.
- Do not call a clean result "traceability is complete" or "consistent": say which rules ran.
- Do not invent a rule, a waiver or a skill that
references/rules.md, the schema or the installed skills do not name.
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.

