desloppify  by peteromallet

Agent harness for engineering beautiful codebases

Created 1 month ago
2,089 stars

Top 21.0% on SourcePulse

GitHubView on GitHub
Project Summary

<2-3 sentences summarising what the project addresses and solves, the target audience, and the benefit.> Desloppify is an agent harness that empowers AI coding agents to systematically enhance codebase quality. It addresses structural code "rot" beyond mechanical defects by identifying and improving abstraction quality, naming, module boundaries, and error handling. It targets developers and AI agents seeking high code maintainability, providing a quantifiable health score.

How It Works

The system uses dual analysis: "Subjective" LLM evaluation assesses code quality (abstraction, naming, error handling), while "Mechanical" analysis detects common issues (unused imports, dead code, complexity). Findings are prioritized, auto-fixed where possible, and presented for judgment. Desloppify maintains persistent state, uses strict scoring with attestation, and cross-checks assessments to prevent gaming, aiming for a score signifying "beautiful" code.

Quick Start & Requirements

  • Installation: pip install --upgrade desloppify. For enhanced coverage: pip install --upgrade "desloppify[full]".
  • Prerequisites: Python 3.11+ is required. Optional dependencies include bandit (Python security) and tree-sitter (AST analysis). Integration with an AI coding agent is essential for full functionality.
  • Setup: Requires integration into existing workflows, e.g., adding scans to agent instructions before git push.
  • Links: GitHub repository available via git clone https://github.com/peteromallet/desloppify.git.

Highlighted Details

  • Supports 28 languages, with deep plugin support for TypeScript, Python, C#, Dart, GDScript, and Go.
  • Generates a "scorecard badge" for READMEs, aiming for a score above 98 to signify "beautiful" code.
  • Issues are categorized into four tiers (T1-T4) for prioritization, with higher tiers weighted more heavily in the scoring.
  • Features robust anti-gaming mechanisms, including attestation requirements for manual resolutions and strict scoring that penalizes dismissed issues.

Maintenance & Community

The project encourages community involvement, suggesting users join "vibe engineers" and log issues. The primary development hub is the GitHub repository. Specific details on contributors, sponsorships, or a formal roadmap are absent from the provided README.

Licensing & Compatibility

The provided README does not specify the project's license. This omission requires further investigation for commercial use or closed-source integration compatibility.

Limitations & Caveats

Desloppify is presented as an evolving system, with the goal of defining "good" code quality still under development. Its effectiveness is contingent on the capabilities of the integrated AI coding agent. Importing LLM-generated findings requires strict schema adherence, and invalid findings can cause import failures, potentially introducing friction into the review process.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
168
Issues (30d)
240
Star History
2,133 stars in the last 30 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Travis Fischer Travis Fischer(Founder of Agentic), and
6 more.

AlphaCodium by Codium-ai

0.0%
4k
Code generation research paper implementation
Created 2 years ago
Updated 1 year ago
Starred by Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), Omar Khattab Omar Khattab(Coauthor of DSPy, ColBERT; Professor at MIT), and
5 more.

CodeXGLUE by microsoft

0.1%
2k
Benchmark for code intelligence tasks
Created 5 years ago
Updated 1 year ago
Feedback? Help us improve.