证据快照复核于 2026-08-30GitHub 数据核对日期: 2026-08-21
来源已审查独立 Skill编码与审查

simplify

DSH 工作流技能

快速了解

它能做什么

DSH 工作流技能

本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。

能力
编码与审查code-quality编码

选择前先看

DSH 工作流技能 供应的技能文档描述了其工作流和边界。

适合谁

需要可重复工程工作流的用户。

常见任务

  • 在任务符合其触发条件时按文档工作流执行。

权限与数据

该技能用于指导本地工作流决策;外部行为未经过独立审计。

权限
  • 使用文档中的工作流。
数据处理
  • 本轮未独立审计数据处理方式。
外部服务
  • 外部服务以供应项目说明为准。
凭据
  • 本轮未独立测试凭据要求。

局限

  • 运行时兼容性和安装行为尚未得到证明。

DSHub 已核对

  • 已记录固定源代码和技能文档。

DSHub 未核对

  • 本轮未安装或运行测试。

固定版本安装

主要操作

这个独立 Skill没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。

访问源码项目

维护者原文

Skill 使用说明

查看 commit effbc05 对应的 SKILL.md
维护者编写的上游内容原文于 2026/8/29.agents/skills/simplify/SKILL.md 获取,正文和仓库相对媒体固定到 commit effbc051049c,内容哈希为 68f12b716f3b。以下是未经 DSHub 翻译的上游原文,语言可能与当前页面不同;第三方托管的 badge 可能独立更新。

SPDX-FileCopyrightText: Copyright (c) 2026 Process Mission

SPDX-License-Identifier: MIT

name: simplify description: >- Simplify code or a patch by removing dead code, duplicated facts, redundant abstractions, excess state, and unjustified compatibility paths while preserving required behavior. Use for cleanup, deduplication, reducing LOC or complexity, deepening modules, or narrowing over-generalized designs.

Simplify

Set the boundary

Treat required behavior, public contracts, ownership, permissions, data migrations, and cross-surface compatibility as hard constraints. Read the root AGENTS.md, inspect the worktree, and record the baseline in the task audit.

Optimize in this order:

  1. Remove concepts, states, branches, and source lines.
  2. Derive duplicated facts from one authoritative source.
  3. Merge abstractions that split one invariant or workflow.
  4. Generalize only around demonstrated variation.

Moving code into helpers or reformatting it is not simplification.

Find excess

  • Search declarations, production consumers, tests, docs, build files, and history before calling code dead.
  • Treat a duplicated fact as a missing single source of truth.
  • Treat one-mode registries, callbacks, wrappers, and fallbacks as candidates for deletion or narrowing.
  • Treat forwarding-only interfaces as shallow modules; move policy and validation behind a smaller boundary.
  • Keep compatibility paths only when a current requirement depends on them.

Classify each candidate as delete, derive, merge, deepen, narrow, or keep. Choose the coherent option that removes the most concepts with the fewest new rules.

Change safely

  • For review-only requests, stop with evidence and a reduction proposal.
  • Otherwise, apply the smallest behavior-preserving reduction.
  • Remove orphaned imports, types, configuration, tests, and documentation with the deleted model.
  • Do not add dependencies, compatibility layers, generic helpers, or broad API changes merely to make the patch look smaller.
  • Preserve unrelated worktree changes and pinned upstream code.

Verify

Run the smallest sufficient build, test, smoke, and style checks for the affected contract. Search again for orphaned consumers and stale configuration, then run git diff --check.

Report removed concepts, retained behavior, evidence, and unresolved gaps. If LOC is material to the request, measure the same source scope before and after; never present lower LOC as success without behavioral evidence.

有意识地管理

安装与管理

前置条件与目标 Profile

目标 没有原生 DSH Profile 目标。

交付方式 Skill 文件 — https://github.com/hust-open-atom-club/oh-dsh

兼容性与访问范围

requires_host_review Not established by supplied evidence

检查兼容性证据

风险事实

execution

Review instructions before use.

证据
证据与编辑审查Manifest、Bundle patch、分发与新鲜度

不可变证据

审查状态与源码活动

人工已批准

在核对来源内容和不可变发布记录后,已由人工批准发布。AI 参与了内容草稿生成,最终发布决定由人工完成。

人工审查于 2026/8/29 UTC 15:16GitHub 事实核对日期: 2026/8/29 UTC 15:11

自当前证据基线以来,没有记录到重要源码变化。

下一步

比较生态 Artifact 类型

订阅重要变化: simplify