landai-systems/DevHands

Improve prompt templates for SOLID refactoring

オープン

#14 opened on 2025/07/29

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (3 件のフォーク)auto 404
agentichelp wantedlangchainprompt-engineering

Repository metrics

Stars
 (3 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Description: DevHands uses prompts to ask the LLM for refactoring suggestions. These prompts can be improved for clarity, consistency, and better diff output.

Tasks:

  • Locate the prompt template in LangchainAgent.explain_code()
  • Rewrite it to:
    • Include clear formatting rules (e.g., “Use unified diff format”)
    • Focus the LLM on SOLID principles (especially SRP and OCP)
    • Handle small vs. large files differently
  • Test prompt performance using small test files (tests/fixtures/)

コントリビューターガイド