# shear

- **Event:** [GPT-6 Astra Hackathon SF](https://cerebralvalley.ai/e/openai-gpt-6-astra-sf)
- **When:** Tue, Sep 8 at 9:00 AM – 10:00 PM (PDT)
- **Where:** San Francisco, CA
- **Team:** [Nick Russo](https://cerebralvalley.ai/u/nijaru)
- **GitHub:** https://github.com/nijaru/shear
- **Demo video:** https://drive.google.com/file/d/1RQB9My_SwlqgV_K19gzFjKOtf_KPl0Q9/view?usp=sharing
- **Gallery:** https://cerebralvalley.ai/e/openai-gpt-6-astra-sf/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/openai-gpt-6-astra-sf/hackathon/gallery/43

Shear is a structural formatter. It simplifies code by removing unnecessary nesting, redundant branches, and duplicated logic without changing behavior. It currently supports Python and JavaScript, with a broader goal of automating structural cleanup across languages. It works alongside tools like Ruff and can simplify code their autofixes leave unchanged.

---

Markdown version of https://cerebralvalley.ai/e/openai-gpt-6-astra-sf/hackathon/gallery/43. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
