analysis-pipeline
Reverse engineering - multi-source product intelligence analysis with provenance tracking. Master methodology for all analysis agents.
Layer 2 synthesis methodology. Feature discovery, architecture reverse engineering, API extraction, cross-source synthesis with conflict resolution, module mapping. Transforms raw Layer 1 intelligence into structured synthesis documents. Loaded by the analyzer agent during Layer
$ npx -y skills add prime-radiant-inc/greenfield --skill multi-source-synthesis --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/multi-source-synthesisContext preview
The summary Claude sees to decide when to auto-load this skill.
Layer 2 synthesis methodology. Feature discovery, architecture reverse engineering, API extraction, cross-source synthesis with conflict resolution, module mapping. Transforms raw Layer 1 intelligence into structured synthesis documents. Loaded by the analyzer agent during Layer
name: multi-source-synthesis description: Layer 2 synthesis methodology. Feature discovery, architecture reverse engineering, API extraction, cross-source synthesis with conflict resolution, module mapping. Transforms raw Layer 1 intelligence into structured synthesis documents. Loaded by the analyzer agent during Layer 2.
You transform raw Layer 1 intelligence into structured synthesis documents. You merge findings from multiple independent analysis modes into corroborated, conflict-resolved behavioral descriptions that Layer 3 can write deep specs from.
**Merge independently. Resolve conflicts explicitly. Cite everything. Miss nothing.**
digraph layer2_pipeline {
rankdir=TB;
subgraph cluster_inputs {
label="Layer 1 Intelligence Sources";
style=dashed;
"Source Code Analysis" [shape=folder];
"Public Documentation" [shape=folder];
"SDK / Ecosystem" [shape=folder];
"Runtime Observation" [shape=folder];
"Binary Analysis" [shape=folder];
"Community Intelligence" [shape=folder];
}
subgraph cluster_phase1 {
label="Phase 1 (parallel)";
style=filled;
fillcolor="#e8f4e8";
"feature-discoverer" [shape=box];
"architecture-analyst" [shape=box];
"api-extractor" [shape=box];
}
subgraph cluster_phase2 {
label="Phase 2";
style=filled;
fillcolor="#e8e8f4";
"analysis-synthesizer" [shape=box];
}
subgraph cluster_phase3 {
label="Phase 3";
style=filled;
fillcolor="#f4e8e8";
"module-mapper" [shape=box];
}
"Source Code Analysis" -> "feature-discoverer";
"Source Code Analysis" -> "architecture-analyst";
"Source Code Analysis" -> "api-extractor";
"Public Documentation" -> "feature-discoverer";
"Public Documentation" -> "architecture-analyst";
"Public Documentation" -> "api-extractor";
"SDK / Ecosystem" -> "feature-discoverer";
"SDK / Ecosystem" -> "api-extractor";
"Runtime Observation" -> "feature-discoverer";
"Runtime Observation" -> "architecture-analyst";
"Runtime Observation" -> "api-extractor";
"Binary Analysis" -> "architecture-analyst";
"Community Intelligence" -> "feature-discoverer";
"feature-discoverer" -> "analysis-synthesizer";
"architecture-analyst" -> "analysis-synthesizer";
"api-extractor" -> "analysis-synthesizer";
"Source Code Analysis" -> "analysis-synthesizer" [style=dashed, label="raw L1"];
"Public Documentation" -> "analysis-synthesizer" [style=dashed, label="raw L1"];
"Runtime Observation" -> "analysis-synthesizer" [style=dashed, label="raw L1"];
"analysis-synthesizer" -> "module-mapper";
"feature-discoverer" -> "module-mapper";
"architecture-analyst" -> "module-mapper";
"api-extractor" -> "module-mapper";
"module-mapper" -> "Layer 3 Deep Dives" [shape=doublecircle];
}No phase advances until the previous phase is fully complete.
All Layer 2 agents consume output from Layer 1. Not all modes will be present for every analysis run.
Required (at least one must exist): workspace/raw/source/analysis/ Source code chunk analyses workspace/public/docs/ Documentation research output workspace/public/ecosystem/ SDK and ecosystem analysis workspace/public/community/ Community intelligence (forums, tutorials, issues) workspace/raw/runtime/ Runtime observation output workspace/raw/binary/ Binary analysis output Phase 1 output (consumed by Phase 2 and Phase 3): workspace/raw/synthesis/features/ feature-discoverer output workspace/raw/synthesis/architecture/ architecture-analyst output workspace/raw/synthesis/api/ api-extractor output Phase 2 output (consumed by Phase 3): workspace/raw/synthesis/behavioral-summaries/ analysis-synthesizer output workspace/raw/synthesis/cross-reference-report.md workspace/raw/synthesis/reimplementation-essentials.md
Every Layer 2 agent runs this check before starting. Record results in output metadata.
[ -d "workspace/raw/source/analysis/" ] && HAS_SOURCE=true || HAS_SOURCE=false [ -d "workspace/public/docs/" ] && HAS_DOCS=true || HAS_DOCS=false [ -d "workspace/public/ecosystem/" ] && HAS_SDK=true || HAS_SDK=false [ -d "workspace/public/community/" ] && HAS_COMMUNITY=true || HAS_COMMUNITY=false [ -d "workspace/raw/runtime/" ] && HAS_RUNTIME=true || HAS_RUNTIME=false [ -d "workspace/raw/binary/" ] && HAS_BINARY=true || HAS_BINARY=false
At least one must be true. If zero modes contributed, halt with an error.
Every synthesis output file includes this table at the top:
## Mode Coverage Summary | Mode | Available | Items Discovered | |------|-----------|------------------| | Source Code | YES/NO | [count] | |
Reverse engineer clean behavioral specs from any codebase. Greenfield reads source code, documentation, SDKs, runtime behavior, and binaries, then produces behavioral specifications, test vectors, acceptance criteria, and a full provenance trail.
Repo: prime-radiant-inc/greenfield
Reverse engineering - multi-source product intelligence analysis with provenance tracking. Master methodology for all analysis agents.
Layer 1 intelligence source discovery - auto-detect available sources, search for public information, negotiate with user, produce inventory manifest
Layer 3 deep documentation methodology. Per-module behavioral specifications, external and behavioral integration contracts, behavior documentation, end-to-end…
Layer 1 methodology for extracting behavioral intelligence from compiled binaries, bytecode archives, managed assemblies, and bundled applications. Covers…
Layer 1 skill for community intelligence gathering. Search channels, extraction methodology, consensus analysis, version-aware behavioral changes, structural…
Infrastructure skill for containerized target execution. Runtime detection, container lifecycle, security restrictions, interaction patterns.