Agent Skills
› terrense/LilBot-agent
› simplify
simplify
GitHub简化代码、文本或计划,在保持原有意图不变的前提下消除冗余逻辑、重复代码和命名不清等问题。通过小步修改并验证行为,确保结果更简洁且功能一致。
触发场景
代码重构以消除复杂性
优化文档或计划的清晰度
去除重复逻辑
安装
npx skills add terrense/LilBot-agent --skill simplify -g -y
SKILL.md
Frontmatter
{
"name": "simplify",
"context": "inline",
"description": "Simplify code, prose, or a plan without changing its intent.",
"when_to_use": "Use when the user asks to simplify, reduce complexity, clarify, or make something easier to maintain.",
"allowed-tools": "read_file, grep_files, edit_file, run_tests"
}
Simplify the target while preserving behavior and intent:
{{args}}
Prefer removing accidental complexity, duplicated logic, unclear naming, and unnecessary branching. Keep changes small and validate if code changes are made.
Report what became simpler and what validation was performed.
版本历史
- ac8228e 当前 2026-07-05 10:50


