AINewsnow

Stop Asking LLMs to Find Code Smells: Auto-Generating Surgical Prompts via AST

This story is from 2026-09-11. It is preserved in the archive; the latest stories are on the live feed.

Asking an AI to "review and clean up this code" wastes expensive context tokens, invites hallucinated changes, and yields non-deterministic results. I built chemx : an open-source CLI that replaces token-heavy discovery with instant local AST checks, then compiles structured refactor prompts direct…

Read the full story at r/PromptEngineering ↗

Timeline · 1 report

  1. 2026-09-11 11:36 · r/PromptEngineering
    Stop Asking LLMs to Find Code Smells: Auto-Generating Surgical Prompts via AST

More stories

  1. AI's role in building AI surging? Anthropic says Claude now leads 26% of its R&D — Mint AI
  2. Anthropic, OpenAI, SpaceXAI, Google sued over call to ‘pace’ AI development — Politico Technology
  3. Google Joins OpenAI, Anthropic, Meta in Disclosing AI Hacks — Bloomberg AI
  4. Introducing Kimi K3 on Amazon Bedrock — AWS Machine Learning Blog
  5. Optimizing agent system prompts with Amazon Bedrock AgentCore — AWS Machine Learning Blog
  6. Introducing Amazon SageMaker HyperPod Inference Gateway — AWS Machine Learning Blog
  7. Introducing Astra for Law — OpenAI News
  8. Novo Nordisk Will Use Anthropic’s Claude for Drug Research — Wall Street Journal Technology

Get the daily brief of stories like this at 6:30 every morning →