Agent Skills › yielded-dev/auth › simplify

simplify

GitHub

通过移除不必要的代码和流程来简化实现,优先删除而非优化,保留核心契约与行为,适用于代码重构、工作流精简及消除冗余依赖。

.agents/skills/simplify/SKILL.md yielded-dev/auth

Trigger Scenarios

需要简化代码或工作流 识别并移除冗余复杂性 在保持功能前提下减少依赖

Install

npx skills add yielded-dev/auth --skill simplify -g -y
More Options

Non-standard path

npx skills add https://github.com/yielded-dev/auth/tree/main/.agents/skills/simplify -g -y

Use without installing

npx skills use yielded-dev/auth@simplify

指定 Agent (Claude Code)

npx skills add yielded-dev/auth --skill simplify -a claude-code -g -y

安装 repo 全部 skill

npx skills add yielded-dev/auth --all -g -y

预览 repo 内 skill

npx skills add yielded-dev/auth --list

SKILL.md

Frontmatter
{
    "name": "simplify",
    "description": "Simplify code or workflows by removing unnecessary machinery while preserving required behavior.",
    "disable-model-invocation": true
}

Simplify

Start from the requested outcome and what it actually requires. Follow repository guidance and keep the review focused on that outcome. Look for unnecessary work, complexity, and weak assumptions in the solution. Distinguish inherited assumptions from user requirements and external contracts.

Prefer deleting over simplifying, simplifying over optimizing, and optimizing over automating. First look for dependencies, alternate paths, and handoffs that can disappear entirely. Reassess what becomes simpler once they are gone. Optimize or automate only when the task calls for it.

Check relevant callers, stored data, and operational dependencies before removing behavior. Make justified changes within scope; do not stop at recommendations. Use a reversible candidate diff and focused checks when dependencies are uncertain. If deletion would change the assignment, make that choice explicit. If no worthwhile simplification is supported, leave the implementation alone and say so; a review need not produce a diff.

Keep the minimum useful implementation, including inside libraries. Preserve a small boundary that owns reusable behavior; remove machinery that the current contract does not need. The library-first guidance owns that distinction. In Effect code, preserve service requirements, typed failures, and scoped lifetimes; use existing primitives rather than replacing them with custom wrappers.

  • Reviewing durability, validation, verification stages, or agent prompts: durability and verification.
  • Explicitly requested pre-production removal of legacy compatibility: no-legacy pass. Ordinary simplification does not establish that premise.

Preserve required contracts and usable pending or error states. Use existing evidence and relevant checks; small changes do not need a new audit, checklist, benchmark suite, or permanent proof artifact. Critical-path changes still need performance evidence. Report the removed mechanism and any constraint that required it to remain when useful to review the change.

Version History

  • 72bfeeb Current 2026-10-18 15:35

Same Skill Collection

.agents/skills/alchemy/SKILL.md
.agents/skills/cloudflare/SKILL.md
.agents/skills/dev-kit/SKILL.md
.agents/skills/effect/SKILL.md
.agents/skills/feedback-loops/SKILL.md
.agents/skills/library-first/SKILL.md
.agents/skills/measure-performance/SKILL.md
.agents/skills/o11y/SKILL.md
.agents/skills/project-setup/SKILL.md
.agents/skills/pull-requests/SKILL.md
.agents/skills/show-me/SKILL.md
.agents/skills/testing/SKILL.md

Metadata

Files
0
Version
72bfeeb
Hash
317ce84f
Indexed
2026-10-18 15:35

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-19 06:12
浙ICP备14020137号-1