[Hackathon] Stark Spiders – Frontend Intelligence MCP (Gavel) - #327
Open
nidhi-nayana wants to merge 1 commit into
Open
[Hackathon] Stark Spiders – Frontend Intelligence MCP (Gavel)#327nidhi-nayana wants to merge 1 commit into
nidhi-nayana wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
⚖️ GAVEL: Frontend Intelligence MCP Server
Core Motto: "The rules decide. The LLM only phrases."
📌 Overview
Gavel is an AI Frontend Architect MCP Server built with NitroStack. When pointed at a real web application codebase, Gavel inspects actual project files (
package.json, lockfiles,tailwind.config.js, component trees), gathers user intent through intelligent caching, evaluates 6 modern UI and animation libraries against deterministic engineering rules, calculates transparent confidence scores with visible math, generates actionable coding specs with extracted design tokens, and validates recommendations using automated before-and-after Lighthouse performance benchmarks—rendering live interactive NitroStack widgets inside AI chat interfaces.🛠️ Key Features & Tools Included (10 MCP Tools):
elicitIntent: Elicits and caches human business goals in.gavel-context.analyzeProject: Audits project structure, framework versions, and component depth.inspectDependencies: Audits existing packages to prevent library overlap.inspectDesignLanguage: Extracts hex colors, font scales, and spacing tokens.recommendLibraries: Evaluates candidate rules with deterministic math and Groq rationale synthesis.compareLibraries: Direct 1-v-1 architectural trade-off comparisons.estimateBundleImpact: Computes minified/gzipped KB size and tree-shaking metrics.generateDesignSpec: Synthesizes winner + extracted design tokens into actionable specs.runLighthouse: Runs automated before/after Chrome Lighthouse performance audits.compareMetrics: Measures Core Web Vitals performance delta between audit runs.🧪 Verification
npm run typecheckpasses cleanly).npm run buildsucceeds).