core-development
安全更新核心 DSL 处理
核心 DSL 变更可能会破坏验证、规范化、差异比较和补丁行为。此技能为 Claude、Codex 和 Claude Code 提供了一个专注于安全更新核心包的工作流。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "core-development" from https://skillstore.io/skills/7nohe-core-development.md and its manifest at https://skillstore.io/api/skills/7nohe-core-development/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“core-development”。 Add an optional color field to nodes.
预期结果:
助手会识别需要更新的类型、验证、规范化、差异和测试。它会建议默认值处理方式,并为变更后的节点相等性提供重点覆盖。
正在使用“core-development”。 A diff test fails after changing edge labels.
预期结果:
助手会追踪 DSL 到 IR 的路径,检查边的规范化,并建议针对新增、变更和移除的边添加定向差异断言。
正在使用“core-development”。 Validate a new required document field.
预期结果:
助手会指出验证规则、规范化假设,以及针对缺失、无效和有效字段值的测试。
安全审计
安全Most static findings are markdown backticks, diagrams, or TypeScript examples, not Ruby shell execution. The only command text is hardcoded Bun test guidance scoped to packages/core. No prompt injection, data exfiltration, or malicious intent was found in SKILL.md.
风险因素
⚙️ 外部命令 (26)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/7nohe-core-development/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/7nohe-core-development?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/7nohe-core-development?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/7nohe-core-development/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/7nohe-core-development.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
7nohe. (2026). core-development security audit report (audit version 6) [Author version unspecified]. Skillstore. https://skillstore.io/skills/7nohe-core-development/audits/6BibTeX 引用
@techreport{7nohe-7nohe-core-development-2026,
author = {7nohe},
title = {core-development security audit report (audit version 6)},
institution = {Skillstore},
year = {2026},
number = {6},
url = {https://skillstore.io/skills/7nohe-core-development/audits/6},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "core-development security audit report (audit version 6)"
version: "unspecified"
type: report
authors:
- name: "7nohe"
date-released: "2026-07-04"
url: "https://skillstore.io/skills/7nohe-core-development/audits/6"
identifiers:
- type: other
value: "skillstore:7nohe-core-development:audit:6"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
添加 DSL 节点属性
为新的节点字段更新类型定义、验证、规范化默认值、差异行为和测试。
收紧 YAML 验证
修订验证规则,同时保留预期的 DSL 到 IR 处理流程。
调试补丁输出
追踪规范化文档如何变成补丁操作,并识别缺失的差异比较场景。
试试这些提示
Review this proposed core package change: [describe change]. Tell me which files in packages/core need updates and which tests should be added.
Help me add a new DSL node property named [field]. Update the plan for types, validation, normalization defaults, diff behavior, and tests.
I need to change validation for [rule]. Check how validate, normalize, and diff should respond, then identify focused test cases.
Analyze the diff behavior for [scenario]. Verify expected patch operations, edge cases, and revision handling in the core package.
最佳实践
- 对于 schema 变更,应同时更新类型、验证、规范化、差异逻辑和测试。
- 除非项目需求明确变化,否则保持核心包无依赖。
- 在更改验证、规范化或差异行为后运行重点 Bun 测试。
避免
- 不要只在类型中添加 DSL 字段,而不覆盖验证和规范化。
- 不要在没有针对新增、移除和更新项的测试时更改差异相等性规则。
- 不要将 WebSocket 协议示例视为生产安全指导。