一键导入
gardening
Maintain and improve the codebase — dependency updates, refactoring, docs, dead code removal, test coverage
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Maintain and improve the codebase — dependency updates, refactoring, docs, dead code removal, test coverage
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyze project state, prioritize TODO.md, create or refine plans for upcoming work
Goal-backward code review — verify recently completed work EXISTS, is SUBSTANTIVE, and is WIRED correctly
Reflect on a completed coding iteration to identify improvements
Keep TODO.md synchronized with completed work before committing
Execute TDD workflow with RED/GREEN/REFACTOR phases and quality verification
| name | gardening |
| description | Maintain and improve the codebase — dependency updates, refactoring, docs, dead code removal, test coverage |
Use this skill to run the gardening cycle: maintenance and incremental improvement of the codebase.
AGENTS.md for project context and current statusTODO.md to understand what's been completed and what's in progressCheck for outdated dependencies:
cargo outdated # if available
Or review Cargo.toml manually for pinned versions that may be stale. Upgrade cautiously — one dep at a time, verify tests pass after each.
Look for:
cargo clippy will flag these)#[test] blocks)AGENTS.md if anything is out of dateRun refactorings that genuinely simplify the codebase:
Keep changes focused and incremental. One logical improvement per commit.
cargo test --lib && cargo clippy --lib && cargo fmt
Zero clippy warnings required. All existing tests must stay green.
Commit improvements with descriptive messages. Group related changes (e.g., all dep updates together, all refactors together).