clean-code
79改进 TypeScript 整洁代码
当 TypeScript 代码变得重复、复杂且难以测试时,团队会浪费时间。此技能引导 Claude、Codex 和 Claude Code 编写更简单的函数、更清晰的命名和更安全的结构。
分析代码库中的业务逻辑
现有系统常常将需求隐藏在代码、测试和配置中。此技能提供结构化分析指导,将代码观察结果转化为清晰的业务文档。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "codebase-analysis" from https://skillstore.io/skills/doubleslashse-codebase-analysis.md and its manifest at https://skillstore.io/api/skills/doubleslashse-codebase-analysis/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“codebase-analysis”。 为产品发现分析一个订单管理仓库。
预期结果:
一份简明报告,列出订单实体、生命周期状态、验证规则、支付集成点、用户角色和待确认问题。
正在使用“codebase-analysis”。 在现代化改造项目之前审查遗留服务。
预期结果:
一份架构摘要,包含服务边界、数据存储、同步集成、异步流程、技术约束和迁移风险。
正在使用“codebase-analysis”。 从测试和领域服务中识别隐藏需求。
预期结果:
一份需求说明,区分已观察到的行为、推断出的业务规则、来源证据以及需要利益相关者审查的假设。
I found no executable code, install hooks, prompt-injection text, credential access, or data exfiltration intent in the two scanned Markdown files. All static findings are false positives caused by code fences, inline code terms, local grep examples, a sample payment URL, and domain-model examples. The bash snippets are fixed local search examples, and the skill declares Read, Grep, Glob, and LSP as allowed tools.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/doubleslashse-codebase-analysis/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/doubleslashse-codebase-analysis?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/doubleslashse-codebase-analysis?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/doubleslashse-codebase-analysis/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/doubleslashse-codebase-analysis.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). codebase-analysis security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/doubleslashse-codebase-analysis/audits/9@techreport{doubleslashse-doubleslashse-codebase-analysis-2026,
author = {DoubleslashSE},
title = {codebase-analysis security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/doubleslashse-codebase-analysis/audits/9},
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: "codebase-analysis security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "DoubleslashSE"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/doubleslashse-codebase-analysis/audits/9"
identifiers:
- type: other
value: "skillstore:doubleslashse-codebase-analysis:audit:9"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
atman36-codebase-analysis
2026-10-25
doubleslashse-codebase-analysis
2026-09-09
在规划变更之前,从成熟应用中提取实体、规则、工作流和集成。
在重写或迁移之前,映射架构模式、有界上下文和外部依赖。
建立对功能、权限、数据模型和边界情况的实用理解。
使用 codebase-analysis skill 分析此仓库。总结主要组件、领域范围、用户能力以及可能的入口点。
在服务、验证逻辑、测试和领域模型中查找业务规则。记录每条规则的证据和任何假设。
映射此系统的外部集成、API 端点、消息流、认证模式、错误处理和交换的数据。
生成一份棕地发现简报,包含领域模型、工作流、权限、集成、约束、未知项和建议的验证问题。
许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
72d5025b022c77f7a51bdf5c1637c689c80e89d1
维护新鲜度
2026/7/18
使用量
9 次下载 · 194 次浏览
文件结构
📄 SKILL.md
改进 TypeScript 整洁代码
当 TypeScript 代码变得重复、复杂且难以测试时,团队会浪费时间。此技能引导 Claude、Codex 和 Claude Code 编写更简单的函数、更清晰的命名和更安全的结构。
使用 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.
用规范组织 AI 开发
由 89jobrien
复杂的 AI 辅助项目在实现开始前就可能失去清晰度。此技能指导团队完成分阶段的规范、治理、规划、分析和任务执行。
规范需求变更工作流
由 yunshu0909
需求变更常常超出原定范围,并带来不明确的回归风险。此技能为 Claude、Codex 和 Claude Code 提供一套带关卡的工作流,用于范围界定、影响审查、验证和决策记录。
使用高级工程模式构建全栈应用
由 davila7
团队常常会在技术栈选择、项目设置和质量检查的对齐上耗费时间。此技能为 Claude、Codex 和 Claude Code 提供可复用的全栈指导和辅助脚本。
强制执行瀑布式阶段门
由 Chemiseblanc
AI 编码会话在压力上升时可能会跳过需求、设计或测试。此技能通过文档化的关卡,将工作保持在严格的瀑布式流程内。
规划 Next.js App Router 架构
由 89jobrien
Next.js 团队在选择路由、组件、数据加载和迁移步骤时可能会遇到困难。此技能为 App Router、Server Components 和性能提供结构化的架构指导。