# polarizertech/spec-kit-extensions architecture

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

- Interactive diagram: https://gitdiagram.com/polarizertech/spec-kit-extensions
- Repository: https://github.com/polarizertech/spec-kit-extensions

## Overview

This repository packages a Spec-Kit extension for cross-feature alignment analysis. Users install it into a Spec-Kit project, then invoke its slash command to analyze a feature against existing ones. The README describes the command, supporting scripts, and template, but no source excerpts were provided, so their internal calls and detailed analysis stages cannot be verified. Installer-to-manifest and installer-to-addon relationships are documented; the graph does not infer links among the extension’s files.

Main entry points: [`install.sh`](https://github.com/polarizertech/spec-kit-extensions/blob/main/install.sh) (Bash installer), [`install.ps1`](https://github.com/polarizertech/spec-kit-extensions/blob/main/install.ps1) (PowerShell installer), [`extensions/cross-feature/addon/commands/speckit.extn.cross-feature.md`](https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/addon/commands/speckit.extn.cross-feature.md) (Alignment command), [`extensions/cross-feature/extension.yaml`](https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/extension.yaml) (Extension manifest)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_installation["Installation"]
  node_bash_installer["Bash installer<br/>[install.sh]"]
  node_powershell_installer["PowerShell installer<br/>[install.ps1]"]
  node_manifest["Extension manifest<br/>[extension.yaml]"]
end

subgraph group_analysis["Cross-Feature Analysis"]
  node_command["Alignment command"]
  node_bash_script["Bash analysis script"]
  node_powershell_script["PowerShell analysis script"]
  node_template["Analysis template"]
end

node_user(("Spec-Kit user"))
node_project["Spec-Kit project"]

node_user -->|"installs with"| node_bash_installer
node_user -->|"installs with"| node_powershell_installer
node_bash_installer -->|"reads"| node_manifest
node_powershell_installer -->|"reads"| node_manifest
node_bash_installer -->|"installs into"| node_project
node_powershell_installer -->|"installs into"| node_project
node_bash_installer -->|"installs"| node_command
node_bash_installer -->|"installs"| node_bash_script
node_bash_installer -->|"installs"| node_powershell_script
node_bash_installer -->|"installs"| node_template
node_powershell_installer -->|"installs"| node_command
node_powershell_installer -->|"installs"| node_bash_script
node_powershell_installer -->|"installs"| node_powershell_script
node_powershell_installer -->|"installs"| node_template
node_user -->|"invokes"| node_command

click node_bash_installer "https://github.com/polarizertech/spec-kit-extensions/blob/main/install.sh"
click node_powershell_installer "https://github.com/polarizertech/spec-kit-extensions/blob/main/install.ps1"
click node_manifest "https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/extension.yaml"
click node_command "https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/addon/commands/speckit.extn.cross-feature.md"
click node_bash_script "https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/addon/scripts/bash/cross-feature-check-all-features.sh"
click node_powershell_script "https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/addon/scripts/powershell/cross-feature-check-all-features.ps1"
click node_template "https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/addon/templates/cross-feature-analysis-template.md"

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_bash_installer,node_powershell_installer,node_manifest,node_user toneBlue
class node_command,node_bash_script,node_powershell_script,node_template toneAmber
class node_project toneIndigo
```

## Components

### Installation

- [Bash installer](https://github.com/polarizertech/spec-kit-extensions/blob/main/install.sh): `install.sh`
- [PowerShell installer](https://github.com/polarizertech/spec-kit-extensions/blob/main/install.ps1): `install.ps1`
- [Extension manifest](https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/extension.yaml): `extensions/cross-feature/extension.yaml`

### Cross-Feature Analysis

- [Alignment command](https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/addon/commands/speckit.extn.cross-feature.md): `extensions/cross-feature/addon/commands/speckit.extn.cross-feature.md`
- [Bash analysis script](https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/addon/scripts/bash/cross-feature-check-all-features.sh): `extensions/cross-feature/addon/scripts/bash/cross-feature-check-all-features.sh`
- [PowerShell analysis script](https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/addon/scripts/powershell/cross-feature-check-all-features.ps1): `extensions/cross-feature/addon/scripts/powershell/cross-feature-check-all-features.ps1`
- [Analysis template](https://github.com/polarizertech/spec-kit-extensions/blob/main/extensions/cross-feature/addon/templates/cross-feature-analysis-template.md): `extensions/cross-feature/addon/templates/cross-feature-analysis-template.md`

### Other components

- **Spec-Kit user**
- **Spec-Kit project**

## Connections

- Spec-Kit user → Bash installer: installs with (evidence: `README.md`)
- Spec-Kit user → PowerShell installer: installs with (evidence: `README.md`)
- Bash installer → Extension manifest: reads (evidence: `README.md`)
- PowerShell installer → Extension manifest: reads (evidence: `README.md`)
- Bash installer → Spec-Kit project: installs into (evidence: `README.md`)
- PowerShell installer → Spec-Kit project: installs into (evidence: `README.md`)
- Bash installer → Alignment command: installs (evidence: `README.md`)
- Bash installer → Bash analysis script: installs (evidence: `README.md`)
- Bash installer → PowerShell analysis script: installs (evidence: `README.md`)
- Bash installer → Analysis template: installs (evidence: `README.md`)
- PowerShell installer → Alignment command: installs (evidence: `README.md`)
- PowerShell installer → Bash analysis script: installs (evidence: `README.md`)
- PowerShell installer → PowerShell analysis script: installs (evidence: `README.md`)
- PowerShell installer → Analysis template: installs (evidence: `README.md`)
- Spec-Kit user → Alignment command: invokes (evidence: `README.md`)
