codebase-analysis
79分析代码库中的业务逻辑
现有系统常常将需求隐藏在代码、测试和配置中。此技能提供结构化分析指导,将代码观察结果转化为清晰的业务文档。
改进 TypeScript 整洁代码
当 TypeScript 代码变得重复、复杂且难以测试时,团队会浪费时间。此技能引导 Claude、Codex 和 Claude Code 编写更简单的函数、更清晰的命名和更安全的结构。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "clean-code" from https://skillstore.io/skills/doubleslashse-clean-code.md and its manifest at https://skillstore.io/api/skills/doubleslashse-clean-code/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“clean-code”。 一个包含重复 fetch 处理和通用错误消息的服务。
预期结果:
正在使用“clean-code”。 一个包含嵌套条件的冗长订单处理函数。
预期结果:
正在使用“clean-code”。 一个仅按技术层组织的项目文件夹。
预期结果:
All static findings are false positives caused by TypeScript documentation examples and Markdown fence delimiters. The skill contains guidance and sample snippets, with no executable scripts, no real network requests, and no prompt injection text found.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/doubleslashse-clean-code/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/doubleslashse-clean-code?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/doubleslashse-clean-code?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/doubleslashse-clean-code/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/doubleslashse-clean-code.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>DoubleslashSE. (2026). clean-code security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/doubleslashse-clean-code/audits/8@techreport{doubleslashse-doubleslashse-clean-code-2026,
author = {DoubleslashSE},
title = {clean-code security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/doubleslashse-clean-code/audits/8},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "clean-code security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "DoubleslashSE"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/doubleslashse-clean-code/audits/8"
identifiers:
- type: other
value: "skillstore:doubleslashse-clean-code:audit:8"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
在合并 TypeScript 变更之前,识别重复、复杂分支和不清晰的命名。
为服务、处理程序和实用模块创建重点明确的清理检查清单。
在入职培训或辅导期间,使用简洁示例解释可维护性原则。
审查这个 TypeScript 文件中不清晰的命名。建议更清晰的名称,并简要解释每项更改。
查找此模块中的重复逻辑。提出共享 helpers 或 constants,同时保持行为不变。
分析此函数中的嵌套条件、混合抽象层级和不必要的配置。返回按优先级排序的清理计划。
审查此功能文件夹的整洁代码、依赖注入、错误处理和可测试性。提出分阶段重构方案及其风险。
许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
72d5025b022c77f7a51bdf5c1637c689c80e89d1
维护新鲜度
2026/7/26
使用量
7 次下载 · 290 次浏览
文件结构
📄 SKILL.md
分析代码库中的业务逻辑
现有系统常常将需求隐藏在代码、测试和配置中。此技能提供结构化分析指导,将代码观察结果转化为清晰的业务文档。
使用 TDD 构建 TypeScript 功能
团队在快速变更 TypeScript 时,经常难以让测试保持聚焦。此技能通过实用的 Node.js 模式指导 RED-GREEN-REFACTOR 工作。
将 SOLID 原则应用于 TypeScript 代码
团队通常了解 SOLID 术语,但难以在 TypeScript 中应用它们。此技能提供实用的重构模式、示例和评审提示。
创建 IEEE 830 SRS 文档
需求团队需要一致的 SRS 文档,确保其完整、可追溯且可测试。此技能提供 IEEE 830 结构、模板和验证检查清单。
获取清晰的软件需求
当利益相关者输入含糊或不完整时,需求工作往往会停滞。此技能提供访谈结构、提问提示和验证方法,用于形成可用的需求。
在 TypeScript 中应用函数式模式
可变逻辑和隐藏的副作用会让 Node.js 服务难以测试。此技能展示用于可预测 TypeScript 设计的函数式模式。
Audit NestJS Code with Evidence-Backed Findings
由 amirtaherkhani
NestJS repositories can hide boundary flaws and runtime risks that lint results alone cannot reveal. This skill combines local evidence collection and semantic review into one prioritized report.
Review Defects and Verify Root-Cause Repairs
由 aakashh242
Reviews can miss failure conditions or accept fixes without reliable evidence. Gauntlet guides scoped adversarial reviews, authorized repairs, and revision-bound verification within a finite budget.
分析代码模式和架构
由 C0ntr0lledCha0s
大型代码库中隐藏着重复结构和不清晰的架构选择。此技能可发现模式、解释其意图,并突出实际的重构机会。
提升 Playwright 测试覆盖率
由 C0ntr0lledCha0s
当配置、定位器和 fixtures 不一致时,Playwright 测试套件可能会变得不稳定。此技能提供可靠浏览器测试、调试和可复用页面对象的实用模式。
按 AST 结构搜索代码
由 0xDarkMatter
文本搜索会遗漏语义关系并产生大量噪声匹配。此技能使用 ast-grep 模式定位代码结构,并为针对性重构做好准备。
使用结构化质量检查审查代码
由 alirezarezvani
代码审查可能会漏掉质量、安全性和可维护性问题。此技能通过脚本、检查清单和报告生成来指导结构化审查。