frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: A CLI That Compiles React, Next.js, TS and Vue for LLMs

https://github.com/LogicStamp/logicstamp-context
2•AmiteK•1mo ago
After working with LLMs on real React/TypeScript codebases, I kept running into issues caused by missing structure - invented props, broken hook assumptions, and style leakage.

logicstamp-context is a CLI that analyzes the AST of React, Next.js, TypeScript, and Vue 3 (Composition API) projects and produces deterministic, structured context instead of raw file dumps.

The output is designed for LLMs and CI workflows: components, hooks, props/emits, dependencies, and style usage are extracted explicitly rather than inferred from text.

The CLI can also be used via an MCP server for editor and agent integrations.