跳到正文
cccskills
免费在 GitHub 公开

spark-find-simplifications

Use when a working Spark implementation should be simplified without changing its observed behavior, ownership, compatibility, or public contract.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Spark simplification search

Simplify only after the behavior and validation baseline are known.

Procedure

  1. Identify the owner, public behavior, compatibility constraints, and tests that establish the current contract.
  2. Start from code-review findings or inspect for duplicate branches, overlapping adapters, zero-semantic wrappers, unused metadata, unnecessary abstractions, dead compatibility paths with explicit exit criteria, and state derived in more than one place.
  3. For each candidate, state its semantic payload. If deleting or inlining it loses no policy, conversion, owner boundary, invariant, or supported compatibility, prefer removal.
  4. Trace polling and opportunistic reconciliation back to the authoritative mutation path. Prefer keeping the owner correct at write time over another cache, scan, or repair loop.
  5. Check collection limits before downstream filtering or skipping for fairness and starvation errors.
  6. Prefer deleting indirection or moving semantics into the existing owner over introducing another framework, package, schema, facade, budget, or exception.
  7. Compare each candidate against production callers and focused validation. Require live call-path evidence before declaring code unreachable.
  8. Recommend the smallest independent simplification and the evidence needed to prove equivalence.

Stop when a simplification would alter serialization, authority, lifecycle, or user-visible behavior without explicit acceptance criteria. Return candidates, evidence, recommendedSlice, validation, and rejectedIdeas.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when Spark engineering knowledge must be placed, deduplicated, migrated, or validated across AGENTS, Notes, Roles, Skills, and Workflows.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月19日 更新

Use when adding or updating Spark AI provider models or their compact and preflight metrics, especially baidu-oneapi, Grok, Claude, GPT, DeepSeek, OneAPI, context windows, output budgets, prices, thinking maps, or transports.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月19日 更新

Use when a Spark change needs its authoritative owner, affected boundaries, risks, acceptance criteria, and smallest verifiable slice established before implementation or review.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月19日 更新

Use when a Spark implementation needs an evidence-based review for correctness, ownership, compatibility, failure handling, maintainability, and unnecessary complexity.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月19日 更新

Use when designing a Spark feature or writing or materially revising a design proposal that needs repository-first research, user input on unresolved key choices, and an owner-aligned implementation plan before code changes.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月19日 更新

Use when a running Spark or DSH web service needs real-browser verification — page load, client-plugin boot errors, console errors, failed requests, or onboarding/dialog rendering — with the repository's own Playwright chromium.

中文简介正在准备中。当前显示原文说明。

zendev-lab/cogfold22026年10月19日 更新

查看 zendev-lab 的全部技能

报告此技能的问题