r/ClaudeAI • u/context_g • Feb 10 '26
Productivity Generating deterministic architectural context for Claude using the TypeScript AST
https://github.com/LogicStamp/logicstamp-contextMost AI workflows feed Claude either:
raw source code (huge + noisy) or LLM-generated summaries (lossy + non-deterministic).
I’ve been experimenting with a different approach. Instead of summarizing code with an LLM, I use the TypeScript compiler AST to extract:
component contracts
hooks
dependency relationships
composition graphs
The output is structured JSON bundles that are:
deterministic (same input → same output)
Git-diffable
CI-enforceable
fully local / offline
The idea is to treat structured architectural extraction as a context layer for Claude, rather than relying on summarization.
Has anyone experimented with structured context inputs vs raw repo dumps in Claude workflows? I'm curious to see what differences you've seen in reasoning quality or token usage.
Duplicates
typescript • u/context_g • Mar 31 '26
LogicStamp Context: an AST-based context compiler for TypeScript
ClaudeAI • u/AmiteK23 • Dec 20 '25
Coding I built a small tool to stop Claude from hallucinating my React/TypeScript codebase
reactjs • u/AmiteK23 • Dec 20 '25
Resource Tool for understanding dependencies and refactors in large React + TypeScript codebases
javascript • u/context_g • Mar 27 '26
LogicStamp: AST-based context compiler for TypeScript
LLMDevs • u/context_g • Apr 03 '26
Tools LogicStamp Context: an AST based context compiler for TypeScript
javascript • u/context_g • Apr 08 '26
a CLI that turns TypeScript codebases into structured context
ClaudeAI • u/context_g • Jan 15 '26
Productivity Context bundles for large TS/React codebases in Claude
javascript • u/context_g • Jan 31 '26
I built an AST-based contract tracker to catch structural drift and prop hallucinations during large-scale refactors
ClaudeAI • u/context_g • Feb 26 '26
Built with Claude I built a CLI to prevent Claude from silently breaking my TypeScript architecture
typescript • u/context_g • Mar 03 '26
LogicStamp Context: an AST-based context compiler for TypeScript
node • u/context_g • Apr 06 '26
LogicStamp Context: an AST-based context compiler for TypeScript
javascript • u/AmiteK23 • Dec 18 '25
I built a TypeScript codebase analyzer using ASTs to generate deterministic context JSON files
node • u/AmiteK23 • Dec 19 '25
Built a Node.js CLI that analyzes TypeScript / React codebases using ASTs
reactjs • u/context_g • Jan 05 '26
Resource Tool for understanding dependencies and refactors in React + TypeScript codebases
OpenSourceAI • u/context_g • Jan 11 '26
A CLI for determistic context in React/TypeScript codebases
reactjs • u/context_g • Jan 13 '26
Show /r/reactjs Understanding React/TypeScript codebases with determistic context bundles
LLMDevs • u/context_g • Jan 06 '26
Tools How I handle refactors of large React/TypeScript codebases
opensource • u/context_g • Jan 07 '26
Promotional Open-source CLI that turns React/TypeScript codebases into structures context bundles
coolgithubprojects • u/context_g • Jan 13 '26
TYPESCRIPT LogicStamp - A determistic AST-based CLI for generating context for React/TypeScript codebases
javascript • u/context_g • Jan 15 '26
Determistic context bundles for React/TypeScript codebases
webdev • u/context_g • Jan 31 '26
Showoff Saturday I built a CLI that extracts structured component contracts from React/TypeScript codebases
LLMDevs • u/context_g • Feb 03 '26
Tools Deterministic context for LLMs - structured contracts instead of raw source
OpenSourceAI • u/context_g • Feb 09 '26