# killerz007/cra-readiness-skill architecture

> Architecture diagram of the GitHub repository killerz007/cra-readiness-skill, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/killerz007/cra-readiness-skill
- Repository: https://github.com/killerz007/cra-readiness-skill

## Overview

This is an agent-neutral CRA readiness-assessment skill, not a conformity-assessment or certification system. An agent applies its instructions to a product repository, records evidence and decisions, assesses legal requirements, then produces findings and assessment artifacts. The README documents the principal capabilities and script purposes; unsampled subsystems are represented at their exact directory paths, and their internal wiring is not inferred.

Main entry points: [`SKILL.md`](https://github.com/Killerz007/cra-readiness-skill/blob/main/SKILL.md) (Assessment instructions), [`scripts/sync_official_text.py`](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/sync_official_text.py) (Text sync and catalogues), [`templates/gaps-register.jsonl`](https://github.com/Killerz007/cra-readiness-skill/blob/main/templates/gaps-register.jsonl) (Gaps and remediation), [`scripts/init_assessment.py`](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/init_assessment.py) (Assessment setup)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_assessment["Assessment workflow"]
  node_skill["Assessment instructions<br/>[SKILL.md]"]
  node_init["Assessment setup<br/>[init_assessment.py]"]
  node_evidence["Evidence collection"]
end

subgraph group_criteria["Legal criteria"]
  node_official["Pinned legal texts"]
  node_sync["Text sync and catalogues"]
  node_guidance["Assessment guidance"]
end

subgraph group_analysis["Assessment tools"]
  node_scope["Scope and classification"]
  node_modification["Modification screening"]
  node_risk["Risk assessment"]
  node_requirements["Requirement assessment"]
  node_sbom["SBOM validation<br/>[check_sbom.py]"]
  node_reporting["Reporting readiness"]
  node_support["Support-period checks"]
end

subgraph group_outputs["Assessment outputs"]
  node_gaps["Gaps and remediation"]
  node_ticket["Ticket queue export"]
  node_regression["Regression comparison"]
  node_artifacts["Assessment deliverables"]
end

node_agent(("AI agent / assessor"))

node_agent -->|"follows instructions"| node_skill
node_skill -->|"sets up assessment"| node_init
node_skill -->|"collects evidence"| node_evidence
node_sync -->|"fetches and pins"| node_official
node_sync -->|"generates catalogues"| node_guidance
node_skill -->|"decides scope"| node_scope
node_skill -->|"screens changes"| node_modification
node_skill -->|"structures assessment"| node_risk
node_skill -->|"assesses provisions"| node_requirements
node_skill -->|"validates SBOM"| node_sbom
node_skill -->|"checks deadlines"| node_reporting
node_skill -->|"checks support period"| node_support
node_skill -->|"records findings"| node_gaps
node_gaps -->|"exports queue"| node_ticket
node_skill -->|"compares assessments"| node_regression
node_skill -->|"produces deliverables"| node_artifacts

click node_skill "https://github.com/Killerz007/cra-readiness-skill/blob/main/SKILL.md"
click node_init "https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/init_assessment.py"
click node_evidence "https://github.com/Killerz007/cra-readiness-skill/blob/main/references/evidence-standard.md"
click node_official "https://github.com/Killerz007/cra-readiness-skill/tree/main/official/current"
click node_sync "https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/sync_official_text.py"
click node_guidance "https://github.com/Killerz007/cra-readiness-skill/tree/main/references"
click node_scope "https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/classify_product.py"
click node_modification "https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/screen_substantial_modification.py"
click node_risk "https://github.com/Killerz007/cra-readiness-skill/blob/main/references/risk-assessment-methodology.md"
click node_requirements "https://github.com/Killerz007/cra-readiness-skill/blob/main/references/requirement-assessment-guide.json"
click node_sbom "https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/check_sbom.py"
click node_reporting "https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/reporting_deadlines.py"
click node_support "https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/support_period_check.py"
click node_gaps "https://github.com/Killerz007/cra-readiness-skill/blob/main/templates/gaps-register.jsonl"
click node_ticket "https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/export_ticket_queue.py"
click node_regression "https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/compare_assessments.py"
click node_artifacts "https://github.com/Killerz007/cra-readiness-skill/tree/main/templates"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_skill,node_init,node_evidence toneBlue
class node_official,node_sync,node_guidance toneAmber
class node_scope,node_modification,node_risk,node_requirements,node_sbom,node_reporting,node_support toneMint
class node_gaps,node_ticket,node_regression,node_artifacts toneRose
class node_agent toneIndigo
```

## Components

### Assessment workflow

- [Assessment instructions](https://github.com/Killerz007/cra-readiness-skill/blob/main/SKILL.md): `SKILL.md`
- [Assessment setup](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/init_assessment.py): `scripts/init_assessment.py`
- [Evidence collection](https://github.com/Killerz007/cra-readiness-skill/blob/main/references/evidence-standard.md): `references/evidence-standard.md`

### Legal criteria

- [Pinned legal texts](https://github.com/Killerz007/cra-readiness-skill/tree/main/official/current): `official/current`
- [Text sync and catalogues](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/sync_official_text.py): `scripts/sync_official_text.py`
- [Assessment guidance](https://github.com/Killerz007/cra-readiness-skill/tree/main/references): `references`

### Assessment tools

- [Scope and classification](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/classify_product.py): `scripts/classify_product.py`
- [Modification screening](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/screen_substantial_modification.py): `scripts/screen_substantial_modification.py`
- [Risk assessment](https://github.com/Killerz007/cra-readiness-skill/blob/main/references/risk-assessment-methodology.md): `references/risk-assessment-methodology.md`
- [Requirement assessment](https://github.com/Killerz007/cra-readiness-skill/blob/main/references/requirement-assessment-guide.json): `references/requirement-assessment-guide.json`
- [SBOM validation](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/check_sbom.py): `scripts/check_sbom.py`
- [Reporting readiness](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/reporting_deadlines.py): `scripts/reporting_deadlines.py`
- [Support-period checks](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/support_period_check.py): `scripts/support_period_check.py`

### Assessment outputs

- [Gaps and remediation](https://github.com/Killerz007/cra-readiness-skill/blob/main/templates/gaps-register.jsonl): `templates/gaps-register.jsonl`
- [Ticket queue export](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/export_ticket_queue.py): `scripts/export_ticket_queue.py`
- [Regression comparison](https://github.com/Killerz007/cra-readiness-skill/blob/main/scripts/compare_assessments.py): `scripts/compare_assessments.py`
- [Assessment deliverables](https://github.com/Killerz007/cra-readiness-skill/tree/main/templates): `templates`

### Other components

- **AI agent / assessor**

## Connections

- AI agent / assessor → Assessment instructions: follows instructions (evidence: `README.md`)
- Assessment instructions → Assessment setup: sets up assessment (evidence: `README.md`)
- Assessment instructions → Evidence collection: collects evidence (evidence: `README.md`)
- Text sync and catalogues → Pinned legal texts: fetches and pins (evidence: `README.md`)
- Text sync and catalogues → Assessment guidance: generates catalogues (evidence: `README.md`)
- Assessment instructions → Scope and classification: decides scope (evidence: `README.md`)
- Assessment instructions → Modification screening: screens changes (evidence: `README.md`)
- Assessment instructions → Risk assessment: structures assessment (evidence: `README.md`)
- Assessment instructions → Requirement assessment: assesses provisions (evidence: `README.md`)
- Assessment instructions → SBOM validation: validates SBOM (evidence: `README.md`)
- Assessment instructions → Reporting readiness: checks deadlines (evidence: `README.md`)
- Assessment instructions → Support-period checks: checks support period (evidence: `README.md`)
- Assessment instructions → Gaps and remediation: records findings (evidence: `README.md`)
- Gaps and remediation → Ticket queue export: exports queue (evidence: `README.md`)
- Assessment instructions → Regression comparison: compares assessments (evidence: `README.md`)
- Assessment instructions → Assessment deliverables: produces deliverables (evidence: `README.md`)
