Architecture Auditor Skill: The CTO's Forensic Handbook
This skill is designed to perform exhaustive technical audits of startup architectures. It moves beyond high-level boxes into "Plumbing Forensics"—identifying specific libraries, API patterns, and infrastructure moats.
1. THE RESEARCH MANDATE (EVIDENCE ARTIFACTS)
Before specifying a diagram, you MUST harvest the "Ingredients of Truth":
- Library Forensics: Search for specific implementation details (e.g., "Uses LangChain for orchestration with custom Pydantic schemas").
- API Specifics: Identify actual endpoint names, event codes (e.g.,
DATA_INGESTED, INFERENCE_COMPLETE), and auth protocols.
- Model Tiering: Map exactly which models are used for which tasks (e.g., "Llama-3-8b for routing, GPT-4o for final aggregation").
2. TECH STACK AUDIT CHECKLIST
Identify the specific providers and libraries used in the following layers to determine if it is a "proprietary moat" or a "commodity wrapper."
2.1 Core AI & Orchestration
- Model Providers: OpenAI (GPT-4o/o1), Anthropic (Claude 3.5), Meta (Llama 3), or Google (Gemini).
- Orchestration: LangChain, LlamaIndex, Haystack, or custom Python/FastAPI logic.
- Fine-Tuning: LoRA/QLoRA implementations, Unsloth, or proprietary training on H100 clusters.
2.2 Vector & Data Infrastructure
- Vector Databases: Pinecone, Milvus, Weaviate, Qdrant, or pgvector.
- Data Curation: Snorkel, Scale AI, or proprietary labeling pipelines.
- Streaming/Real-time: Kafka, RabbitMQ, or Upstash.
2.3 Observability & Safety
- Evaluations: Ragas, TruLens, or Giskard.
- Monitoring: LangSmith, Weights & Biases (W&B), or Arize Phoenix.
- Guardrails: NeMo Guardrails, Llama Guard, or custom PII filtering.
3. SYSTEM ARCHITECTURE PATTERNS
Look for these high-fidelity patterns to understand the "intelligence density" of the system.
3.1 RAG (Retrieval-Augmented Generation)
- What to look for: Multi-stage retrieval (Hybrid search), reranking (Cohere Rerank), and metadata filtering.
- Moat check: Are they using "naive RAG" or sophisticated "Agentic RAG" with self-correction?
3.2 Gated Ensemble Pipelines
- What to look for: Routing logic that sends "easy" queries to small models (Llama-3-8b) and "hard" queries to large ones (o1).
- Moat check: This indicates a compute-efficiency moat.
3.3 Autonomous Agent Workflows
- What to look for: Tools like CrewAI, AutoGPT, or custom loops using Tool-Calling APIs.
- Moat check: Does the agent have "Environment Memory" or is it a single-shot execution?
4. THE COMPONENT-BY-COMPONENT TEARDOWN
For each technical section of the report:
- Gated Logic: Describe the "Early Exit" or "Escalation" conditions between model layers.
- Infrastructure Bottlenecks: Identify exactly where latency or cost issues exist (e.g., "Vector DB query latency at 500ms+ due to high dimensionality").
- Moat Verification: Prove if a component is proprietary or off-the-shelf by auditing GitHub dependencies or whitepaper citations.
5. THE VISUAL DESIGN SPECIFICATION (VDS)
This is the formal prompt passed to the excalidraw-diagram skill. Generic specs are failures.
5.1 VDS Checklist:
- Technical Diagram: Map the data journey from Input to Output.
- Annotations: Every box must contain its technical purpose + dependency name.
- Binding: Use the Two-Way Binding Protocol (Shape
boundElements <-> Text containerId).
- Market Diagram: Use the "Displacement Path" pattern.
- Nodes: Annotate incumbents with their market share % and key technical weakness.
- Economic Graphs: Use annotated axes with specific milestones (e.g., "Seed Round Achieved").
6. INTEGRATION PROTOCOL
When called by the vc-diligence skill:
- Read the raw findings in
raw_findings/tech/.
- Perform any missing "Least-to-Most" technical sub-queries.
- Draft the
technical_commercial_deep_dive.md section for Architecture.
- Generate the finalized Visual Design Specification for delegation.
End of Architecture Auditor Skill.
1---2name: architecture-auditor3description: Specialized technical auditor for deep startup architecture teardowns and high-fidelity visual design specifications. Handles component-by-component forensics and maps technical moats for VC diligence.4---56# Architecture Auditor Skill: The CTO's Forensic Handbook78This skill is designed to perform exhaustive technical audits of startup architectures. It moves beyond high-level boxes into "Plumbing Forensics"—identifying specific libraries, API patterns, and infrastructure moats.910## 1. THE RESEARCH MANDATE (EVIDENCE ARTIFACTS)11Before specifying a diagram, you MUST harvest the "Ingredients of Truth":12- **Library Forensics**: Search for specific implementation details (e.g., "Uses LangChain for orchestration with custom Pydantic schemas").13- **API Specifics**: Identify actual endpoint names, event codes (e.g., `DATA_INGESTED`, `INFERENCE_COMPLETE`), and auth protocols.14- **Model Tiering**: Map exactly which models are used for which tasks (e.g., "Llama-3-8b for routing, GPT-4o for final aggregation").1516## 2. TECH STACK AUDIT CHECKLIST17Identify the specific providers and libraries used in the following layers to determine if it is a "proprietary moat" or a "commodity wrapper."1819### 2.1 Core AI & Orchestration20- **Model Providers**: OpenAI (GPT-4o/o1), Anthropic (Claude 3.5), Meta (Llama 3), or Google (Gemini).21- **Orchestration**: LangChain, LlamaIndex, Haystack, or custom Python/FastAPI logic.22- **Fine-Tuning**: LoRA/QLoRA implementations, Unsloth, or proprietary training on H100 clusters.2324### 2.2 Vector & Data Infrastructure25- **Vector Databases**: Pinecone, Milvus, Weaviate, Qdrant, or pgvector.26- **Data Curation**: Snorkel, Scale AI, or proprietary labeling pipelines.27- **Streaming/Real-time**: Kafka, RabbitMQ, or Upstash.2829### 2.3 Observability & Safety30- **Evaluations**: Ragas, TruLens, or Giskard.31- **Monitoring**: LangSmith, Weights & Biases (W&B), or Arize Phoenix.32- **Guardrails**: NeMo Guardrails, Llama Guard, or custom PII filtering.3334## 3. SYSTEM ARCHITECTURE PATTERNS35Look for these high-fidelity patterns to understand the "intelligence density" of the system.3637### 3.1 RAG (Retrieval-Augmented Generation)38- **What to look for**: Multi-stage retrieval (Hybrid search), reranking (Cohere Rerank), and metadata filtering.39- **Moat check**: Are they using "naive RAG" or sophisticated "Agentic RAG" with self-correction?4041### 3.2 Gated Ensemble Pipelines42- **What to look for**: Routing logic that sends "easy" queries to small models (Llama-3-8b) and "hard" queries to large ones (o1).43- **Moat check**: This indicates a compute-efficiency moat.4445### 3.3 Autonomous Agent Workflows46- **What to look for**: Tools like CrewAI, AutoGPT, or custom loops using Tool-Calling APIs.47- **Moat check**: Does the agent have "Environment Memory" or is it a single-shot execution?4849## 4. THE COMPONENT-BY-COMPONENT TEARDOWN50For each technical section of the report:511. **Gated Logic**: Describe the "Early Exit" or "Escalation" conditions between model layers.522. **Infrastructure Bottlenecks**: Identify exactly where latency or cost issues exist (e.g., "Vector DB query latency at 500ms+ due to high dimensionality").533. **Moat Verification**: Prove if a component is proprietary or off-the-shelf by auditing GitHub dependencies or whitepaper citations.5455## 5. THE VISUAL DESIGN SPECIFICATION (VDS)56This is the formal prompt passed to the `excalidraw-diagram` skill. Generic specs are failures.5758### 5.1 VDS Checklist:59- **Technical Diagram**: Map the data journey from Input to Output. 60 - **Annotations**: Every box must contain its technical purpose + dependency name.61 - **Binding**: Use the Two-Way Binding Protocol (Shape `boundElements` <-> Text `containerId`).62- **Market Diagram**: Use the "Displacement Path" pattern.63 - **Nodes**: Annotate incumbents with their market share % and key technical weakness.64- **Economic Graphs**: Use annotated axes with specific milestones (e.g., "Seed Round Achieved").6566## 6. INTEGRATION PROTOCOL67When called by the `vc-diligence` skill:681. Read the raw findings in `raw_findings/tech/`.692. Perform any missing "Least-to-Most" technical sub-queries.703. Draft the `technical_commercial_deep_dive.md` section for Architecture.714. Generate the finalized Visual Design Specification for delegation.7273---74*End of Architecture Auditor Skill.*