/greenfield:fidelity-validationfrom greenfield
Cross-validates sanitized output specs against raw source specs to detect lost behavioral detail, dropped constants, missing features, or diluted precision. Run after sanitization and contamination audit.
Ships in greenfield. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Sanitization removes source code identifiers. But aggressive sanitization can also remove behavioral detail that an implementor needs. This skill detects information loss.
The sanitization pass rewrites raw specs into output specs. Each rewrite risks:
Run this AFTER:
This is the final quality gate before handing the output to the implementer.
Every behavioral claim in the raw specs must have a corresponding claim in the output specs — with equal or greater precision.
The output specs may use different words (that's the point of sanitization), but it must convey the same behavior. If the raw spec says "retry N times with a specific base, cap, and jitter", the output specs must say the same — not just "the system retries on failure."
For each raw module spec (workspace/raw/specs/modules/*.md), extract:
Write this inventory to workspace/raw/audit/fidelity-inventory.md.
For each item in the source claim inventory, search the corresponding output domain spec(s) for a matching behavioral claim.
Match criteria:
Report format per item:
### [RAW-SPEC: section-name] Claim: "description of the behavioral claim"
- Constant/Rule/Error/State/Decision/Feature
- Raw value: [exact value from raw specs]
- Output location: [file:section where it appears in the output] or MISSING
- Output value: [exact value from output specs] or N/A
- Status: MATCH | WEAKENED | MISSING | CHANGED
- Notes: [if WEAKENED/MISSING/CHANGED, explain what was lost]
Status definitions:
Repeat Phase 2 for:
Categorize all WEAKENED, MISSING, and CHANGED findings:
| Severity | Criteria | Action |
|---|---|---|
| P0-CRITICAL | A P0 behavior (critical path) is MISSING or CHANGED | Must fix before implementation |
| P0-WEAKENED | A P0 behavior lost precision (constants, branch coverage) | Must fix before implementation |
| P1-MISSING | A P1 behavior is entirely absent from the output | Should fix |
| P1-WEAKENED | A P1 behavior lost precision | Should fix |
| P2-MISSING | A P2/P3 behavior is absent | Advisory — may fix |
| P2-WEAKENED | A P2/P3 behavior lost precision | Advisory — may fix |
Write the full report to workspace/raw/audit/fidelity-report.md.
The report SHALL include:
Write a summary to workspace/output/audit/fidelity-summary.md:
The fidelity validation is compute-heavy (reading all raw specs AND all output specs). Dispatch as:
Inventory builders (parallel, one per 4-5 raw module specs): Extract behavioral claims from raw specs → workspace/raw/audit/fidelity-inventory-batch-N.md
Cross-validators (parallel, one per output domain spec): Read the relevant inventory batches + the output domain spec → produce per-domain findings
Aggregator (sequential): Merge all findings → severity assessment → final report
Each agent is dispatched as greenfield:analyzer since they need to read both raw/ and output/.
Together, the audit (Layer 6) and fidelity validation form a two-sided check:
What SKILL.md sets; muted values are Claude Code's defaults
greenfield@prime-radiant-marketplace is listed by prime-radiant-inc/prime-radiant-marketplace — review the source before installing
npx claudepluginhub prime-radiant-inc/prime-radiant-marketplace --plugin greenfield22 skills in this plugin
/analysis-pipelineReverse engineering - multi-source product intelligence analysis with provenance tracking. Master methodology for all analysis agents./autonomous-discoveryLayer 1 intelligence source discovery - auto-detect available sources, search for public information, negotiate with user, produce inventory manifest/behavioral-spec-writingLayer 3 deep documentation methodology. Per-module behavioral specifications, external and behavioral integration contracts, behavior documentation, end-to-end user journey analysis. Transforms Layer 2 synthesis into implementable behavioral specifications. Loaded by the analyzer agent during Layer 3./binary-analysisLayer 1 methodology for extracting behavioral intelligence from compiled binaries, bytecode archives, managed assemblies, and bundled applications. Covers artifact identification, string extraction strategy, decompilation workflows, provenance requirements, and handoff to source code mode./community-intelligenceLayer 1 skill for community intelligence gathering. Search channels, extraction methodology, consensus analysis, version-aware behavioral changes, structural contamination guard. Loaded by the analyzer agent for community intelligence gathering./container-executionInfrastructure skill for containerized target execution. Runtime detection, container lifecycle, security restrictions, interaction patterns.Other plugins' skills for the same job