← 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
- Define style and architecture rules
- Generate a first patch
- Run lint/tests
- Retry with error output if checks fail
- Keep only passing patches
Practical tips
- choose model by task complexity
- keep prompts short and explicit
- persist successful prompt patterns in a local playbook