Code and DevOps Assistants
摘要
A good code assistant feels like a teammate who can read your repo, propose a multi-file change, write tests, run CI locally, and only then touch the branch. That rhythm – ingest → plan → patch → test → safe-apply – is what keeps help from becoming havoc. Below is a Python-first toolkit you can embed in a CLI or service. It indexes repo context, retrieves relevant files, generates test skeletons, applies edits as unified diffs, and runs a local CI rehearsal before opening a PR.