code-review
titi project self-review checklist for a titi change before calling it done — error handling, tests, engine boundary, secrets, commit hygiene. Use before reporting a task complete, or when asked to review a diff.
- License 许可
- MIT
- 所属仓库
- robertt3kuk/titi
- 最近更新
- 2026-11-02
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- code-review
- description
- titi project self-review checklist for a titi change before calling it done — error handling, tests, engine boundary, secrets, commit hygiene. Use before reporting a task complete, or when asked to review a diff.
03 SKILL.md 正文
code-review
Run against git diff (or git diff origin/master...HEAD). Fix what fails,
then report what you checked.
Correctness and style (AGENTS.md → Code style)
- [ ] Every fallible API returns a typed error (
thiserror); inputs validated. - [ ] No
unwrap/expect/panic!/todo!outside#[cfg(test)]andtests/. - [ ] Comments explain only a non-obvious why; no narration.
- [ ] No premature abstraction; no new trait/generic for a single user.
- [ ] Adjacent refactors sit in their own commit, not mixed in.
- [ ] rustfmt-clean shape; no new lints or
#[allow]without reason.
Tests
- [ ] New behaviour has a test that fails without the change.
- [ ] Changed existing tests: the commit body says why the old contract was wrong.
- [ ] Tests need no network and no real keys (
sk-test,example.invalid).
Architecture
- [ ] Surfaces (
titi-cli,titi-tui) talk to the engine only viaEngineCommand/EngineEvent. - [ ] No GPUI/desktop surface (dropped 2026-11-02); no MCP/hooks runtime work beyond what PLAN opens.
- [ ] Nothing from the Empryo binary vendored or invoked.
Safety
- [ ] No secret values in code, logs, fixtures, session or memory writes.
- [ ] New dependency → went through skill
dependency-update. - [ ] TUI change → skill
tui-smokedone anddocs/QA_STATUS.mdupdated.
Record
- [ ]
docs/research/STATE.mdstatus updated if this was a STATE task. - [ ] Commit(s) follow skill
commit.
04 同仓库更多 Skills
tui-smoke
Manually verify a titi TUI change in a real terminal and record it in docs/QA_STATUS.md. Use after changing titi-tui or titi-cli screen code, keys, slash commands, rendering, or when asked to smoke-test the chat.
supervisor-review
Playbook for the lead agent in titi that dispatches workers and accepts or rejects their output — verify artifacts not reports, return wrong work to the same worker, serialize shared files. Use when orchestrating subagents or reviewing a subagent's result.
skill-authoring
How to turn a recurring multi-step procedure in titi into a new project skill under .agents/skills, and wire it for every agent. Use when a 3+ step routine repeats, or the user says "make this a skill".
security-review
titi project security checklist for changes touching keys, providers, tools, approval, sessions, memory, or prompts. Use when a change handles credentials, runs commands, reads/writes files for the model, or when asked for a security review.
dependency-update
Add, bump, or remove a crate dependency in the titi workspace safely — justification, RustSec check, lockfile, one commit. Use when a change needs a new crate or a version bump.
commit
Commit and push a change in titi the project way — one concern per commit, Conventional Commits with a prose body, straight to origin master, never force. Use when asked to commit, push, save, or ship a change.