architectural-forensics

aiskillstore/marketplace

Разбор кода агентных фреймворков для проектирования собственной архитектуры

Звёзды486
Форки53
Авторaiskillstore
Обновлённоя 17 2026

Установка

SKILL.md

Architectural Forensics Protocol

Deconstruct agent frameworks to inform derivative system architecture.

Mission

Distinguish between software engineering decisions (how it runs) and cognitive architecture decisions (how it thinks) to extract reusable patterns for new systems.

Quick Start

# 1. Map the codebase (uses codebase-mapping skill's script)
python .claude/skills/codebase-mapping/scripts/map_codebase.py /path/to/framework --output codebase-map.json

# 2. Run analysis via the command
/analyze-frameworks

Protocol Phases

Phase 1: Engineering Chassis

Analyze the software substrate. See references/phase1-engineering.md for detailed guidance.

AnalysisFocus FilesOutput
Data Substratetypes.py, schema.py, state.pyTyping strategy, mutation patterns
Execution Enginerunner.py, executor.py, agent.pyAsync model, control flow topology
Component Modelbase_*.py, interfaces.pyAbstraction depth, DI patterns
Resilienceexecutor.py, try/except blocksError propagation, sandboxing

Phase 2: Cognitive Architecture

Extract agent "business logic". See references/phase2-cognitive.md for detailed guidance.

AnalysisFocus FilesOutput
Control Loopagent.py, loop.pyReasoning pattern, step function
Memorymemory.py, context.pyContext assembly, eviction policies
Tool Interfacetool.py, functions.pySchema generation, error feedback
Harness-Model Protocolllm.py, adapters/, stream.pyWire format, tool call encoding, agentic primitives
Multi-Agentorchestrator.py, router.pyCoordination model, state sharing

Phase 3: Synthesis

Generate actionable outputs:

  1. Best-of-Breed Matrix → Framework comparison table
  2. Anti-Pattern Catalog → "Do Not Repeat" list
  3. Reference Architecture → New framework specification

Execution Workflow

┌─────────────────────────────────────────────────────────┐
│                    For Each Framework                    │
├─────────────────────────────────────────────────────────┤
│  1. codebase-mapping                                    │
│       ↓                                                 │
│  2. Phase 1 Analysis (parallel)                         │
│     ├── data-substrate-analysis                         │
│     ├── execution-engine-analysis                       │
│     ├── component-model-analysis                        │
│     └── resilience-analysis                             │
│       ↓                                                 │
│  3. Phase 2 Analysis (parallel)                         │
│     ├── control-loop-extraction                         │
│     ├── memory-orchestration                            │
│     ├── tool-interface-analysis                         │
│     ├── harness-model-protocol                          │
│     └── multi-agent-analysis (if applicable)            │
└─────────────────────────────────────────────────────────┘
        ↓
┌─────────────────────────────────────────────────────────┐
│                      Synthesis                           │
├─────────────────────────────────────────────────────────┤
│  4. comparative-matrix                                   │
│  5. antipattern-catalog                                  │
│  6. architecture-synthesis                               │
└─────────────────────────────────────────────────────────┘

Quick Analysis (Single Framework)

For rapid assessment, run the minimal path:

codebase-mapping → execution-engine-analysis → control-loop-extraction → tool-interface-analysis

Output Directory Structure

forensics-output/                    # Working/intermediate files
├── .state/
│   ├── manifest.json
│   └── {framework}.state.json
└── frameworks/
    └── {framework}/
        ├── codebase-map.json
        ├── phase1/*.md
        └── phase2/*.md

reports/                             # Final deliverables
├── frameworks/
│   └── {framework}.md               # Framework summary
└── synthesis/
    ├── comparison-matrix.md
    ├── antipatterns.md
    ├── reference-architecture.md
    └── executive-summary.md

State Management & Resumption

The protocol is designed to be stateful and resumable.

  • Idempotency: The Orchestrator tracks progress in manifest.json and will skip frameworks marked as completed.
  • Clean Slate Resumption: If a run is interrupted, frameworks marked as in_progress are considered "stale". Use python scripts/state_manager.py reset-running to move them back to pending and delete their partial output directories, ensuring a clean restart for those items.

Agent Orchestration

This skill uses a 4-tier hierarchy of specialized agents for context efficiency:

Orchestrator
    │
    └── Framework Agents (parallel, one per framework)
            │
            └── Skill Agents (parallel, one per skill) [COORDINATORS]
                    │
                    └── Reader Agents (parallel, one per file cluster) [EXTRACTORS]
                            │
                            └── Synthesis Agent (cross-framework synthesis)

Agent Roles

AgentContext BudgetReadsProduces
Orchestrator~10KState filesCoordination decisions
Framework Agent~50KSkill outputsFramework summary report
Skill Agent~25KCluster extractsSkill analysis report
Reader Agent~20K1-5 source filesJSON extract (~2K)
Synthesis Agent~40KAll framework reportsComparison matrix, architecture spec

Key Innovation: Cluster-Based Reading

Reader Agents read file clusters (1-5 related files) rather than individual files:

  • Clusters are grouped by relationship: hierarchy, module cohort, type+usage, interface+impl
  • Cross-file patterns (inheritance, imports, shared state) are captured in the extract
  • This enables understanding architectural patterns that span multiple files

See:

  • references/orchestrator-agent.md — Top-level coordination
  • references/framework-agent.md — Per-framework analysis coordination
  • references/skill-agent.md — Skill coordination and cluster assignment
  • references/reader-agent.md — File cluster extraction
  • references/synthesis-agent.md — Cross-framework synthesis

Sub-Skill Reference

SkillPurposeKey Outputs
codebase-mappingRepository structureFile tree, dependencies, entry points
data-substrate-analysisType systemTyping strategy, serialization
execution-engine-analysisControl flowAsync model, event architecture
component-model-analysisExtensibilityAbstraction patterns, DI
resilience-analysisError handlingError propagation, sandboxing
control-loop-extractionReasoning loopPattern classification, step function
memory-orchestrationContext managementAssembly, eviction, tiers
tool-interface-analysisTool systemSchema gen, error feedback
harness-model-protocolLLM interface layerWire format, encoding, agentic primitives
multi-agent-analysisCoordinationHandoffs, state sharing
comparative-matrixComparisonDecision tables
antipattern-catalogTech debtDo-not-repeat list
architecture-synthesisNew designReference spec

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: architectural-forensics](https://darkplay.ru/ai/skills/aiskillstore-marketplace-architectural-forensics)

Из того же репозитория

when-profiling-performance-use-performance-profiler Система профилирования производительности, поиска узких мест и оптимизации. ★486 when-managing-token-budget-use-token-budget-advisor Управление бюджетом токенов: оценка расхода, анализ сложности, стратегии разбиения. ★486 when-optimizing-agent-learning-use-reasoningbank-intelligence Адаптивное обучение с ReasoningBank: распознавание паттернов и оптимизация стратегий. ★486 when-optimizing-prompts-use-prompt-architect Фреймворк для анализа, создания и улучшения промптов на основе доказательных техник. ★486 when-optimizing-prompts-use-prompt-optimization-analyzer Диагностика промптов: оценка качества, поиск антипаттернов и лишних токенов. ★486 when-orchestrating-swarm-use-swarm-orchestration Оркестрация сложного роя агентов с декомпозицией задач и синтезом результатов. ★486 when-releasing-software-use-github-release-management Оркестрация релизов GitHub: версионирование, тестирование, деплой и откат. ★486 when-reviewing-github-pr-use-github-code-review Ревью pull request в GitHub с параллельным анализом специализированными агентами. ★486

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Architectaffaan-m · Специалист по архитектуре ПО для проектирования систем, масштабируемости и принятия…
225 587 ★
Build Error Resolveraffaan-m · Специалист по устранению ошибок сборки и TypeScript. Используйте ПРОАКТИВНО при сбое…
225 587 ★
Planneraffaan-m · Специалист по планированию сложных функций, архитектурных изменений и рефакторинга.
225 587 ★
framework-migrationwshobson · Обновление фреймворков, планирование миграции и workflow архитектурных преобразований
495 комп.
ADR Generatorgithub · Экспертный агент для создания подробных Architectural Decision Records (ADR) со…
36 140 ★
CAST Imaging Software Discovery Agentgithub · Специализированный агент для комплексного исследования программных приложений и…
36 140 ★
Clojure Interactive Programminggithub · Экспертный парный программист по Clojure с методологией REPL-first, архитектурным…
36 140 ★
High-Level Big Picture Architect (HLBPA)github · Режим чата для архитектурной документации и ревью высокого уровня. Подходит для точечных…
36 140 ★
Modernization Agentgithub · Помощник по модернизации с участием человека для анализа, документирования и планирования…
36 140 ★
Senior Cloud Architectgithub · Эксперт по паттернам проектирования, требованиям NFR и созданию архитектурных диаграмм и…
36 140 ★

Лучшие ИИ-инструменты для программирования

ИИ для программирования

Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для автоматизации и ассистентов

Ассистенты и автоматизация

Подборка ИИ-ассистентов для автоматизации рутины и ускорения рабочих процессов. Сервисы, которые берут на себя переписку, анализ данных, ведение базы знаний и подготовку продаж, эк

Give Me Public
Есть бесплатный тариф
5.0
AITunnelAitunnel
По запросу
5.0
STIVAStiva
По запросу
5.0
Wikibot (Викибот)Wikibot
По запросу
4.9
mymeet.aiMymeet
По запросу
4.9
InsighterInsighter
По запросу
4.9
TGHuntTghunt
Есть бесплатный тариф
4.9
LegiscanLegiscan
По запросу
4.9
RouterAIRouterai
По запросу
4.9
Wikibot 1.0 (Викибот)Wikibot
По запросу
4.9

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8