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


