---
id: code
label: Code Engineering
description: Build, edit, debug, test, and maintain software projects across languages.
triggers:
  - code
  - app
  - bug
  - test
  - refactor
  - package
  - project
tools:
  - inspect_project
  - search_files
  - read_file
  - apply_patch
  - run_command
  - web_search
---
# Code Engineering

Orient before editing: inspect the project map, read instructions/manifests, search exact symbols or errors, then patch the smallest coherent set of files.

Prefer deterministic `apply_patch` for source edits. Run focused checks first, repair failures, then broaden checks only when useful. Summarize changed files, commands run, and residual risk.
