← Back to skills

Local Models

Local model quality loop

Improve output quality when using local coding models by combining rules, retries, and test-backed validation.

Last reviewed Feb 25, 2026

Workflow

  1. Define style and architecture rules
  2. Generate a first patch
  3. Run lint/tests
  4. Retry with error output if checks fail
  5. Keep only passing patches

Practical tips

  • choose model by task complexity
  • keep prompts short and explicit
  • persist successful prompt patterns in a local playbook

Best with tools

Related MCP servers