Source Code

Documentation > Source Code

Source Code Browser

Browse the gsd-skill-creator codebase module by module. Each page shows the module's purpose, file tree, key TypeScript interfaces, and links to related documentation. The codebase contains 51 modules, 1,546 TypeScript files, and 119 directories under src/.

Architecture Layers

Modules are organized into 6 dependency layers. Modules only depend on layers below them.

LayerModulesPurpose
L1: Foundationtypes/, identifiers/, portability/, events/, roles/, capabilities/Type definitions, constants, interfaces
L2: Infrastructurestorage/, validation/, embeddings/, testing/, safety/, disclosure/CRUD, validation, security, testing
L3: Analysisobservation/, detection/, composition/, agents/, teams/, activation/, conflicts/, discovery/, brainstorm/, retrieval/, evaluator/, knowledge/Pattern detection, agent composition, skill analysis
L4: Core Processingapplication/, simulation/, learning/, calibration/6-stage pipeline, bounded refinement, threshold optimization
L5: Orchestrationworkflows/, skill-workflows/, orchestrator/, initialization/, integration/, staging/, vtm/Multi-step coordination, GSD integration
L6: Entry Pointscli/, hooks/, mcp/, launcher/, terminal/, console/, dashboard/User-facing interfaces
Specializedchipset/, den/, amiga/, aminet/, agc/, electronics-pack/, cloud-ops/, bundles/Domain-specific systems

Module Index

ModuleSource FilesTestsDescription
activation/53Activation likelihood scoring and improvement suggestions
agc/3633Apollo Guidance Computer educational simulation
agents/53Agent composition from co-activated skill clusters
amiga/4542AMIGA platform integration and chipset extensions
aminet/3938Aminet-style archive indexing and distribution
application/1466-stage skill loading pipeline (Score, Resolve, ModelFilter, CacheOrder, Budget, Load)
brainstorm/3913Multi-agent structured ideation with 16 techniques
bundles/65Skill bundle packaging and distribution
calibration/75Threshold optimization using real activation data
capabilities/1412Domain-specific capability declarations
chipset/3323Multi-agent chipset architecture with ISA encoding
cli/4525Command-line interface for all skill-creator operations
cloud-ops/167Cloud infrastructure management and deployment
composition/54Skill inheritance, dependency graphs, cycle detection
conflicts/43Semantic overlap detection between skills
console/1316Filesystem message bus for inter-process communication
dashboard/7970Web dashboard for planning docs visualization
den/2024Agent configuration and staff topology management
detection/63Pattern analysis, skill generation, suggestion management
disclosure/66Progressive disclosure for large skills (>2000 words)
discovery/2421DBSCAN clustering with cosine distance, k-NN knee detection
electronics-pack/3238Hardware simulation with chip-level accuracy (5 engines, 77 labs)
embeddings/54Semantic analysis with 3-tier embedding strategy
evaluator/54Skill quality evaluation and scoring
events/65Event system for cross-module communication
hooks/42Claude Code session lifecycle integration
identifiers/53Unique identifier generation and validation
initialization/10Project and environment bootstrap
integration/138Integration config, install scripts, session wiring
knowledge/2122Knowledge graph structures for domain modeling
launcher/42System startup and process management
learning/76Bounded refinement engine with drift tracking
mcp/5939Model Context Protocol gateway, bridge, and security
observation/1818Session observation, transcript parsing, pattern summarization
orchestrator/5337GSD command routing with 5-stage intent classification
portability/43Cross-platform skill distribution
retrieval/53Adaptive routing between TF-IDF and embedding search
roles/54Skill role assignment patterns
safety/44Defense-in-depth security coordination
simulation/73Predict skill activation without invoking Claude
skill-workflows/87Multi-step skill operations
staging/5148Staging pipeline with state machine and intake queue
storage/42File-based CRUD with SKILL.md format
teams/985 team topologies: leader-worker, pipeline, swarm, router, map-reduce
terminal/64Terminal UI rendering and Wetty integration
testing/113Test infrastructure: stores, runners, formatters
types/212All TypeScript interfaces, types, and constants
validation/171817 validators: safety, budget, schema, specialized
vtm/1717Vision-to-mission phase modeling and execution
workflows/40High-level workflow orchestration

Project Stats

MetricCount
Top-level modules51
Total directories119
TypeScript source files1,546
Tests (12,545 total)Vitest
Lines of code~410,000
Versions released33 (v1.0 – v1.33)

Quick Links

  • Architecture Overview — 6-layer dependency hierarchy
  • System Layers — All modules with TypeScript interfaces
  • Data Flows — Three core pipelines with real function calls
  • Extending the System — Custom validators, storage backends, pipeline stages